Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009535/0.0009535, allocations: 79.91 kB / 21.18 MB, free: 3.391 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001455/0.001455, allocations: 145.5 kB / 24.54 MB, free: 36 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8822/0.8822, allocations: 173.4 MB / 201.1 MB, free: 8.977 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 268 MB, free: 6.297 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.549e-05/1.747e-05, allocations: 2.312 kB / 268 MB, free: 6.293 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.004771/0.004788, allocations: 3.681 MB / 271.7 MB, free: 2.594 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001743/0.006531, allocations: 0.9695 MB / 272.6 MB, free: 1.617 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002479/0.006779, allocations: 7.938 kB / 272.6 MB, free: 1.609 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003698/0.007149, allocations: 103.1 kB / 272.7 MB, free: 1.508 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004764/0.007626, allocations: 214.2 kB / 273 MB, free: 1.297 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003233/0.007949, allocations: 139.6 kB / 273.1 MB, free: 1.16 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007643/0.008713, allocations: 0.7039 MB / 273.8 MB, free: 464 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002508/0.008964, allocations: 122.9 kB / 273.9 MB, free: 336 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000484/0.009448, allocations: 399 kB / 274.3 MB, free: 15.94 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003387/0.009787, allocations: 219.4 kB / 274.5 MB, free: 15.72 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.226e-05/0.009859, allocations: 56 kB / 274.6 MB, free: 15.67 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.307e-05/0.009922, allocations: 56 kB / 274.6 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.439e-05/0.009996, allocations: 131.5 kB / 274.8 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001506/0.01015, allocations: 215.6 kB / 275 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003648/0.01051, allocations: 454.3 kB / 275.4 MB, free: 14.83 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.365e-06/0.01051, allocations: 0 / 275.4 MB, free: 14.83 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.01051, allocations: 0 / 275.4 MB, free: 14.83 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.01052, allocations: 0 / 275.4 MB, free: 14.83 MB / 266.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.0009802/0.0115, allocations: 0.9254 MB / 276.3 MB, free: 13.86 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.209e-05/0.01153, allocations: 8.922 kB / 276.3 MB, free: 13.85 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001062/0.01164, allocations: 96.5 kB / 276.4 MB, free: 13.75 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003649/0.012, allocations: 338.5 kB / 276.8 MB, free: 13.39 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.794e-05/0.01209, allocations: 118.3 kB / 276.9 MB, free: 13.26 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.25e-05/0.01213, allocations: 36.38 kB / 276.9 MB, free: 13.23 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005415/0.01268, allocations: 0.8017 MB / 277.7 MB, free: 12.26 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.01269, allocations: 4.188 kB / 277.7 MB, free: 12.25 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.585e-05/0.01271, allocations: 20.12 kB / 277.7 MB, free: 12.23 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.008e-05/0.01272, allocations: 8 kB / 277.8 MB, free: 12.23 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002429/0.01297, allocations: 151.8 kB / 277.9 MB, free: 12.08 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001088/0.01405, allocations: 0.9668 MB / 278.9 MB, free: 11.07 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002496/0.0143, allocations: 175 kB / 279 MB, free: 10.89 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001139/0.01442, allocations: 92.23 kB / 279.1 MB, free: 10.79 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.407e-05/0.01444, allocations: 7.938 kB / 279.1 MB, free: 10.79 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.294e-05/0.01446, allocations: 45.25 kB / 279.2 MB, free: 10.73 MB / 266.7 MB Notification: Performance of pre-optimization done (n=35): time 1.422e-06/0.01446, allocations: 0 / 279.2 MB, free: 10.73 MB / 266.7 MB Notification: Performance of matching and sorting (n=35): time 0.0005801/0.01505, allocations: 380.3 kB / 279.6 MB, free: 10.34 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001193/0.01516, allocations: 448.9 kB / 280 MB, free: 9.801 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003056/0.01547, allocations: 450.7 kB / 280.4 MB, free: 9.344 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.582e-05/0.0155, allocations: 33.7 kB / 280.5 MB, free: 9.305 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001361/0.01563, allocations: 303.3 kB / 280.8 MB, free: 9.004 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.293e-05/0.01569, allocations: 126.8 kB / 280.9 MB, free: 8.879 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.297e-05/0.01578, allocations: 79.34 kB / 281 MB, free: 8.793 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.0159, allocations: 0.5313 MB / 281.5 MB, free: 8.25 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001087/0.01601, allocations: 85.45 kB / 281.6 MB, free: 8.16 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002805/0.01629, allocations: 0.6386 MB / 282.2 MB, free: 7.348 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002216/0.01651, allocations: 198.8 kB / 282.4 MB, free: 7.141 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.01652, allocations: 0 / 282.4 MB, free: 7.141 MB / 266.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0003765/0.01689, allocations: 381.3 kB / 282.8 MB, free: 6.742 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/0.01691, allocations: 29.7 kB / 282.8 MB, free: 6.707 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.01692, allocations: 0 / 282.8 MB, free: 6.707 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.549e-05/0.01701, allocations: 47.34 kB / 282.9 MB, free: 6.652 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000193/0.0172, allocations: 87.92 kB / 282.9 MB, free: 6.566 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001435/0.01864, allocations: 3.585 MB / 286.5 MB, free: 2.734 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001682/0.01881, allocations: 39.77 kB / 286.6 MB, free: 2.695 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.647e-05/0.01882, allocations: 12 kB / 286.6 MB, free: 2.684 MB / 266.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 (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001074/0.01893, allocations: 180.5 kB / 286.8 MB, free: 2.496 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.924e-05/0.01899, allocations: 63.66 kB / 286.8 MB, free: 2.434 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.759e-05/0.01904, allocations: 56.56 kB / 286.9 MB, free: 2.375 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.01904, allocations: 0 / 286.9 MB, free: 2.375 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.794e-06/0.01904, allocations: 8 kB / 286.9 MB, free: 2.367 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003295/0.01937, allocations: 0.5838 MB / 287.5 MB, free: 1.68 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000691/0.02006, allocations: 0.7741 MB / 288.2 MB, free: 0.8555 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.02006, allocations: 0 / 288.2 MB, free: 0.8555 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001988/0.02026, allocations: 79.89 kB / 288.3 MB, free: 0.7773 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.02026, allocations: 4 kB / 288.3 MB, free: 0.7734 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.441e-05/0.02028, allocations: 4 kB / 288.3 MB, free: 0.7695 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.02028, allocations: 4 kB / 288.3 MB, free: 0.7656 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.02028, allocations: 4 kB / 288.3 MB, free: 0.7617 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004256/0.02071, allocations: 484.2 kB / 288.8 MB, free: 276 kB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001009/0.02081, allocations: 83.59 kB / 288.9 MB, free: 192 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.421e-05/0.02084, allocations: 12 kB / 288.9 MB, free: 180 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001496/0.02099, allocations: 19.98 kB / 288.9 MB, free: 160 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.272e-05/0.02104, allocations: 23.95 kB / 288.9 MB, free: 136 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.219e-05/0.02105, allocations: 11.98 kB / 289 MB, free: 124 kB / 266.7 MB Notification: Performance of sorting global known variables: time 0.09011/0.1112, allocations: 301 kB / 289.2 MB, free: 29.81 MB / 266.7 MB Notification: Performance of sort global known variables: time 2.91e-07/0.1112, allocations: 0.5 kB / 289.2 MB, free: 29.81 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004461/0.1116, allocations: 140.8 kB / 289.4 MB, free: 29.81 MB / 266.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 (35): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001015/0.1117, allocations: 109.8 kB / 289.5 MB, free: 29.72 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006645/0.1124, allocations: 0.6273 MB / 290.1 MB, free: 29.27 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.1124, allocations: 2.625 kB / 290.1 MB, free: 29.27 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001406/0.1125, allocations: 114.2 kB / 290.2 MB, free: 29.26 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004603/0.113, allocations: 143.5 kB / 290.4 MB, free: 29.26 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001346/0.1143, allocations: 0.8448 MB / 291.2 MB, free: 28.86 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.392e-05/0.1144, allocations: 112.5 kB / 291.3 MB, free: 28.79 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001881/0.1146, allocations: 58.59 kB / 291.4 MB, free: 28.78 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.391e-05/0.1147, allocations: 47.44 kB / 291.4 MB, free: 28.77 MB / 266.7 MB Notification: Performance of SimCode: time 1.082e-06/0.1147, allocations: 1 kB / 291.4 MB, free: 28.77 MB / 266.7 MB Notification: Performance of Templates: time 0.01131/0.126, allocations: 9.845 MB / 301.3 MB, free: 25.84 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/OneMass/OneMass.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7420113207772374]