Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.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) 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: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001011/0.001011, allocations: 178 kB / 18.04 MB, free: 3.656 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.55/1.55, allocations: 205.4 MB / 224.2 MB, free: 9.02 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.0007654/0.0007654, allocations: 85.3 kB / 272.5 MB, free: 8.246 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002933/0.0002933, allocations: 8 kB / 329.4 MB, free: 15.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2349/0.2353, allocations: 47.57 MB / 377 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09753/0.3328, allocations: 81.75 MB / 458.8 MB, free: 14.79 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002106/0.3331, allocations: 75.97 kB / 458.8 MB, free: 14.71 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02756/0.3607, allocations: 10.09 MB / 468.9 MB, free: 4.551 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.525e-06/0.3607, allocations: 0 / 468.9 MB, free: 4.551 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.809e-05/0.3607, allocations: 12 kB / 468.9 MB, free: 4.539 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001681/0.3624, allocations: 0.8002 MB / 469.7 MB, free: 3.676 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.3625, allocations: 20.02 kB / 469.8 MB, free: 3.656 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001512/0.3627, allocations: 64.19 kB / 469.8 MB, free: 3.594 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006496/0.3633, allocations: 410.5 kB / 470.2 MB, free: 3.152 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001382/0.3635, allocations: 62.91 kB / 470.3 MB, free: 3.086 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.396e-05/0.3636, allocations: 32.38 kB / 470.3 MB, free: 3.055 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008471/0.3644, allocations: 497.5 kB / 470.8 MB, free: 2.516 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.848e-05/0.3644, allocations: 3.938 kB / 470.8 MB, free: 2.512 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.073e-05/0.3645, allocations: 16 kB / 470.8 MB, free: 2.496 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.156e-05/0.3645, allocations: 8 kB / 470.8 MB, free: 2.488 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008513/0.3654, allocations: 374.4 kB / 471.2 MB, free: 2.121 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002313/0.3677, allocations: 1.28 MB / 472.5 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008346/0.3685, allocations: 452.8 kB / 472.9 MB, free: 304 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000413/0.369, allocations: 208.6 kB / 473.1 MB, free: 92 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.879e-05/0.369, allocations: 7.984 kB / 473.1 MB, free: 84 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.472e-05/0.3691, allocations: 46.5 kB / 473.2 MB, free: 28 kB / 346.7 MB Notification: Performance of pre-optimization done (n=36): time 2.485e-06/0.3691, allocations: 0 / 473.2 MB, free: 28 kB / 346.7 MB Notification: Performance of matching and sorting (n=36): time 0.00172/0.3708, allocations: 0.7667 MB / 473.9 MB, free: 15.21 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000189/0.371, allocations: 453.6 kB / 474.4 MB, free: 14.66 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00055/0.3716, allocations: 453.9 kB / 474.8 MB, free: 14.21 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.57e-05/0.3716, allocations: 37.7 kB / 474.9 MB, free: 14.17 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001738/0.3718, allocations: 232.6 kB / 475.1 MB, free: 13.94 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000115/0.3719, allocations: 138 kB / 475.2 MB, free: 13.8 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.03e-05/0.3719, allocations: 4 kB / 475.2 MB, free: 13.8 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.3721, allocations: 366.7 kB / 475.6 MB, free: 13.43 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003792/0.3725, allocations: 159.8 kB / 475.7 MB, free: 13.27 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004845/0.373, allocations: 298.1 kB / 476 MB, free: 12.93 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000793/0.3738, allocations: 375.9 kB / 476.4 MB, free: 12.55 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.3738, allocations: 4 kB / 476.4 MB, free: 12.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001132/0.3749, allocations: 0.5075 MB / 476.9 MB, free: 12.02 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.272e-05/0.375, allocations: 33.7 kB / 476.9 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/0.375, allocations: 0 / 476.9 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001966/0.3752, allocations: 45.69 kB / 477 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004994/0.3757, allocations: 91.88 kB / 477.1 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002472/0.3782, allocations: 2.741 MB / 479.8 MB, free: 8.828 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004353/0.3787, allocations: 67.61 kB / 479.9 MB, free: 8.762 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.759e-05/0.3787, allocations: 16 kB / 479.9 MB, free: 8.746 MB / 362.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 (38): * Single equations (assignments): 35 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002822/0.379, allocations: 165.8 kB / 480.1 MB, free: 8.574 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001019/0.3791, allocations: 59.36 kB / 480.1 MB, free: 8.516 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001131/0.3792, allocations: 48.77 kB / 480.2 MB, free: 8.465 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.3792, allocations: 4 kB / 480.2 MB, free: 8.461 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.3793, allocations: 0 / 480.2 MB, free: 8.461 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001082/0.3803, allocations: 0.775 MB / 480.9 MB, free: 7.582 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001779/0.3821, allocations: 1.06 MB / 482 MB, free: 6.457 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.3822, allocations: 7.984 kB / 482 MB, free: 6.449 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004459/0.3826, allocations: 99.88 kB / 482.1 MB, free: 6.352 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.3826, allocations: 0 / 482.1 MB, free: 6.352 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.034e-05/0.3827, allocations: 11.98 kB / 482.1 MB, free: 6.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.3827, allocations: 0 / 482.1 MB, free: 6.34 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.3827, allocations: 0 / 482.1 MB, free: 6.34 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0013/0.384, allocations: 0.7099 MB / 482.8 MB, free: 5.613 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002359/0.3842, allocations: 164.5 kB / 483 MB, free: 5.434 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.838e-05/0.3843, allocations: 8 kB / 483 MB, free: 5.426 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003167/0.3846, allocations: 35.97 kB / 483 MB, free: 5.391 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.398e-05/0.3847, allocations: 23.97 kB / 483.1 MB, free: 5.367 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.054e-05/0.3848, allocations: 12.05 kB / 483.1 MB, free: 5.355 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004047/0.3852, allocations: 319.1 kB / 483.4 MB, free: 5.051 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.976e-06/0.3852, allocations: 0 / 483.4 MB, free: 5.051 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004886/0.3857, allocations: 151.7 kB / 483.5 MB, free: 4.902 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.T) * 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 (36): * Single equations (assignments): 36 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002277/0.3859, allocations: 123.2 kB / 483.7 MB, free: 4.773 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001388/0.3873, allocations: 0.6765 MB / 484.3 MB, free: 4.059 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.3873, allocations: 4 kB / 484.3 MB, free: 4.055 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004771/0.3878, allocations: 199.7 kB / 484.5 MB, free: 3.859 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000759/0.3886, allocations: 133.8 kB / 484.7 MB, free: 3.73 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001859/0.3904, allocations: 1.118 MB / 485.8 MB, free: 2.586 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004684/0.3909, allocations: 0.8277 MB / 486.6 MB, free: 1.73 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002821/0.3912, allocations: 60.34 kB / 486.7 MB, free: 1.668 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001169/0.3913, allocations: 39.44 kB / 486.7 MB, free: 1.629 MB / 362.7 MB Notification: Performance of SimCode: time 2.7e-07/0.3913, allocations: 8 kB / 486.7 MB, free: 1.621 MB / 362.7 MB Notification: Performance of Templates: time 0.01493/0.4063, allocations: 8.012 MB / 494.7 MB, free: 9.633 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.makefile (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/OneMass/OneMass.csv","../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches