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.001053/0.001053, allocations: 107 kB / 17.74 MB, free: 5.312 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.0009971/0.0009971, allocations: 194.5 kB / 18.68 MB, free: 4.387 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.3/1.3, allocations: 222.9 MB / 242.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000966/0.000966, allocations: 47.92 kB / 352 MB, free: 3.238 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2042/0.2052, allocations: 49.43 MB / 401.4 MB, free: 8.734 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.004102/0.2093, allocations: 3.01 MB / 404.4 MB, free: 5.844 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001944/0.2113, allocations: 1.254 MB / 405.7 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001681/0.2115, allocations: 7.938 kB / 405.7 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004285/0.2119, allocations: 147.2 kB / 405.8 MB, free: 4.43 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004267/0.2123, allocations: 178.9 kB / 406 MB, free: 4.254 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000414/0.2128, allocations: 179.5 kB / 406.2 MB, free: 4.078 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000465/0.2132, allocations: 426.1 kB / 406.6 MB, free: 3.66 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001926/0.2134, allocations: 111.4 kB / 406.7 MB, free: 3.551 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002178/0.2137, allocations: 175.3 kB / 406.9 MB, free: 3.379 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002399/0.2139, allocations: 179.2 kB / 407 MB, free: 3.203 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.696e-05/0.214, allocations: 28 kB / 407.1 MB, free: 3.176 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001375/0.2141, allocations: 67.97 kB / 407.1 MB, free: 3.109 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.394e-05/0.2142, allocations: 83.62 kB / 407.2 MB, free: 3.027 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001729/0.2144, allocations: 187 kB / 407.4 MB, free: 2.844 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004831/0.2149, allocations: 445.9 kB / 407.8 MB, free: 2.41 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.297e-06/0.2149, allocations: 0 / 407.8 MB, free: 2.41 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.2149, allocations: 0 / 407.8 MB, free: 2.41 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.847e-06/0.2149, allocations: 0 / 407.8 MB, free: 2.41 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.0009628/0.2159, allocations: 0.6942 MB / 408.5 MB, free: 1.664 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.227e-05/0.2159, allocations: 8.031 kB / 408.5 MB, free: 1.656 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.547e-05/0.216, allocations: 52.64 kB / 408.6 MB, free: 1.605 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003986/0.2164, allocations: 316.1 kB / 408.9 MB, free: 1.262 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.905e-05/0.2165, allocations: 20.94 kB / 408.9 MB, free: 1.242 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.345e-05/0.2165, allocations: 32.08 kB / 408.9 MB, free: 1.211 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000464/0.217, allocations: 295.1 kB / 409.2 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/0.217, allocations: 4 kB / 409.2 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.665e-05/0.2171, allocations: 8 kB / 409.2 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.2171, allocations: 8 kB / 409.3 MB, free: 0.875 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003335/0.2174, allocations: 174.1 kB / 409.4 MB, free: 0.707 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001243/0.2187, allocations: 0.8407 MB / 410.3 MB, free: 15.8 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005141/0.2192, allocations: 259.1 kB / 410.5 MB, free: 15.54 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001739/0.2194, allocations: 105.4 kB / 410.6 MB, free: 15.43 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.058e-05/0.2194, allocations: 4.281 kB / 410.6 MB, free: 15.43 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002798/0.2197, allocations: 166.6 kB / 410.8 MB, free: 15.26 MB / 334.1 MB Notification: Performance of pre-optimization done (n=34): time 2.064e-06/0.2197, allocations: 0 / 410.8 MB, free: 15.26 MB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.002217/0.2219, allocations: 1.314 MB / 412.1 MB, free: 13.83 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.137e-05/0.222, allocations: 183.9 kB / 412.3 MB, free: 13.61 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003223/0.2224, allocations: 328.5 kB / 412.6 MB, free: 13.27 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.015e-05/0.2224, allocations: 33.7 kB / 412.6 MB, free: 13.23 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001252/0.2225, allocations: 192.7 kB / 412.8 MB, free: 13.04 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001035/0.2226, allocations: 146.8 kB / 413 MB, free: 12.89 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001011/0.2227, allocations: 70.14 kB / 413 MB, free: 12.82 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.2229, allocations: 350.7 kB / 413.4 MB, free: 12.47 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001828/0.2231, allocations: 88.83 kB / 413.5 MB, free: 12.38 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002438/0.2233, allocations: 181.3 kB / 413.6 MB, free: 12.17 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003835/0.2237, allocations: 242.2 kB / 413.9 MB, free: 11.92 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.2237, allocations: 0 / 413.9 MB, free: 11.92 MB / 334.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005599/0.2243, allocations: 370.4 kB / 414.2 MB, free: 11.55 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.2243, allocations: 4 kB / 414.2 MB, free: 11.54 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.2243, allocations: 0 / 414.2 MB, free: 11.54 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.802e-05/0.2244, allocations: 20.84 kB / 414.3 MB, free: 11.52 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003411/0.2247, allocations: 87.89 kB / 414.3 MB, free: 11.43 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001021/0.2258, allocations: 1.39 MB / 415.7 MB, free: 9.902 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001956/0.226, allocations: 20.17 kB / 415.8 MB, free: 9.883 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.271e-05/0.226, allocations: 19.94 kB / 415.8 MB, free: 9.863 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.0001648/0.2262, allocations: 174.2 kB / 415.9 MB, free: 9.684 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.186e-05/0.2263, allocations: 39.77 kB / 416 MB, free: 9.645 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.96e-05/0.2263, allocations: 39.88 kB / 416 MB, free: 9.605 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006065/0.2269, allocations: 0.6611 MB / 416.7 MB, free: 8.84 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.227, allocations: 0 / 416.7 MB, free: 8.84 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001359/0.2271, allocations: 140.8 kB / 416.8 MB, free: 8.684 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.562e-05/0.2272, allocations: 4 kB / 416.8 MB, free: 8.68 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001889/0.2274, allocations: 27.97 kB / 416.9 MB, free: 8.652 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.305e-05/0.2274, allocations: 23.97 kB / 416.9 MB, free: 8.629 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007562/0.2282, allocations: 408.6 kB / 417.3 MB, free: 8.223 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007609/0.2289, allocations: 0.6083 MB / 417.9 MB, free: 7.598 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001986/0.2292, allocations: 127.9 kB / 418 MB, free: 7.473 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002264/0.2294, allocations: 231.1 kB / 418.2 MB, free: 7.25 MB / 334.1 MB Notification: Performance of Backend: time 3.71e-07/0.2294, allocations: 3.938 kB / 418.2 MB, free: 7.246 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001548/0.231, allocations: 0.68 MB / 418.9 MB, free: 6.707 MB / 334.1 MB Notification: Performance of SimCode: time 0.001544/0.2325, allocations: 1.425 MB / 420.3 MB, free: 5.234 MB / 334.1 MB Notification: Performance of Templates: time 0.009861/0.2424, allocations: 5.465 MB / 425.8 MB, free: 15.84 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