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.001506/0.001506, allocations: 110.3 kB / 17.75 MB, free: 5.355 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.001719/0.001719, allocations: 185.4 kB / 18.68 MB, free: 4.434 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.399/1.399, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000968/0.000968, allocations: 47.92 kB / 352 MB, free: 3.289 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2077/0.2086, allocations: 49.43 MB / 401.4 MB, free: 8.762 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.004193/0.2129, allocations: 3.004 MB / 404.4 MB, free: 5.891 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002026/0.2149, allocations: 1.258 MB / 405.7 MB, free: 4.625 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002019/0.2151, allocations: 7.938 kB / 405.7 MB, free: 4.617 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004458/0.2156, allocations: 135.2 kB / 405.8 MB, free: 4.484 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004465/0.2161, allocations: 178.9 kB / 406 MB, free: 4.309 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004288/0.2165, allocations: 181.3 kB / 406.2 MB, free: 4.133 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004908/0.217, allocations: 434.1 kB / 406.6 MB, free: 3.707 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001949/0.2172, allocations: 111.5 kB / 406.7 MB, free: 3.598 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002358/0.2175, allocations: 179.3 kB / 406.9 MB, free: 3.422 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002514/0.2177, allocations: 183.2 kB / 407 MB, free: 3.242 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.891e-05/0.2178, allocations: 28 kB / 407.1 MB, free: 3.215 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001386/0.2179, allocations: 55.98 kB / 407.1 MB, free: 3.16 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.832e-05/0.218, allocations: 79.64 kB / 407.2 MB, free: 3.082 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001794/0.2182, allocations: 195 kB / 407.4 MB, free: 2.891 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004575/0.2187, allocations: 443.5 kB / 407.8 MB, free: 2.461 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.2187, allocations: 0 / 407.8 MB, free: 2.461 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.2187, allocations: 0 / 407.8 MB, free: 2.461 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.353e-05/0.2187, allocations: 0 / 407.8 MB, free: 2.461 MB / 318.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.0009778/0.2197, allocations: 0.6741 MB / 408.5 MB, free: 1.738 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.2197, allocations: 12.03 kB / 408.5 MB, free: 1.727 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.768e-05/0.2198, allocations: 40.47 kB / 408.5 MB, free: 1.688 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004093/0.2203, allocations: 327.8 kB / 408.9 MB, free: 1.332 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.486e-05/0.2203, allocations: 24.94 kB / 408.9 MB, free: 1.309 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.297e-05/0.2204, allocations: 32.11 kB / 408.9 MB, free: 1.277 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000487/0.2208, allocations: 287.1 kB / 409.2 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.952e-05/0.2209, allocations: 11.84 kB / 409.2 MB, free: 0.957 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.189e-05/0.2209, allocations: 11.98 kB / 409.2 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.099e-05/0.2209, allocations: 12 kB / 409.2 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003214/0.2213, allocations: 170.2 kB / 409.4 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001258/0.2225, allocations: 0.8327 MB / 410.2 MB, free: 15.87 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005308/0.2231, allocations: 274 kB / 410.5 MB, free: 15.6 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001679/0.2232, allocations: 97.39 kB / 410.6 MB, free: 15.5 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.19e-05/0.2233, allocations: 4.281 kB / 410.6 MB, free: 15.5 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002901/0.2236, allocations: 162.6 kB / 410.8 MB, free: 15.33 MB / 334.1 MB Notification: Performance of pre-optimization done (n=34): time 1.964e-06/0.2236, allocations: 4 kB / 410.8 MB, free: 15.32 MB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.002242/0.2258, allocations: 1.306 MB / 412.1 MB, free: 13.9 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.087e-05/0.2259, allocations: 187.9 kB / 412.3 MB, free: 13.68 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003242/0.2263, allocations: 324.6 kB / 412.6 MB, free: 13.34 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.233e-05/0.2263, allocations: 33.7 kB / 412.6 MB, free: 13.3 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001178/0.2264, allocations: 184.6 kB / 412.8 MB, free: 13.12 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001/0.2265, allocations: 142 kB / 412.9 MB, free: 12.98 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001077/0.2267, allocations: 74.12 kB / 413 MB, free: 12.9 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001155/0.2268, allocations: 350.7 kB / 413.3 MB, free: 12.55 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001731/0.227, allocations: 88.84 kB / 413.4 MB, free: 12.46 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002323/0.2272, allocations: 177.3 kB / 413.6 MB, free: 12.25 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003835/0.2276, allocations: 254.2 kB / 413.8 MB, free: 11.99 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.2276, allocations: 0 / 413.8 MB, free: 11.99 MB / 334.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.00055/0.2282, allocations: 358.2 kB / 414.2 MB, free: 11.63 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.2282, allocations: 4 kB / 414.2 MB, free: 11.63 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.2282, allocations: 0 / 414.2 MB, free: 11.63 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.507e-05/0.2283, allocations: 24.84 kB / 414.2 MB, free: 11.6 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003427/0.2286, allocations: 92.03 kB / 414.3 MB, free: 11.51 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00114/0.2298, allocations: 1.39 MB / 415.7 MB, free: 9.98 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002025/0.23, allocations: 20.02 kB / 415.7 MB, free: 9.961 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.074e-05/0.23, allocations: 8 kB / 415.7 MB, free: 9.953 MB / 334.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.0001848/0.2302, allocations: 166.2 kB / 415.9 MB, free: 9.781 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.048e-05/0.2303, allocations: 39.59 kB / 415.9 MB, free: 9.742 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.576e-05/0.2304, allocations: 47.88 kB / 416 MB, free: 9.695 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006188/0.231, allocations: 0.6651 MB / 416.6 MB, free: 8.926 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.155e-06/0.231, allocations: 0 / 416.6 MB, free: 8.926 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001372/0.2312, allocations: 136.6 kB / 416.8 MB, free: 8.773 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.056e-05/0.2312, allocations: 8 kB / 416.8 MB, free: 8.766 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001953/0.2314, allocations: 19.97 kB / 416.8 MB, free: 8.746 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.301e-05/0.2315, allocations: 23.97 kB / 416.8 MB, free: 8.723 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007672/0.2323, allocations: 408.6 kB / 417.2 MB, free: 8.316 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007727/0.233, allocations: 0.608 MB / 417.8 MB, free: 7.691 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001871/0.2332, allocations: 127.9 kB / 418 MB, free: 7.566 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002217/0.2335, allocations: 239 kB / 418.2 MB, free: 7.336 MB / 334.1 MB Notification: Performance of Backend: time 2e-07/0.2335, allocations: 0 / 418.2 MB, free: 7.336 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00163/0.2351, allocations: 0.6812 MB / 418.9 MB, free: 6.797 MB / 334.1 MB Notification: Performance of SimCode: time 0.001652/0.2368, allocations: 1.418 MB / 420.3 MB, free: 5.336 MB / 334.1 MB Notification: Performance of Templates: time 0.009904/0.2467, allocations: 5.462 MB / 425.8 MB, free: 15.93 MB / 350.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