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.001466/0.001466, allocations: 108.4 kB / 18.34 MB, free: 4.676 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.001651/0.001652, allocations: 186.9 kB / 19.28 MB, free: 3.75 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.299/1.299, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.001264/0.001264, allocations: 51.92 kB / 282.1 MB, free: 2.465 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08317/0.08445, allocations: 46.63 MB / 328.7 MB, free: 3.762 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.003859/0.08833, allocations: 2.991 MB / 331.7 MB, free: 0.7461 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001927/0.09028, allocations: 1.185 MB / 332.9 MB, free: 15.55 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001889/0.09049, allocations: 7.938 kB / 332.9 MB, free: 15.54 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004623/0.09098, allocations: 167.2 kB / 333.1 MB, free: 15.38 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004235/0.09142, allocations: 186.9 kB / 333.2 MB, free: 15.2 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004162/0.09185, allocations: 147.6 kB / 333.4 MB, free: 15.05 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004187/0.09228, allocations: 434.2 kB / 333.8 MB, free: 14.62 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001709/0.09246, allocations: 103.5 kB / 333.9 MB, free: 14.53 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001744/0.09264, allocations: 171.3 kB / 334.1 MB, free: 14.36 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002204/0.09287, allocations: 199.2 kB / 334.3 MB, free: 14.16 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.525e-05/0.09292, allocations: 28 kB / 334.3 MB, free: 14.14 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001283/0.09306, allocations: 75.91 kB / 334.4 MB, free: 14.06 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.571e-05/0.09316, allocations: 83.69 kB / 334.5 MB, free: 13.98 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001708/0.09334, allocations: 187 kB / 334.6 MB, free: 13.8 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004299/0.09377, allocations: 466.3 kB / 335.1 MB, free: 13.34 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.768e-06/0.09379, allocations: 0 / 335.1 MB, free: 13.34 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.0938, allocations: 0 / 335.1 MB, free: 13.34 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.368e-05/0.09381, allocations: 0 / 335.1 MB, free: 13.34 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.0009616/0.09478, allocations: 0.6906 MB / 335.8 MB, free: 12.59 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.117e-05/0.09482, allocations: 8.031 kB / 335.8 MB, free: 12.59 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.156e-05/0.09491, allocations: 48.45 kB / 335.8 MB, free: 12.54 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004162/0.09533, allocations: 316.5 kB / 336.1 MB, free: 12.19 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.924e-05/0.09536, allocations: 20.94 kB / 336.2 MB, free: 12.17 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.537e-05/0.09542, allocations: 32.03 kB / 336.2 MB, free: 12.14 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004515/0.09588, allocations: 299.1 kB / 336.5 MB, free: 11.83 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.576e-05/0.0959, allocations: 0 / 336.5 MB, free: 11.83 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.783e-05/0.09593, allocations: 12 kB / 336.5 MB, free: 11.82 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.09595, allocations: 8 kB / 336.5 MB, free: 11.81 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003124/0.09627, allocations: 174.1 kB / 336.7 MB, free: 11.64 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001226/0.0975, allocations: 0.8443 MB / 337.5 MB, free: 10.73 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005074/0.09802, allocations: 264 kB / 337.8 MB, free: 10.46 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001683/0.0982, allocations: 109.4 kB / 337.9 MB, free: 10.36 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.1e-05/0.09824, allocations: 4.281 kB / 337.9 MB, free: 10.35 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002711/0.09852, allocations: 157 kB / 338 MB, free: 10.19 MB / 286.1 MB Notification: Performance of pre-optimization done (n=34): time 1.713e-06/0.09853, allocations: 0 / 338 MB, free: 10.19 MB / 286.1 MB Notification: Performance of matching and sorting (n=40): time 0.002211/0.1007, allocations: 1.32 MB / 339.4 MB, free: 8.754 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001092/0.1009, allocations: 183.9 kB / 339.5 MB, free: 8.531 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003602/0.1012, allocations: 364.4 kB / 339.9 MB, free: 8.16 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.087e-05/0.1013, allocations: 33.7 kB / 339.9 MB, free: 8.121 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001341/0.1014, allocations: 192.5 kB / 340.1 MB, free: 7.93 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.477e-05/0.1015, allocations: 138.1 kB / 340.3 MB, free: 7.793 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001076/0.1016, allocations: 74.05 kB / 340.3 MB, free: 7.715 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.1018, allocations: 350.8 kB / 340.7 MB, free: 7.363 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002043/0.102, allocations: 88.83 kB / 340.8 MB, free: 7.277 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002397/0.1022, allocations: 181.3 kB / 340.9 MB, free: 7.062 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003762/0.1026, allocations: 246.2 kB / 341.2 MB, free: 6.809 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.1026, allocations: 0 / 341.2 MB, free: 6.809 MB / 286.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005423/0.1032, allocations: 358.2 kB / 341.5 MB, free: 6.449 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.1032, allocations: 7.984 kB / 341.5 MB, free: 6.441 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.1032, allocations: 3.938 kB / 341.5 MB, free: 6.438 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.099e-05/0.1033, allocations: 20.86 kB / 341.6 MB, free: 6.414 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003367/0.1037, allocations: 91.89 kB / 341.6 MB, free: 6.324 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001122/0.1048, allocations: 1.394 MB / 343 MB, free: 4.793 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001788/0.105, allocations: 19.97 kB / 343.1 MB, free: 4.773 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.278e-05/0.105, allocations: 12.16 kB / 343.1 MB, free: 4.762 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.0001851/0.1052, allocations: 177.7 kB / 343.2 MB, free: 4.578 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.45e-05/0.1053, allocations: 39.53 kB / 343.3 MB, free: 4.539 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.582e-05/0.1054, allocations: 43.95 kB / 343.3 MB, free: 4.492 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.1054, allocations: 4 kB / 343.3 MB, free: 4.488 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.1054, allocations: 8 kB / 343.3 MB, free: 4.48 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006481/0.106, allocations: 0.6609 MB / 344 MB, free: 3.715 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001131/0.1072, allocations: 0.8414 MB / 344.8 MB, free: 2.801 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.1072, allocations: 0 / 344.8 MB, free: 2.801 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003158/0.1075, allocations: 75.91 kB / 344.9 MB, free: 2.727 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.592e-06/0.1075, allocations: 7.984 kB / 344.9 MB, free: 2.719 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.914e-05/0.1076, allocations: 11.98 kB / 344.9 MB, free: 2.707 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.037e-06/0.1076, allocations: 4 kB / 344.9 MB, free: 2.703 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.1076, allocations: 128 / 344.9 MB, free: 2.703 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007634/0.1084, allocations: 0.5584 MB / 345.5 MB, free: 2.117 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001458/0.1085, allocations: 128.8 kB / 345.6 MB, free: 1.973 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.788e-05/0.1086, allocations: 12 kB / 345.6 MB, free: 1.961 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002206/0.1088, allocations: 16 kB / 345.7 MB, free: 1.945 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.981e-05/0.1089, allocations: 27.95 kB / 345.7 MB, free: 1.918 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.688e-05/0.1089, allocations: 15.94 kB / 345.7 MB, free: 1.902 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002291/0.1091, allocations: 255 kB / 345.9 MB, free: 1.656 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1091, allocations: 0 / 345.9 MB, free: 1.656 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003695/0.1095, allocations: 99.94 kB / 346 MB, free: 1.559 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.0009239/0.1104, allocations: 422.1 kB / 346.5 MB, free: 1.152 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0006145/0.1111, allocations: 374.3 kB / 346.8 MB, free: 0.7734 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.1111, allocations: 0 / 346.8 MB, free: 0.7734 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002123/0.1113, allocations: 131.8 kB / 346.9 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005412/0.1119, allocations: 93.77 kB / 347 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001509/0.1134, allocations: 1.034 MB / 348.1 MB, free: 15.48 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000333/0.1137, allocations: 0.804 MB / 348.9 MB, free: 14.65 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001534/0.1139, allocations: 51.23 kB / 348.9 MB, free: 14.6 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.805e-05/0.114, allocations: 39.38 kB / 349 MB, free: 14.56 MB / 302.1 MB Notification: Performance of SimCode: time 3e-07/0.114, allocations: 0 / 349 MB, free: 14.56 MB / 302.1 MB Notification: Performance of Templates: time 0.009519/0.1235, allocations: 5.234 MB / 354.2 MB, free: 9.32 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 -s cvode -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