Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.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.Fluid.TestComponents.Pipes.StaticPipe,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Pipes_StaticPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Pipes_StaticPipe",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.001681/0.001682, allocations: 180.2 kB / 8.007 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.732/1.732, allocations: 205.3 MB / 213.7 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009519/0.0009521, allocations: 86.62 kB / 261.7 MB, free: 1.684 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2369/0.2369, allocations: 43.5 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.27e-05/2.262e-05, allocations: 0 / 418.4 MB, free: 28.44 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1311, allocations: 58.87 MB / 477.2 MB, free: 1.523 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.003/1.135, allocations: 316 MB / 0.7746 GB, free: 138 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002888/1.135, allocations: 88.31 kB / 0.7747 GB, free: 137.9 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.2039/1.339, allocations: 96.77 MB / 0.8692 GB, free: 40.18 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.432e-06/1.339, allocations: 0 / 0.8692 GB, free: 40.18 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.898e-05/1.339, allocations: 12 kB / 0.8692 GB, free: 40.17 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001674/1.341, allocations: 0.8323 MB / 0.87 GB, free: 39.29 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/1.341, allocations: 8.031 kB / 0.87 GB, free: 39.28 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000244/1.341, allocations: 63.3 kB / 0.8701 GB, free: 39.21 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007391/1.342, allocations: 467.8 kB / 0.8705 GB, free: 38.71 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.589e-05/1.342, allocations: 12 kB / 0.8705 GB, free: 38.7 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.147e-05/1.342, allocations: 16 kB / 0.8706 GB, free: 38.69 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005396/1.342, allocations: 389.2 kB / 0.8709 GB, free: 38.31 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006113/1.343, allocations: 487.7 kB / 0.8714 GB, free: 37.79 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/1.343, allocations: 4 kB / 0.8714 GB, free: 37.79 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.354e-05/1.343, allocations: 0 / 0.8714 GB, free: 37.79 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-05/1.343, allocations: 28.5 kB / 0.8714 GB, free: 37.76 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002547/1.346, allocations: 2.188 MB / 0.8736 GB, free: 35.44 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003058/1.346, allocations: 210.6 kB / 0.8738 GB, free: 35.23 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001498/1.346, allocations: 128.8 kB / 0.8739 GB, free: 35.1 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009566/1.347, allocations: 1.045 MB / 0.8749 GB, free: 33.93 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002375/1.347, allocations: 199.9 kB / 0.8751 GB, free: 33.71 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=18): time 1.853e-06/1.347, allocations: 0 / 0.8751 GB, free: 33.71 MB / 0.4948 GB Notification: Performance of matching and sorting (n=18): time 0.0006544/1.348, allocations: 281 kB / 0.8754 GB, free: 33.43 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.043e-05/1.348, allocations: 239.3 kB / 0.8756 GB, free: 33.14 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003468/1.348, allocations: 377.1 kB / 0.876 GB, free: 32.77 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.937e-05/1.349, allocations: 25.7 kB / 0.876 GB, free: 32.73 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001494/1.349, allocations: 295.5 kB / 0.8763 GB, free: 32.44 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.19e-05/1.349, allocations: 55.2 kB / 0.8763 GB, free: 32.38 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.927e-05/1.349, allocations: 0 / 0.8763 GB, free: 32.38 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.352e-05/1.349, allocations: 354.8 kB / 0.8767 GB, free: 32.03 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001538/1.349, allocations: 116.4 kB / 0.8768 GB, free: 31.91 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002371/1.349, allocations: 284 kB / 0.877 GB, free: 31.56 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00261/1.352, allocations: 0.6174 MB / 0.8776 GB, free: 30.94 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/1.352, allocations: 0 / 0.8776 GB, free: 30.94 MB / 0.4948 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.00301/1.355, allocations: 0.8898 MB / 0.8785 GB, free: 30.05 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004027/1.355, allocations: 1.692 MB / 0.8802 GB, free: 28.22 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.533e-05/1.355, allocations: 4 kB / 0.8802 GB, free: 28.21 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.138e-05/1.355, allocations: 8 kB / 0.8802 GB, free: 28.21 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003148/1.356, allocations: 79.84 kB / 0.8802 GB, free: 28.13 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.296e-05/1.356, allocations: 4 kB / 0.8803 GB, free: 28.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004333/1.356, allocations: 51.52 kB / 0.8803 GB, free: 28.07 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.788e-05/1.356, allocations: 23.98 kB / 0.8803 GB, free: 28.05 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.456e-06/1.356, allocations: 4 kB / 0.8803 GB, free: 28.05 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002807/1.359, allocations: 0.8199 MB / 0.8811 GB, free: 27.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/1.359, allocations: 4 kB / 0.8811 GB, free: 27.22 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.001e-05/1.359, allocations: 11.95 kB / 0.8811 GB, free: 27.21 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002523/1.359, allocations: 71.91 kB / 0.8812 GB, free: 27.14 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/1.359, allocations: 11.94 kB / 0.8812 GB, free: 27.13 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003953/1.36, allocations: 35.67 kB / 0.8813 GB, free: 27.09 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.85e-05/1.36, allocations: 19.98 kB / 0.8813 GB, free: 27.07 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,p_table.a,p_table.b,p_table.last,$PRE.p_table.nextEvent,p_table.nextEvent,p_table.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001954/1.36, allocations: 154.6 kB / 0.8814 GB, free: 26.91 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000572/1.361, allocations: 298.2 kB / 0.8817 GB, free: 26.61 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.478e-05/1.361, allocations: 51.47 kB / 0.8818 GB, free: 26.56 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006433/1.361, allocations: 316.4 kB / 0.8821 GB, free: 26.25 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/1.361, allocations: 64 / 0.8821 GB, free: 26.25 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/1.361, allocations: 4 kB / 0.8821 GB, free: 26.25 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/1.361, allocations: 4 kB / 0.8821 GB, free: 26.24 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004036/1.362, allocations: 369.8 kB / 0.8824 GB, free: 25.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/1.362, allocations: 0 / 0.8824 GB, free: 25.84 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001094/1.362, allocations: 27.92 kB / 0.8824 GB, free: 25.82 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/1.362, allocations: 0 / 0.8824 GB, free: 25.82 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.057e-05/1.362, allocations: 7.953 kB / 0.8825 GB, free: 25.81 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/1.362, allocations: 0 / 0.8825 GB, free: 25.81 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/1.362, allocations: 0 / 0.8825 GB, free: 25.81 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004928/1.362, allocations: 324.5 kB / 0.8828 GB, free: 25.47 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001004/1.363, allocations: 128.5 kB / 0.8829 GB, free: 25.33 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.649e-05/1.363, allocations: 11.89 kB / 0.8829 GB, free: 25.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000262/1.363, allocations: 11.98 kB / 0.8829 GB, free: 25.3 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.814e-05/1.363, allocations: 15.92 kB / 0.8829 GB, free: 25.29 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.45e-05/1.363, allocations: 15.98 kB / 0.8829 GB, free: 25.27 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.00025/1.363, allocations: 287 kB / 0.8832 GB, free: 25 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.5e-07/1.363, allocations: 4 kB / 0.8832 GB, free: 24.99 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001362/1.365, allocations: 463.2 kB / 0.8837 GB, free: 24.54 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,p_table.a,p_table.b,p_table.last,p_table.nextEvent,p_table.nextEventScaled) * Number of discrete states: 6 (p_table.nextEvent,p_table.last,p_table.nextEventScaled,p_table.b,p_table.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001773/1.366, allocations: 1.27 MB / 0.8849 GB, free: 23.25 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0008518/1.367, allocations: 0.6078 MB / 0.8855 GB, free: 22.61 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/1.367, allocations: 3.938 kB / 0.8855 GB, free: 22.61 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001502/1.367, allocations: 176 kB / 0.8857 GB, free: 22.43 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007812/1.368, allocations: 141.9 kB / 0.8858 GB, free: 22.29 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001512/1.37, allocations: 0.7372 MB / 0.8865 GB, free: 21.51 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003464/1.37, allocations: 0.8513 MB / 0.8873 GB, free: 20.63 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0006072/1.371, allocations: 171.1 kB / 0.8875 GB, free: 20.46 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001881/1.371, allocations: 143.4 kB / 0.8876 GB, free: 20.32 MB / 0.4948 GB Notification: Performance of SimCode: time 4.61e-07/1.371, allocations: 0 / 0.8876 GB, free: 20.32 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03978/1.411, allocations: 14.66 MB / 0.902 GB, free: 5.684 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001702/1.411, allocations: 175.4 kB / 0.9021 GB, free: 5.488 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.596/4.007, allocations: 0 / 0.9021 GB, free: 5.488 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Pipes_StaticPipe_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Pipes_StaticPipe.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe_res.mat does not exist to compare? outputFormat=mat