Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.0009779/0.0009774, allocations: 180.8 kB / 17.41 MB, free: 4.406 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.571/1.571, allocations: 205.4 MB / 223.6 MB, free: 9.023 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.000698/0.0006981, allocations: 89.42 kB / 271.9 MB, free: 8.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003018/0.0003019, allocations: 12 kB / 328.1 MB, free: 15.95 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2408/0.2412, allocations: 47.56 MB / 375.7 MB, free: 45.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09517/0.3364, allocations: 81.75 MB / 457.5 MB, free: 14.89 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002051/0.3366, allocations: 71.97 kB / 457.5 MB, free: 14.82 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0258/0.3624, allocations: 10.1 MB / 467.6 MB, free: 4.652 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.3625, allocations: 0 / 467.6 MB, free: 4.652 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.553e-05/0.3625, allocations: 8 kB / 467.6 MB, free: 4.645 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.001289/0.3638, allocations: 0.808 MB / 468.4 MB, free: 3.773 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.3639, allocations: 8.031 kB / 468.4 MB, free: 3.766 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000116/0.364, allocations: 68.19 kB / 468.5 MB, free: 3.699 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000551/0.3645, allocations: 406.5 kB / 468.9 MB, free: 3.262 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.645e-05/0.3647, allocations: 58.91 kB / 469 MB, free: 3.199 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.863e-05/0.3647, allocations: 36.38 kB / 469 MB, free: 3.164 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008283/0.3656, allocations: 497.5 kB / 469.5 MB, free: 2.625 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.652e-05/0.3656, allocations: 3.938 kB / 469.5 MB, free: 2.621 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.522e-05/0.3656, allocations: 23.98 kB / 469.5 MB, free: 2.598 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.147e-05/0.3657, allocations: 8 kB / 469.5 MB, free: 2.59 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008208/0.3665, allocations: 366.4 kB / 469.9 MB, free: 2.23 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002054/0.3686, allocations: 1.284 MB / 471.2 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008033/0.3694, allocations: 461 kB / 471.6 MB, free: 404 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000402/0.3698, allocations: 200.6 kB / 471.8 MB, free: 200 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.174e-05/0.3698, allocations: 11.94 kB / 471.8 MB, free: 188 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.859e-05/0.3699, allocations: 38.56 kB / 471.9 MB, free: 140 kB / 346.7 MB Notification: Performance of pre-optimization done (n=36): time 2.244e-06/0.3699, allocations: 0 / 471.9 MB, free: 140 kB / 346.7 MB Notification: Performance of matching and sorting (n=36): time 0.00161/0.3715, allocations: 0.7746 MB / 472.6 MB, free: 15.31 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001808/0.3717, allocations: 445 kB / 473.1 MB, free: 14.77 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004968/0.3722, allocations: 462.5 kB / 473.5 MB, free: 14.31 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.562e-05/0.3722, allocations: 33.7 kB / 473.6 MB, free: 14.27 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001703/0.3724, allocations: 236.6 kB / 473.8 MB, free: 14.04 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.665e-05/0.3725, allocations: 126 kB / 473.9 MB, free: 13.91 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.276e-05/0.3726, allocations: 15.94 kB / 473.9 MB, free: 13.9 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.3727, allocations: 358.7 kB / 474.3 MB, free: 13.54 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003672/0.3731, allocations: 163.8 kB / 474.4 MB, free: 13.38 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004961/0.3736, allocations: 298.1 kB / 474.7 MB, free: 13.04 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007266/0.3743, allocations: 371.9 kB / 475.1 MB, free: 12.66 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.3743, allocations: 0 / 475.1 MB, free: 12.66 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009799/0.3753, allocations: 0.5153 MB / 475.6 MB, free: 12.12 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.968e-05/0.3754, allocations: 33.69 kB / 475.6 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.3754, allocations: 0 / 475.6 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001649/0.3755, allocations: 49.7 kB / 475.7 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004028/0.376, allocations: 91.88 kB / 475.8 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002221/0.3782, allocations: 2.737 MB / 478.5 MB, free: 8.938 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003725/0.3786, allocations: 67.7 kB / 478.6 MB, free: 8.871 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.441e-05/0.3786, allocations: 19.97 kB / 478.6 MB, free: 8.852 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.0002482/0.3789, allocations: 169.8 kB / 478.8 MB, free: 8.676 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.994e-05/0.379, allocations: 51.38 kB / 478.8 MB, free: 8.625 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001054/0.3791, allocations: 52.77 kB / 478.9 MB, free: 8.57 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.3791, allocations: 15.92 kB / 478.9 MB, free: 8.555 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.3791, allocations: 4 kB / 478.9 MB, free: 8.551 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000946/0.3801, allocations: 0.7556 MB / 479.6 MB, free: 7.691 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001687/0.3818, allocations: 1.068 MB / 480.7 MB, free: 6.559 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.3818, allocations: 0 / 480.7 MB, free: 6.559 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000445/0.3822, allocations: 95.86 kB / 480.8 MB, free: 6.465 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.3822, allocations: 0 / 480.8 MB, free: 6.465 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.907e-05/0.3823, allocations: 16 kB / 480.8 MB, free: 6.449 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.921e-06/0.3823, allocations: 4 kB / 480.8 MB, free: 6.445 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.3823, allocations: 0 / 480.8 MB, free: 6.445 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001294/0.3836, allocations: 0.7021 MB / 481.5 MB, free: 5.727 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002107/0.3838, allocations: 168.5 kB / 481.7 MB, free: 5.543 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.23e-05/0.3839, allocations: 8 kB / 481.7 MB, free: 5.535 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002939/0.3842, allocations: 36.03 kB / 481.7 MB, free: 5.5 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.741e-05/0.3843, allocations: 27.95 kB / 481.8 MB, free: 5.473 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.236e-05/0.3843, allocations: 15.94 kB / 481.8 MB, free: 5.457 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000341/0.3846, allocations: 319.1 kB / 482.1 MB, free: 5.152 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3847, allocations: 0 / 482.1 MB, free: 5.152 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004487/0.3851, allocations: 151.7 kB / 482.2 MB, free: 5.004 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.000166/0.3853, allocations: 119.2 kB / 482.4 MB, free: 4.879 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001168/0.3865, allocations: 0.6727 MB / 483 MB, free: 4.168 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.3865, allocations: 0 / 483 MB, free: 4.168 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003837/0.3869, allocations: 203.7 kB / 483.2 MB, free: 3.969 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007545/0.3876, allocations: 141.8 kB / 483.4 MB, free: 3.832 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001591/0.3892, allocations: 1.143 MB / 484.5 MB, free: 2.656 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003876/0.3896, allocations: 0.8277 MB / 485.3 MB, free: 1.797 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001458/0.3898, allocations: 43.44 kB / 485.4 MB, free: 1.758 MB / 362.7 MB Notification: Performance of SimCode: time 3.81e-07/0.3898, allocations: 3.938 kB / 485.4 MB, free: 1.754 MB / 362.7 MB Notification: Performance of Templates: time 0.01126/0.4011, allocations: 8.787 MB / 494.2 MB, free: 8.992 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & ./Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches