Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 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.TestCylinder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|cylinder1.H|cylinder1.m|cylinder2.H|springDamper.s_rel|springDamper.v_rel",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|cylinder1.H|cylinder1.m|cylinder2.H|springDamper.s_rel|springDamper.v_rel",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001214/0.001214, allocations: 110.2 kB / 18.24 MB, free: 4.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001317/0.001317, allocations: 195.3 kB / 19.19 MB, free: 3.836 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.453/1.453, allocations: 205.1 MB / 225 MB, free: 12.32 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001318, allocations: 56.25 kB / 281.3 MB, free: 3.176 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08539/0.08672, allocations: 46.63 MB / 327.9 MB, free: 4.477 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.004813/0.09158, allocations: 2.98 MB / 330.9 MB, free: 1.469 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002335/0.09395, allocations: 1.189 MB / 332.1 MB, free: 276 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003393/0.09432, allocations: 4 kB / 332.1 MB, free: 272 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006091/0.09499, allocations: 167.2 kB / 332.3 MB, free: 104 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006471/0.09566, allocations: 187 kB / 332.5 MB, free: 15.91 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004676/0.09614, allocations: 147.6 kB / 332.6 MB, free: 15.77 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006376/0.09679, allocations: 422.1 kB / 333 MB, free: 15.36 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002106/0.09701, allocations: 107.5 kB / 333.1 MB, free: 15.26 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002633/0.09728, allocations: 175.3 kB / 333.3 MB, free: 15.09 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003124/0.0976, allocations: 199.1 kB / 333.5 MB, free: 14.89 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.158e-05/0.09768, allocations: 31.98 kB / 333.5 MB, free: 14.86 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001851/0.09788, allocations: 63.98 kB / 333.6 MB, free: 14.8 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001017/0.09799, allocations: 75.77 kB / 333.7 MB, free: 14.72 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002078/0.0982, allocations: 198.9 kB / 333.9 MB, free: 14.53 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00052/0.09873, allocations: 450.8 kB / 334.3 MB, free: 14.09 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.09875, allocations: 4 kB / 334.3 MB, free: 14.08 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.09875, allocations: 0 / 334.3 MB, free: 14.08 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.544e-05/0.09878, allocations: 3.984 kB / 334.3 MB, free: 14.08 MB / 286.1 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.001263/0.1, allocations: 0.6867 MB / 335 MB, free: 13.34 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.1001, allocations: 11.97 kB / 335 MB, free: 13.32 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001667/0.1003, allocations: 48.41 kB / 335 MB, free: 13.28 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004068/0.1007, allocations: 316.5 kB / 335.4 MB, free: 12.93 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.747e-05/0.1007, allocations: 24.94 kB / 335.4 MB, free: 12.91 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.296e-05/0.1008, allocations: 32.03 kB / 335.4 MB, free: 12.88 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005055/0.1013, allocations: 291.1 kB / 335.7 MB, free: 12.57 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.968e-05/0.1013, allocations: 8 kB / 335.7 MB, free: 12.56 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.157e-05/0.1014, allocations: 12 kB / 335.7 MB, free: 12.55 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.1014, allocations: 4 kB / 335.7 MB, free: 12.55 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003458/0.1017, allocations: 178.1 kB / 335.9 MB, free: 12.37 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001344/0.1031, allocations: 0.8521 MB / 336.7 MB, free: 11.46 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005456/0.1036, allocations: 255.4 kB / 337 MB, free: 11.2 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001779/0.1038, allocations: 101.4 kB / 337.1 MB, free: 11.1 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.302e-05/0.1039, allocations: 8.281 kB / 337.1 MB, free: 11.09 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003779/0.1043, allocations: 160.9 kB / 337.3 MB, free: 10.92 MB / 286.1 MB Notification: Performance of pre-optimization done (n=34): time 1.793e-06/0.1043, allocations: 0 / 337.3 MB, free: 10.92 MB / 286.1 MB Notification: Performance of matching and sorting (n=40): time 0.002397/0.1067, allocations: 1.324 MB / 338.6 MB, free: 9.488 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.19e-05/0.1068, allocations: 183.9 kB / 338.8 MB, free: 9.266 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003785/0.1072, allocations: 360.5 kB / 339.1 MB, free: 8.898 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.489e-05/0.1072, allocations: 37.7 kB / 339.2 MB, free: 8.855 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001477/0.1074, allocations: 188.5 kB / 339.3 MB, free: 8.668 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000104/0.1075, allocations: 134 kB / 339.5 MB, free: 8.535 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001107/0.1076, allocations: 78.05 kB / 339.5 MB, free: 8.453 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001287/0.1077, allocations: 346.8 kB / 339.9 MB, free: 8.105 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001814/0.1079, allocations: 92.83 kB / 340 MB, free: 8.016 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000243/0.1082, allocations: 177.3 kB / 340.1 MB, free: 7.805 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003882/0.1086, allocations: 258.1 kB / 340.4 MB, free: 7.539 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.1086, allocations: 0 / 340.4 MB, free: 7.539 MB / 286.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005822/0.1092, allocations: 350.3 kB / 340.7 MB, free: 7.188 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.604e-05/0.1092, allocations: 7.984 kB / 340.7 MB, free: 7.18 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.829e-06/0.1092, allocations: 4 kB / 340.8 MB, free: 7.176 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.248e-05/0.1093, allocations: 20.8 kB / 340.8 MB, free: 7.152 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000342/0.1097, allocations: 96.02 kB / 340.9 MB, free: 7.059 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001159/0.1108, allocations: 1.394 MB / 342.3 MB, free: 5.527 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002058/0.1111, allocations: 19.97 kB / 342.3 MB, free: 5.508 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.248e-05/0.1111, allocations: 8 kB / 342.3 MB, free: 5.5 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002011/0.1113, allocations: 173.8 kB / 342.5 MB, free: 5.32 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.396e-05/0.1114, allocations: 39.59 kB / 342.5 MB, free: 5.281 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.727e-05/0.1115, allocations: 52.02 kB / 342.5 MB, free: 5.227 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.1115, allocations: 4 kB / 342.6 MB, free: 5.223 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.1115, allocations: 3.938 kB / 342.6 MB, free: 5.219 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006581/0.1122, allocations: 0.6686 MB / 343.2 MB, free: 4.445 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001241/0.1134, allocations: 0.837 MB / 344.1 MB, free: 3.539 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.1134, allocations: 4 kB / 344.1 MB, free: 3.535 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003258/0.1138, allocations: 75.91 kB / 344.1 MB, free: 3.461 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-06/0.1138, allocations: 0 / 344.1 MB, free: 3.461 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.68e-05/0.1138, allocations: 11.98 kB / 344.2 MB, free: 3.449 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.84e-06/0.1138, allocations: 4 kB / 344.2 MB, free: 3.445 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.419e-06/0.1138, allocations: 7.922 kB / 344.2 MB, free: 3.438 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000769/0.1146, allocations: 0.5497 MB / 344.7 MB, free: 2.859 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001579/0.1148, allocations: 136.8 kB / 344.8 MB, free: 2.707 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.237e-05/0.1148, allocations: 8 kB / 344.9 MB, free: 2.699 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002271/0.1151, allocations: 16 kB / 344.9 MB, free: 2.684 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.343e-05/0.1151, allocations: 31.95 kB / 344.9 MB, free: 2.652 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.908e-05/0.1152, allocations: 11.94 kB / 344.9 MB, free: 2.641 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002613/0.1154, allocations: 255 kB / 345.2 MB, free: 2.395 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.714e-06/0.1154, allocations: 0 / 345.2 MB, free: 2.395 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004147/0.1159, allocations: 104.5 kB / 345.3 MB, free: 2.293 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (cylinder1.m,cylinder1.H,cylinder2.H,springDamper.s_rel,springDamper.v_rel) * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009984/0.1169, allocations: 426.2 kB / 345.7 MB, free: 1.879 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0007607/0.1176, allocations: 394.2 kB / 346.1 MB, free: 1.48 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.1177, allocations: 0 / 346.1 MB, free: 1.48 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002325/0.1179, allocations: 131.8 kB / 346.2 MB, free: 1.352 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005767/0.1185, allocations: 97.8 kB / 346.3 MB, free: 1.258 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001797/0.1203, allocations: 1.075 MB / 347.4 MB, free: 136 kB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00041/0.1207, allocations: 0.8041 MB / 348.2 MB, free: 15.3 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.346e-05/0.1208, allocations: 31.44 kB / 348.2 MB, free: 15.27 MB / 302.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1208, allocations: 4 kB / 348.2 MB, free: 15.27 MB / 302.1 MB Notification: Performance of Templates: time 0.009976/0.1308, allocations: 5.721 MB / 353.9 MB, free: 9.539 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.makefile (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/TestCylinder/TestCylinder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches