Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001274/0.001275, allocations: 182.2 kB / 16.71 MB, free: 4.969 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.287/1.287, allocations: 225.7 MB / 243.2 MB, free: 10.18 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007207/0.0007207, allocations: 87.25 kB / 294.4 MB, free: 9.715 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002934/0.0002936, allocations: 11.92 kB / 354.2 MB, free: 13.84 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.197/0.1973, allocations: 50.4 MB / 404.6 MB, free: 31.34 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.002208/0.1995, allocations: 2.57 MB / 407.1 MB, free: 28.75 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001247/0.2008, allocations: 1.194 MB / 408.3 MB, free: 27.54 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001163/0.2009, allocations: 8.594 kB / 408.3 MB, free: 27.53 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003328/0.2013, allocations: 129.6 kB / 408.5 MB, free: 27.41 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002706/0.2015, allocations: 153.9 kB / 408.6 MB, free: 27.26 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002969/0.2018, allocations: 143.7 kB / 408.8 MB, free: 27.12 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002997/0.2022, allocations: 414 kB / 409.2 MB, free: 26.71 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00014/0.2023, allocations: 90.05 kB / 409.3 MB, free: 26.62 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001326/0.2024, allocations: 163.2 kB / 409.4 MB, free: 26.46 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001521/0.2026, allocations: 171.2 kB / 409.6 MB, free: 26.3 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.469e-05/0.2026, allocations: 16 kB / 409.6 MB, free: 26.28 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.291e-05/0.2027, allocations: 39.98 kB / 409.6 MB, free: 26.24 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.723e-05/0.2028, allocations: 75.62 kB / 409.7 MB, free: 26.17 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001181/0.2029, allocations: 196.8 kB / 409.9 MB, free: 25.97 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002664/0.2032, allocations: 427.9 kB / 410.3 MB, free: 25.55 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.2032, allocations: 0 / 410.3 MB, free: 25.55 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.2032, allocations: 0 / 410.3 MB, free: 25.55 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.942e-06/0.2032, allocations: 7.938 kB / 410.3 MB, free: 25.54 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.0006497/0.2039, allocations: 0.6052 MB / 410.9 MB, free: 24.89 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.807e-05/0.2039, allocations: 8.031 kB / 410.9 MB, free: 24.88 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.91e-05/0.204, allocations: 48.38 kB / 411 MB, free: 24.84 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002627/0.2043, allocations: 323.8 kB / 411.3 MB, free: 24.48 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.037e-05/0.2043, allocations: 16.94 kB / 411.3 MB, free: 24.46 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.937e-05/0.2043, allocations: 28.12 kB / 411.3 MB, free: 24.44 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003743/0.2047, allocations: 295.1 kB / 411.6 MB, free: 24.13 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.2048, allocations: 0 / 411.6 MB, free: 24.13 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.682e-05/0.2048, allocations: 12 kB / 411.6 MB, free: 24.12 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.2048, allocations: 8 kB / 411.7 MB, free: 24.11 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000256/0.2051, allocations: 178.1 kB / 411.8 MB, free: 23.93 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009485/0.206, allocations: 0.8483 MB / 412.7 MB, free: 23.02 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000417/0.2064, allocations: 252 kB / 412.9 MB, free: 22.77 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001375/0.2066, allocations: 105.3 kB / 413 MB, free: 22.66 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.882e-05/0.2066, allocations: 8.266 kB / 413 MB, free: 22.66 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002552/0.2069, allocations: 161.8 kB / 413.2 MB, free: 22.49 MB / 298.7 MB Notification: Performance of pre-optimization done (n=34): time 1.573e-06/0.2069, allocations: 0 / 413.2 MB, free: 22.49 MB / 298.7 MB Notification: Performance of matching and sorting (n=40): time 0.0017/0.2086, allocations: 1.306 MB / 414.5 MB, free: 21.07 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.187e-05/0.2087, allocations: 187.9 kB / 414.7 MB, free: 20.84 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000237/0.2089, allocations: 324.5 kB / 415 MB, free: 20.51 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.173e-05/0.2089, allocations: 33.7 kB / 415 MB, free: 20.47 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.445e-05/0.209, allocations: 180.6 kB / 415.2 MB, free: 20.29 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.327e-05/0.2091, allocations: 141.9 kB / 415.3 MB, free: 20.15 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.438e-05/0.2091, allocations: 8 kB / 415.4 MB, free: 20.14 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.507e-05/0.2092, allocations: 354.8 kB / 415.7 MB, free: 19.79 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001419/0.2093, allocations: 80.84 kB / 415.8 MB, free: 19.71 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001768/0.2095, allocations: 181.2 kB / 416 MB, free: 19.5 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003192/0.2098, allocations: 246.2 kB / 416.2 MB, free: 19.24 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.2098, allocations: 0 / 416.2 MB, free: 19.24 MB / 298.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0004345/0.2103, allocations: 354.2 kB / 416.5 MB, free: 18.89 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.2103, allocations: 8.125 kB / 416.6 MB, free: 18.88 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.2103, allocations: 4 kB / 416.6 MB, free: 18.88 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.49e-05/0.2104, allocations: 16.86 kB / 416.6 MB, free: 18.86 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002976/0.2107, allocations: 91.89 kB / 416.7 MB, free: 18.77 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006351/0.2113, allocations: 1.284 MB / 417.9 MB, free: 17.35 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001674/0.2115, allocations: 12 kB / 418 MB, free: 17.34 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.926e-05/0.2115, allocations: 19.94 kB / 418 MB, free: 17.32 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.000128/0.2117, allocations: 162.6 kB / 418.1 MB, free: 17.15 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.864e-05/0.2117, allocations: 39.53 kB / 418.2 MB, free: 17.11 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.229e-05/0.2118, allocations: 55.84 kB / 418.2 MB, free: 17.05 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.2118, allocations: 4.062 kB / 418.2 MB, free: 17.05 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.394e-06/0.2118, allocations: 4 kB / 418.2 MB, free: 17.05 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004143/0.2122, allocations: 0.6611 MB / 418.9 MB, free: 16.28 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008251/0.2131, allocations: 0.8331 MB / 419.7 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.798e-06/0.2131, allocations: 11.86 kB / 419.7 MB, free: 15.37 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002876/0.2134, allocations: 75.91 kB / 419.8 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.2134, allocations: 4 kB / 419.8 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.932e-05/0.2134, allocations: 11.94 kB / 419.8 MB, free: 15.28 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.2134, allocations: 4 kB / 419.8 MB, free: 15.27 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.2134, allocations: 0 / 419.8 MB, free: 15.27 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005561/0.214, allocations: 0.5412 MB / 420.4 MB, free: 14.7 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.336e-05/0.2141, allocations: 140.7 kB / 420.5 MB, free: 14.55 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.482e-05/0.2141, allocations: 11.98 kB / 420.5 MB, free: 14.54 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002057/0.2144, allocations: 24 kB / 420.5 MB, free: 14.51 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.406e-05/0.2144, allocations: 23.97 kB / 420.6 MB, free: 14.49 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.405e-05/0.2144, allocations: 11.98 kB / 420.6 MB, free: 14.48 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001568/0.2146, allocations: 235.1 kB / 420.8 MB, free: 14.25 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.2146, allocations: 0 / 420.8 MB, free: 14.25 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003216/0.2149, allocations: 88 kB / 420.9 MB, free: 14.16 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.0007826/0.2157, allocations: 500 kB / 421.4 MB, free: 13.8 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004748/0.2162, allocations: 366.4 kB / 421.7 MB, free: 13.43 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.2162, allocations: 3.938 kB / 421.8 MB, free: 13.43 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001755/0.2164, allocations: 137 kB / 421.9 MB, free: 13.3 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005182/0.2169, allocations: 93.42 kB / 422 MB, free: 13.21 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001206/0.2181, allocations: 1.264 MB / 423.2 MB, free: 11.9 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001619/0.2183, allocations: 0.8002 MB / 424 MB, free: 11.07 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001525/0.2185, allocations: 51.25 kB / 424.1 MB, free: 11.03 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.907e-05/0.2186, allocations: 35.38 kB / 424.1 MB, free: 10.99 MB / 298.7 MB Notification: Performance of SimCode: time 2.41e-07/0.2186, allocations: 0 / 424.1 MB, free: 10.99 MB / 298.7 MB Notification: Performance of Templates: time 0.007383/0.2259, allocations: 4.926 MB / 429 MB, free: 6.094 MB / 298.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/TestCylinder/TestCylinder.csv","../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches