Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002032/0.002032, allocations: 180 kB / 17.36 MB, free: 4.445 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.522/1.522, allocations: 205.6 MB / 223.7 MB, free: 8.934 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007302/0.0007302, allocations: 102.3 kB / 272.1 MB, free: 8.121 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002772/0.000277, allocations: 4 kB / 329 MB, free: 15.07 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2522/0.2525, allocations: 47.59 MB / 376.6 MB, free: 45.57 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.002631/0.2552, allocations: 2.552 MB / 379.2 MB, free: 43.57 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00144/0.2566, allocations: 1.152 MB / 380.3 MB, free: 42.62 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001441/0.2568, allocations: 7.719 kB / 380.3 MB, free: 42.62 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004467/0.2573, allocations: 147.2 kB / 380.5 MB, free: 42.53 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003419/0.2576, allocations: 159.8 kB / 380.6 MB, free: 42.41 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002948/0.2579, allocations: 125.4 kB / 380.7 MB, free: 42.32 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003718/0.2583, allocations: 425.6 kB / 381.1 MB, free: 42.08 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001717/0.2585, allocations: 93.86 kB / 381.2 MB, free: 42.04 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001632/0.2586, allocations: 160.9 kB / 381.4 MB, free: 41.95 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001942/0.2589, allocations: 177 kB / 381.6 MB, free: 41.85 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.362e-05/0.2589, allocations: 16.84 kB / 381.6 MB, free: 41.85 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001298/0.259, allocations: 52.64 kB / 381.6 MB, free: 41.84 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.108e-05/0.2591, allocations: 83.95 kB / 381.7 MB, free: 41.77 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001803/0.2593, allocations: 203.3 kB / 381.9 MB, free: 41.62 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004221/0.2597, allocations: 431.8 kB / 382.3 MB, free: 41.32 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.855e-06/0.2598, allocations: 1.156 kB / 382.3 MB, free: 41.32 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.315e-06/0.2598, allocations: 3.938 kB / 382.3 MB, free: 41.32 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.2598, allocations: 0 / 382.3 MB, free: 41.32 MB / 298.7 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.0008282/0.2606, allocations: 0.6221 MB / 383 MB, free: 40.75 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.2607, allocations: 9.312 kB / 383 MB, free: 40.75 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.726e-05/0.2607, allocations: 43.41 kB / 383 MB, free: 40.73 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000323/0.2611, allocations: 320 kB / 383.3 MB, free: 40.42 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.753e-05/0.2611, allocations: 19.22 kB / 383.4 MB, free: 40.41 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.659e-05/0.2612, allocations: 28.41 kB / 383.4 MB, free: 40.4 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004188/0.2616, allocations: 290.1 kB / 383.7 MB, free: 40.2 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.707e-05/0.2616, allocations: 9.719 kB / 383.7 MB, free: 40.19 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.816e-05/0.2617, allocations: 11 kB / 383.7 MB, free: 40.18 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.718e-06/0.2617, allocations: 10.16 kB / 383.7 MB, free: 40.18 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002905/0.262, allocations: 175.6 kB / 383.9 MB, free: 40.09 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001057/0.263, allocations: 0.8578 MB / 384.7 MB, free: 39.38 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000471/0.2635, allocations: 252.1 kB / 385 MB, free: 39.25 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001525/0.2637, allocations: 99.06 kB / 385.1 MB, free: 39.2 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.073e-05/0.2637, allocations: 4.656 kB / 385.1 MB, free: 39.2 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002978/0.264, allocations: 168.6 kB / 385.2 MB, free: 39.08 MB / 298.7 MB Notification: Performance of pre-optimization done (n=34): time 1.623e-06/0.264, allocations: 0 / 385.2 MB, free: 39.08 MB / 298.7 MB Notification: Performance of matching and sorting (n=40): time 0.001946/0.266, allocations: 1.313 MB / 386.5 MB, free: 38.11 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.254e-05/0.266, allocations: 183.7 kB / 386.7 MB, free: 37.89 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003504/0.2664, allocations: 353 kB / 387.1 MB, free: 37.62 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.423e-05/0.2664, allocations: 37.7 kB / 387.1 MB, free: 37.58 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.773e-05/0.2665, allocations: 180.6 kB / 387.3 MB, free: 37.4 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.922e-05/0.2666, allocations: 142 kB / 387.4 MB, free: 37.26 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.412e-05/0.2666, allocations: 8 kB / 387.4 MB, free: 37.25 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.035e-05/0.2667, allocations: 350.8 kB / 387.8 MB, free: 36.9 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001458/0.2668, allocations: 92.77 kB / 387.9 MB, free: 36.81 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001803/0.267, allocations: 177.3 kB / 388 MB, free: 36.6 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003066/0.2673, allocations: 242.2 kB / 388.3 MB, free: 36.35 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.2674, allocations: 0 / 388.3 MB, free: 36.35 MB / 298.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0004428/0.2678, allocations: 354.2 kB / 388.6 MB, free: 36 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.2678, allocations: 8.125 kB / 388.6 MB, free: 35.99 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.2678, allocations: 7.984 kB / 388.6 MB, free: 35.98 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.825e-05/0.2679, allocations: 20.84 kB / 388.7 MB, free: 35.96 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003028/0.2682, allocations: 91.89 kB / 388.7 MB, free: 35.87 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007418/0.269, allocations: 1.281 MB / 390 MB, free: 34.46 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001688/0.2692, allocations: 23.98 kB / 390 MB, free: 34.43 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.095e-05/0.2692, allocations: 19.94 kB / 390.1 MB, free: 34.41 MB / 298.7 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 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled) * 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.000139/0.2693, allocations: 173.7 kB / 390.2 MB, free: 34.23 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.14e-05/0.2694, allocations: 35.62 kB / 390.3 MB, free: 34.2 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.112e-05/0.2695, allocations: 48.05 kB / 390.3 MB, free: 34.14 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-06/0.2695, allocations: 4 kB / 390.3 MB, free: 34.14 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.2695, allocations: 0 / 390.3 MB, free: 34.14 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004341/0.2699, allocations: 0.6531 MB / 391 MB, free: 33.38 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008617/0.2708, allocations: 0.8639 MB / 391.8 MB, free: 32.45 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.2708, allocations: 7.938 kB / 391.8 MB, free: 32.44 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002882/0.2711, allocations: 71.91 kB / 391.9 MB, free: 32.37 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.2711, allocations: 3.938 kB / 391.9 MB, free: 32.37 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.052e-05/0.2711, allocations: 12 kB / 391.9 MB, free: 32.36 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.2712, allocations: 4 kB / 391.9 MB, free: 32.35 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.2712, allocations: 0 / 391.9 MB, free: 32.35 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000556/0.2717, allocations: 0.5497 MB / 392.5 MB, free: 31.77 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001002/0.2718, allocations: 140.6 kB / 392.6 MB, free: 31.62 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.507e-05/0.2719, allocations: 11.98 kB / 392.6 MB, free: 31.61 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002084/0.2721, allocations: 19.94 kB / 392.7 MB, free: 31.59 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.745e-05/0.2722, allocations: 23.97 kB / 392.7 MB, free: 31.56 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.751e-05/0.2722, allocations: 19.98 kB / 392.7 MB, free: 31.54 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001842/0.2724, allocations: 251 kB / 392.9 MB, free: 31.3 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2724, allocations: 0 / 392.9 MB, free: 31.3 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003558/0.2728, allocations: 96.62 kB / 393 MB, free: 31.21 MB / 298.7 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.0008662/0.2736, allocations: 490.1 kB / 393.5 MB, free: 30.84 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005373/0.2742, allocations: 366.8 kB / 393.9 MB, free: 30.46 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.2742, allocations: 3.938 kB / 393.9 MB, free: 30.46 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000183/0.2744, allocations: 135.8 kB / 394 MB, free: 30.33 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005536/0.2749, allocations: 93.69 kB / 394.1 MB, free: 30.24 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001306/0.2763, allocations: 1.295 MB / 395.4 MB, free: 28.9 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001889/0.2765, allocations: 0.8002 MB / 396.2 MB, free: 28.07 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002122/0.2767, allocations: 47.25 kB / 396.2 MB, free: 28.03 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.776e-05/0.2768, allocations: 39.44 kB / 396.3 MB, free: 27.99 MB / 298.7 MB Notification: Performance of SimCode: time 2.2e-07/0.2768, allocations: 0 / 396.3 MB, free: 27.99 MB / 298.7 MB Notification: Performance of Templates: time 0.007984/0.2848, allocations: 4.942 MB / 401.2 MB, free: 23.04 MB / 298.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/TestCylinder/TestCylinder.csv","../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches