Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) 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.TestCylinder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|cylinder1.H|cylinder1.m|cylinder2.H|springDamper.s_rel|springDamper.v_rel",fileNamePrefix="Modelica_4.0.0_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_4.0.0_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.0009853/0.0009854, allocations: 93.47 kB / 17.31 MB, free: 6.535 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.001019/0.00102, allocations: 175.4 kB / 18.21 MB, free: 5.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.292/1.292, allocations: 223.3 MB / 242.3 MB, free: 196 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000281/0.000281, allocations: 15.94 kB / 302.1 MB, free: 6.125 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09087/0.09117, allocations: 50.41 MB / 352.5 MB, free: 3.703 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.003261/0.09447, allocations: 2.666 MB / 355.2 MB, free: 1.02 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002081/0.09658, allocations: 1.165 MB / 356.3 MB, free: 15.85 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002777/0.09688, allocations: 4 kB / 356.3 MB, free: 15.84 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005131/0.09741, allocations: 131.4 kB / 356.5 MB, free: 15.71 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005084/0.09793, allocations: 159.1 kB / 356.6 MB, free: 15.56 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004417/0.09839, allocations: 143 kB / 356.7 MB, free: 15.42 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005197/0.09892, allocations: 421.9 kB / 357.2 MB, free: 15.01 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001819/0.09911, allocations: 82.81 kB / 357.2 MB, free: 14.93 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002269/0.09935, allocations: 159.3 kB / 357.4 MB, free: 14.77 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002584/0.09962, allocations: 179.1 kB / 357.6 MB, free: 14.59 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.986e-05/0.09967, allocations: 16 kB / 357.6 MB, free: 14.58 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000132/0.09981, allocations: 43.98 kB / 357.6 MB, free: 14.54 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.65e-05/0.09991, allocations: 67.69 kB / 357.7 MB, free: 14.47 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001803/0.1001, allocations: 200.7 kB / 357.9 MB, free: 14.27 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003344/0.1004, allocations: 327.3 kB / 358.2 MB, free: 13.95 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.1004, allocations: 0 / 358.2 MB, free: 13.95 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1005, allocations: 0 / 358.2 MB, free: 13.95 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.003e-05/0.1005, allocations: 0 / 358.2 MB, free: 13.95 MB / 302.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.0009025/0.1014, allocations: 0.613 MB / 358.8 MB, free: 13.29 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.299e-05/0.1014, allocations: 8.031 kB / 358.8 MB, free: 13.28 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.307e-05/0.1015, allocations: 48.41 kB / 358.9 MB, free: 13.23 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003795/0.1019, allocations: 315.8 kB / 359.2 MB, free: 12.88 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.617e-05/0.1019, allocations: 24.94 kB / 359.2 MB, free: 12.86 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.808e-05/0.102, allocations: 28.12 kB / 359.2 MB, free: 12.83 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004665/0.1025, allocations: 291.1 kB / 359.5 MB, free: 12.53 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.1025, allocations: 4 kB / 359.5 MB, free: 12.52 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.001e-05/0.1025, allocations: 12 kB / 359.5 MB, free: 12.51 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.1026, allocations: 4 kB / 359.5 MB, free: 12.51 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003177/0.1029, allocations: 182.1 kB / 359.7 MB, free: 12.33 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001331/0.1042, allocations: 0.8405 MB / 360.6 MB, free: 11.43 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005124/0.1047, allocations: 263.4 kB / 360.8 MB, free: 11.16 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001734/0.1049, allocations: 97.38 kB / 360.9 MB, free: 11.06 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.79e-05/0.105, allocations: 8.219 kB / 360.9 MB, free: 11.05 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002909/0.1053, allocations: 166.5 kB / 361.1 MB, free: 10.88 MB / 302.1 MB Notification: Performance of pre-optimization done (n=34): time 1.834e-06/0.1053, allocations: 0 / 361.1 MB, free: 10.88 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.00222/0.1075, allocations: 1.309 MB / 362.4 MB, free: 9.461 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.166e-05/0.1076, allocations: 191.8 kB / 362.6 MB, free: 9.23 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003254/0.1079, allocations: 324.6 kB / 362.9 MB, free: 8.898 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.213e-05/0.108, allocations: 33.7 kB / 362.9 MB, free: 8.859 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001236/0.1081, allocations: 188.5 kB / 363.1 MB, free: 8.672 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001043/0.1082, allocations: 142 kB / 363.3 MB, free: 8.531 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.915e-05/0.1083, allocations: 37.7 kB / 363.3 MB, free: 8.488 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.1084, allocations: 346.8 kB / 363.6 MB, free: 8.141 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001767/0.1086, allocations: 88.83 kB / 363.7 MB, free: 8.051 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002295/0.1088, allocations: 181.3 kB / 363.9 MB, free: 7.844 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003705/0.1092, allocations: 246.2 kB / 364.1 MB, free: 7.59 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.1092, allocations: 0 / 364.1 MB, free: 7.59 MB / 302.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005403/0.1098, allocations: 358.2 kB / 364.5 MB, free: 7.23 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.1098, allocations: 11.98 kB / 364.5 MB, free: 7.219 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.1098, allocations: 0 / 364.5 MB, free: 7.219 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.004e-05/0.1099, allocations: 16.86 kB / 364.5 MB, free: 7.199 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003088/0.1102, allocations: 95.89 kB / 364.6 MB, free: 7.105 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009717/0.1112, allocations: 1.285 MB / 365.9 MB, free: 5.691 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001902/0.1114, allocations: 19.89 kB / 365.9 MB, free: 5.672 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.516e-05/0.1114, allocations: 16.16 kB / 365.9 MB, free: 5.656 MB / 302.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.0001816/0.1116, allocations: 176.4 kB / 366.1 MB, free: 5.477 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.885e-05/0.1117, allocations: 31.62 kB / 366.1 MB, free: 5.445 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.848e-05/0.1118, allocations: 47.88 kB / 366.2 MB, free: 5.395 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.1118, allocations: 4 kB / 366.2 MB, free: 5.391 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.1118, allocations: 0 / 366.2 MB, free: 5.391 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000594/0.1124, allocations: 0.665 MB / 366.8 MB, free: 4.621 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001101/0.1135, allocations: 0.8484 MB / 367.7 MB, free: 3.703 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.1135, allocations: 0 / 367.7 MB, free: 3.703 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003206/0.1138, allocations: 83.83 kB / 367.8 MB, free: 3.621 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/0.1138, allocations: 4 kB / 367.8 MB, free: 3.617 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.507e-05/0.1139, allocations: 8.125 kB / 367.8 MB, free: 3.609 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.1139, allocations: 7.938 kB / 367.8 MB, free: 3.602 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.1139, allocations: 4 kB / 367.8 MB, free: 3.598 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007122/0.1146, allocations: 0.5378 MB / 368.3 MB, free: 3.031 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001418/0.1148, allocations: 148.6 kB / 368.5 MB, free: 2.867 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.445e-05/0.1148, allocations: 8 kB / 368.5 MB, free: 2.859 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00022/0.115, allocations: 23.92 kB / 368.5 MB, free: 2.836 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.127e-05/0.1151, allocations: 23.97 kB / 368.5 MB, free: 2.812 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.593e-05/0.1151, allocations: 8.125 kB / 368.5 MB, free: 2.805 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002285/0.1154, allocations: 243 kB / 368.8 MB, free: 2.566 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1154, allocations: 0 / 368.8 MB, free: 2.566 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003885/0.1158, allocations: 96 kB / 368.9 MB, free: 2.473 MB / 302.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.0009018/0.1167, allocations: 430.5 kB / 369.3 MB, free: 2.207 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006048/0.1173, allocations: 366.4 kB / 369.7 MB, free: 1.836 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.658e-06/0.1173, allocations: 0 / 369.7 MB, free: 1.836 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00023/0.1175, allocations: 136.2 kB / 369.8 MB, free: 1.703 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006018/0.1182, allocations: 89.05 kB / 369.9 MB, free: 1.617 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001676/0.1198, allocations: 1.308 MB / 371.2 MB, free: 268 kB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1402/0.26, allocations: 0.7932 MB / 372 MB, free: 23.85 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001511/0.2602, allocations: 36.81 kB / 372 MB, free: 23.84 MB / 302.1 MB Notification: Performance of SimCode: time 8.02e-07/0.2602, allocations: 0 / 372 MB, free: 23.84 MB / 302.1 MB Notification: Performance of Templates: time 0.0108/0.271, allocations: 5.613 MB / 377.6 MB, free: 23.54 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.makefile (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/TestCylinder/TestCylinder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches