Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.FluxTubes.Shapes.FixedShape,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_FixedShape",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.FluxTubes.Shapes.FixedShape,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_FixedShape",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001877/0.001877, allocations: 183.2 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.712/1.712, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009355/0.0009357, allocations: 86.86 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2301/0.2301, allocations: 43.55 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004543/0.0004545, allocations: 12 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.1281, allocations: 58.85 MB / 490.3 MB, free: 8.574 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4367/0.5648, allocations: 88.23 MB / 0.565 GB, free: 11.41 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002709/0.5652, allocations: 76.77 kB / 0.5651 GB, free: 11.37 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01766/0.5828, allocations: 6.591 MB / 0.5715 GB, free: 5.773 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.066e-06/0.5829, allocations: 0 / 0.5715 GB, free: 5.773 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.287e-05/0.5829, allocations: 4 kB / 0.5715 GB, free: 5.77 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.0009363/0.5839, allocations: 0.5566 MB / 0.5721 GB, free: 5.184 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/0.5839, allocations: 8.031 kB / 0.5721 GB, free: 5.176 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.845e-05/0.584, allocations: 56.67 kB / 0.5721 GB, free: 5.125 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.232e-05/0.5841, allocations: 31.62 kB / 0.5722 GB, free: 5.094 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004194/0.5845, allocations: 284.9 kB / 0.5724 GB, free: 4.793 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.188e-05/0.5845, allocations: 26.62 kB / 0.5725 GB, free: 4.777 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.889e-05/0.5846, allocations: 27.25 kB / 0.5725 GB, free: 4.758 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004989/0.5851, allocations: 238.6 kB / 0.5727 GB, free: 4.586 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.5851, allocations: 8 kB / 0.5727 GB, free: 4.578 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.03e-05/0.5851, allocations: 7.5 kB / 0.5727 GB, free: 4.578 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.196e-05/0.5852, allocations: 8 kB / 0.5727 GB, free: 4.57 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004879/0.5856, allocations: 241.3 kB / 0.573 GB, free: 4.41 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001383/0.587, allocations: 0.8835 MB / 0.5738 GB, free: 3.656 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007819/0.5878, allocations: 350 kB / 0.5742 GB, free: 3.41 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.12e-05/0.5879, allocations: 4 kB / 0.5742 GB, free: 3.406 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.68e-05/0.5879, allocations: 46.31 kB / 0.5742 GB, free: 3.355 MB / 378.7 MB Notification: Performance of pre-optimization done (n=31): time 2.144e-06/0.5879, allocations: 0 / 0.5742 GB, free: 3.355 MB / 378.7 MB Notification: Performance of matching and sorting (n=31): time 0.004545/0.5925, allocations: 1.229 MB / 0.5754 GB, free: 2.168 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.12e-05/0.5926, allocations: 59.34 kB / 0.5755 GB, free: 2.102 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000206/0.5928, allocations: 183.5 kB / 0.5756 GB, free: 1.941 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.898e-05/0.5928, allocations: 33.39 kB / 0.5757 GB, free: 1.906 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001059/0.5929, allocations: 163.3 kB / 0.5758 GB, free: 1.773 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.712e-05/0.593, allocations: 105.7 kB / 0.5759 GB, free: 1.684 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.334e-05/0.593, allocations: 7.625 kB / 0.5759 GB, free: 1.68 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.5932, allocations: 334.2 kB / 0.5763 GB, free: 1.355 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002082/0.5934, allocations: 97.33 kB / 0.5763 GB, free: 1.289 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002289/0.5936, allocations: 131.7 kB / 0.5765 GB, free: 1.188 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002243/0.5939, allocations: 107.3 kB / 0.5766 GB, free: 1.125 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.5939, allocations: 0 / 0.5766 GB, free: 1.125 MB / 378.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001774/0.5957, allocations: 0.5595 MB / 0.5771 GB, free: 0.6602 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/0.5957, allocations: 4 kB / 0.5771 GB, free: 0.6562 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.5957, allocations: 0 / 0.5771 GB, free: 0.6562 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001719/0.5974, allocations: 317.8 kB / 0.5774 GB, free: 384 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001605/0.5976, allocations: 27.98 kB / 0.5775 GB, free: 356 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006949/0.6046, allocations: 6.405 MB / 0.5837 GB, free: 10.08 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002901/0.6049, allocations: 30.69 kB / 0.5837 GB, free: 10.06 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.801e-05/0.6049, allocations: 11.98 kB / 0.5837 GB, free: 10.05 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 5,1 5,1 5,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0001966/0.6051, allocations: 140.3 kB / 0.5839 GB, free: 9.918 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.427e-05/0.6052, allocations: 27.62 kB / 0.5839 GB, free: 9.891 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001794/0.607, allocations: 0.5623 MB / 0.5845 GB, free: 9.441 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.607, allocations: 4 kB / 0.5845 GB, free: 9.438 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-06/0.607, allocations: 4 kB / 0.5845 GB, free: 9.434 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/0.607, allocations: 7.984 kB / 0.5845 GB, free: 9.426 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004188/0.6075, allocations: 350.2 kB / 0.5848 GB, free: 9.102 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.6075, allocations: 0 / 0.5848 GB, free: 9.102 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001239/0.6076, allocations: 23.97 kB / 0.5848 GB, free: 9.078 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001567/0.6092, allocations: 314.5 kB / 0.5851 GB, free: 8.797 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.474e-05/0.6092, allocations: 11.25 kB / 0.5851 GB, free: 8.793 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00689/0.6161, allocations: 6.351 MB / 0.5913 GB, free: 2.582 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.6162, allocations: 3.938 kB / 0.5913 GB, free: 2.578 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001894/0.6181, allocations: 0.63 MB / 0.592 GB, free: 2.027 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.828e-05/0.6182, allocations: 100.7 kB / 0.5921 GB, free: 1.91 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.765e-05/0.6182, allocations: 7.438 kB / 0.5921 GB, free: 1.906 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002032/0.6184, allocations: 22.73 kB / 0.5921 GB, free: 1.891 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001222/0.6186, allocations: 35.03 kB / 0.5921 GB, free: 1.859 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.033e-05/0.6186, allocations: 7.312 kB / 0.5921 GB, free: 1.855 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001614/0.6188, allocations: 159.5 kB / 0.5923 GB, free: 1.723 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.51e-07/0.6188, allocations: 0 / 0.5923 GB, free: 1.723 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005616/0.6193, allocations: 117.2 kB / 0.5924 GB, free: 1.621 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 5,2 4,1 5,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.002103/0.6215, allocations: 1.187 MB / 0.5936 GB, free: 0.5078 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001142/0.6226, allocations: 0.7496 MB / 0.5943 GB, free: 15.8 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.6226, allocations: 0 / 0.5943 GB, free: 15.8 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009102/0.6235, allocations: 0.6742 MB / 0.5949 GB, free: 15.15 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002614/0.6238, allocations: 22.8 kB / 0.595 GB, free: 15.14 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003658/0.6275, allocations: 1.935 MB / 0.5969 GB, free: 13.4 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000397/0.6279, allocations: 0.7756 MB / 0.5976 GB, free: 12.6 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.582e-05/0.628, allocations: 13.94 kB / 0.5976 GB, free: 12.59 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.553e-05/0.6281, allocations: 83.53 kB / 0.5977 GB, free: 12.56 MB / 410.7 MB Notification: Performance of SimCode: time 1.102e-06/0.6281, allocations: 0 / 0.5977 GB, free: 12.56 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0249/0.653, allocations: 9.927 MB / 0.6074 GB, free: 2.699 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001851/0.6532, allocations: 197.6 kB / 0.6076 GB, free: 2.461 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.289/2.942, allocations: 8 kB / 0.6076 GB, free: 2.453 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_FixedShape_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_FixedShape.fmu > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape_res.mat does not exist to compare? outputFormat=mat