Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001081/0.001081, allocations: 192.8 kB / 17.43 MB, free: 4.398 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.256/1.256, allocations: 229.5 MB / 247.7 MB, free: 6.328 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008088/0.0008085, allocations: 95.86 kB / 299.9 MB, free: 5.332 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002023/0.0002023, allocations: 4 kB / 360.6 MB, free: 8.473 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.193/0.1933, allocations: 51.42 MB / 412.1 MB, free: 25.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.002353/0.1957, allocations: 2.594 MB / 414.6 MB, free: 23.28 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001619/0.1973, allocations: 1.651 MB / 416.3 MB, free: 21.54 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001373/0.1975, allocations: 7.938 kB / 416.3 MB, free: 21.53 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003714/0.1978, allocations: 131.4 kB / 416.4 MB, free: 21.4 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003583/0.1982, allocations: 189.4 kB / 416.6 MB, free: 21.22 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003011/0.1985, allocations: 151.7 kB / 416.8 MB, free: 21.07 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002944/0.1988, allocations: 426.1 kB / 417.2 MB, free: 20.65 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000145/0.199, allocations: 95.09 kB / 417.3 MB, free: 20.56 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001311/0.1991, allocations: 155.3 kB / 417.4 MB, free: 20.41 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000156/0.1993, allocations: 183.1 kB / 417.6 MB, free: 20.23 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.402e-05/0.1993, allocations: 20 kB / 417.6 MB, free: 20.21 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.853e-05/0.1994, allocations: 40 kB / 417.7 MB, free: 20.17 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.912e-05/0.1995, allocations: 63.75 kB / 417.7 MB, free: 20.11 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000124/0.1996, allocations: 204.6 kB / 417.9 MB, free: 19.9 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002857/0.1999, allocations: 427.9 kB / 418.3 MB, free: 19.48 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1999, allocations: 4 kB / 418.3 MB, free: 19.48 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1999, allocations: 0 / 418.3 MB, free: 19.48 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.556e-06/0.2, allocations: 0 / 418.3 MB, free: 19.48 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.0006928/0.2007, allocations: 0.6168 MB / 419 MB, free: 18.81 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.008e-05/0.2007, allocations: 8.031 kB / 419 MB, free: 18.8 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.07e-05/0.2008, allocations: 40.47 kB / 419 MB, free: 18.76 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002755/0.201, allocations: 324.4 kB / 419.3 MB, free: 18.41 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.305e-05/0.2011, allocations: 20.94 kB / 419.3 MB, free: 18.38 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.147e-05/0.2011, allocations: 32.03 kB / 419.4 MB, free: 18.35 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003802/0.2015, allocations: 295.1 kB / 419.7 MB, free: 18.04 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.2015, allocations: 0 / 419.7 MB, free: 18.04 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.7e-05/0.2016, allocations: 12 kB / 419.7 MB, free: 18.03 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.2016, allocations: 8 kB / 419.7 MB, free: 18.02 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002598/0.2018, allocations: 178.1 kB / 419.9 MB, free: 17.85 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009903/0.2028, allocations: 0.8483 MB / 420.7 MB, free: 16.93 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004547/0.2033, allocations: 251.4 kB / 421 MB, free: 16.68 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001408/0.2035, allocations: 105.4 kB / 421.1 MB, free: 16.57 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.054e-05/0.2035, allocations: 8.281 kB / 421.1 MB, free: 16.56 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002878/0.2038, allocations: 153.9 kB / 421.2 MB, free: 16.4 MB / 298.7 MB Notification: Performance of pre-optimization done (n=34): time 1.853e-06/0.2038, allocations: 3.938 kB / 421.2 MB, free: 16.4 MB / 298.7 MB Notification: Performance of matching and sorting (n=40): time 0.001762/0.2056, allocations: 1.314 MB / 422.5 MB, free: 14.97 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.25e-05/0.2056, allocations: 187.9 kB / 422.7 MB, free: 14.75 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002426/0.2059, allocations: 328.6 kB / 423 MB, free: 14.42 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.262e-05/0.2059, allocations: 41.69 kB / 423.1 MB, free: 14.38 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.957e-05/0.206, allocations: 180.6 kB / 423.3 MB, free: 14.19 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.289e-05/0.2061, allocations: 141.9 kB / 423.4 MB, free: 14.05 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.376e-05/0.2061, allocations: 16 kB / 423.4 MB, free: 14.04 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.281e-05/0.2062, allocations: 346.8 kB / 423.7 MB, free: 13.69 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001457/0.2063, allocations: 84.84 kB / 423.8 MB, free: 13.61 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001813/0.2065, allocations: 181.2 kB / 424 MB, free: 13.39 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003075/0.2068, allocations: 246.2 kB / 424.2 MB, free: 13.14 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.2068, allocations: 0 / 424.2 MB, free: 13.14 MB / 298.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0004398/0.2073, allocations: 354.3 kB / 424.6 MB, free: 12.78 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.2073, allocations: 8 kB / 424.6 MB, free: 12.77 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.2073, allocations: 0 / 424.6 MB, free: 12.77 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.306e-05/0.2074, allocations: 20.86 kB / 424.6 MB, free: 12.75 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003222/0.2077, allocations: 91.83 kB / 424.7 MB, free: 12.66 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006527/0.2084, allocations: 1.284 MB / 426 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001703/0.2086, allocations: 23.88 kB / 426 MB, free: 11.22 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.068e-05/0.2086, allocations: 19.94 kB / 426 MB, free: 11.2 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.0001276/0.2087, allocations: 161.9 kB / 426.2 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.863e-05/0.2088, allocations: 39.62 kB / 426.2 MB, free: 11 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.665e-05/0.2088, allocations: 43.95 kB / 426.3 MB, free: 10.95 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.2088, allocations: 4 kB / 426.3 MB, free: 10.95 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.2089, allocations: 0 / 426.3 MB, free: 10.95 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004127/0.2093, allocations: 0.6611 MB / 426.9 MB, free: 10.18 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008339/0.2101, allocations: 0.8378 MB / 427.8 MB, free: 9.273 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.2101, allocations: 3.938 kB / 427.8 MB, free: 9.27 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002906/0.2104, allocations: 79.97 kB / 427.9 MB, free: 9.191 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.2104, allocations: 4 kB / 427.9 MB, free: 9.188 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.113e-05/0.2105, allocations: 11.98 kB / 427.9 MB, free: 9.176 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.2105, allocations: 4 kB / 427.9 MB, free: 9.172 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.2105, allocations: 0 / 427.9 MB, free: 9.172 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005635/0.2111, allocations: 0.5491 MB / 428.4 MB, free: 8.594 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.688e-05/0.2112, allocations: 140.6 kB / 428.6 MB, free: 8.438 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.642e-05/0.2112, allocations: 16 kB / 428.6 MB, free: 8.422 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002091/0.2114, allocations: 23.92 kB / 428.6 MB, free: 8.398 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.323e-05/0.2115, allocations: 23.97 kB / 428.6 MB, free: 8.375 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.554e-05/0.2115, allocations: 12 kB / 428.6 MB, free: 8.363 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001793/0.2117, allocations: 243 kB / 428.9 MB, free: 8.129 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.11e-07/0.2117, allocations: 0 / 428.9 MB, free: 8.129 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003346/0.2121, allocations: 96.56 kB / 429 MB, free: 8.035 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.0008128/0.2129, allocations: 489.3 kB / 429.5 MB, free: 7.68 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004851/0.2134, allocations: 362.3 kB / 429.8 MB, free: 7.312 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.2134, allocations: 0 / 429.8 MB, free: 7.312 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000178/0.2136, allocations: 131.8 kB / 429.9 MB, free: 7.184 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005286/0.2141, allocations: 93.48 kB / 430 MB, free: 7.094 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001261/0.2154, allocations: 1.283 MB / 431.3 MB, free: 5.766 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001632/0.2156, allocations: 0.804 MB / 432.1 MB, free: 4.938 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001677/0.2157, allocations: 51.23 kB / 432.2 MB, free: 4.887 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.248e-05/0.2158, allocations: 31.44 kB / 432.2 MB, free: 4.855 MB / 298.7 MB Notification: Performance of SimCode: time 8.62e-07/0.2158, allocations: 0 / 432.2 MB, free: 4.855 MB / 298.7 MB Notification: Performance of Templates: time 0.007578/0.2234, allocations: 4.978 MB / 437.2 MB, free: 15.91 MB / 314.7 MB make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.makefile (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches