Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001106/0.001106, allocations: 113.2 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001163/0.001163, allocations: 210.7 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.336/1.336, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 63.89 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2075/0.2088, allocations: 50.55 MB / 409.9 MB, free: 1.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.00403/0.2128, allocations: 3.018 MB / 412.9 MB, free: 14.53 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00216/0.215, allocations: 1.402 MB / 414.3 MB, free: 13.12 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001812/0.2152, allocations: 7.938 kB / 414.4 MB, free: 13.12 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004317/0.2157, allocations: 147.2 kB / 414.5 MB, free: 12.97 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005204/0.2162, allocations: 210.7 kB / 414.7 MB, free: 12.77 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003398/0.2166, allocations: 143.5 kB / 414.8 MB, free: 12.62 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004829/0.2171, allocations: 434.2 kB / 415.3 MB, free: 12.2 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001937/0.2173, allocations: 119.8 kB / 415.4 MB, free: 12.08 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002308/0.2175, allocations: 175.3 kB / 415.6 MB, free: 11.91 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002438/0.2178, allocations: 199.1 kB / 415.7 MB, free: 11.71 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.454e-05/0.2178, allocations: 32 kB / 415.8 MB, free: 11.68 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001301/0.218, allocations: 55.92 kB / 415.8 MB, free: 11.63 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.375e-05/0.2181, allocations: 83.69 kB / 415.9 MB, free: 11.55 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001766/0.2182, allocations: 190.9 kB / 416.1 MB, free: 11.36 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004505/0.2187, allocations: 451.6 kB / 416.5 MB, free: 10.92 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.2187, allocations: 0 / 416.5 MB, free: 10.92 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.2187, allocations: 0 / 416.5 MB, free: 10.92 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.221e-06/0.2187, allocations: 0 / 416.5 MB, free: 10.92 MB / 334.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.0009603/0.2197, allocations: 0.6867 MB / 417.2 MB, free: 10.18 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.2197, allocations: 12.03 kB / 417.2 MB, free: 10.17 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.201e-05/0.2198, allocations: 40.47 kB / 417.3 MB, free: 10.13 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004042/0.2203, allocations: 320.5 kB / 417.6 MB, free: 9.781 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.056e-05/0.2203, allocations: 20.92 kB / 417.6 MB, free: 9.758 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.935e-05/0.2203, allocations: 28.12 kB / 417.6 MB, free: 9.73 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004554/0.2208, allocations: 295.1 kB / 417.9 MB, free: 9.418 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.015e-05/0.2208, allocations: 11.89 kB / 417.9 MB, free: 9.406 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.901e-05/0.2209, allocations: 12 kB / 418 MB, free: 9.395 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.573e-06/0.2209, allocations: 4 kB / 418 MB, free: 9.391 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000303/0.2212, allocations: 170.2 kB / 418.1 MB, free: 9.227 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001209/0.2224, allocations: 0.8405 MB / 419 MB, free: 8.316 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005144/0.2229, allocations: 259.4 kB / 419.2 MB, free: 8.055 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001654/0.2231, allocations: 97.39 kB / 419.3 MB, free: 7.957 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.611e-05/0.2231, allocations: 4.281 kB / 419.3 MB, free: 7.953 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00028/0.2234, allocations: 167.2 kB / 419.5 MB, free: 7.781 MB / 334.1 MB Notification: Performance of pre-optimization done (n=34): time 1.794e-06/0.2234, allocations: 0 / 419.5 MB, free: 7.781 MB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.002159/0.2256, allocations: 1.323 MB / 420.8 MB, free: 6.344 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.045e-05/0.2257, allocations: 183.9 kB / 421 MB, free: 6.121 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003179/0.226, allocations: 332.5 kB / 421.3 MB, free: 5.789 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.872e-05/0.2261, allocations: 33.7 kB / 421.3 MB, free: 5.75 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001114/0.2262, allocations: 188.6 kB / 421.5 MB, free: 5.562 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001018/0.2263, allocations: 145.9 kB / 421.7 MB, free: 5.418 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.469e-05/0.2264, allocations: 70.14 kB / 421.7 MB, free: 5.344 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.2265, allocations: 350.8 kB / 422.1 MB, free: 4.992 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001671/0.2267, allocations: 84.84 kB / 422.2 MB, free: 4.91 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002299/0.2269, allocations: 181.3 kB / 422.3 MB, free: 4.699 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003808/0.2273, allocations: 254.1 kB / 422.6 MB, free: 4.438 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.2273, allocations: 0 / 422.6 MB, free: 4.438 MB / 334.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005322/0.2279, allocations: 354.5 kB / 422.9 MB, free: 4.082 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.2279, allocations: 4 kB / 422.9 MB, free: 4.078 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.2279, allocations: 4 kB / 422.9 MB, free: 4.074 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.267e-05/0.228, allocations: 20.8 kB / 423 MB, free: 4.051 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003356/0.2283, allocations: 95.83 kB / 423.1 MB, free: 3.957 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009815/0.2293, allocations: 1.386 MB / 424.4 MB, free: 2.434 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001833/0.2295, allocations: 24.09 kB / 424.5 MB, free: 2.41 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.933e-05/0.2295, allocations: 8 kB / 424.5 MB, free: 2.402 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.0001615/0.2297, allocations: 168 kB / 424.6 MB, free: 2.23 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.238e-05/0.2298, allocations: 35.62 kB / 424.7 MB, free: 2.195 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.401e-05/0.2299, allocations: 47.95 kB / 424.7 MB, free: 2.145 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005846/0.2305, allocations: 0.6611 MB / 425.4 MB, free: 1.379 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.2305, allocations: 0 / 425.4 MB, free: 1.379 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001348/0.2306, allocations: 140.5 kB / 425.5 MB, free: 1.223 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.547e-05/0.2307, allocations: 15.98 kB / 425.5 MB, free: 1.207 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001862/0.2309, allocations: 12 kB / 425.5 MB, free: 1.195 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.541e-05/0.2309, allocations: 19.97 kB / 425.6 MB, free: 1.176 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007279/0.2317, allocations: 408.6 kB / 426 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007222/0.2324, allocations: 0.6198 MB / 426.6 MB, free: 136 kB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001849/0.2326, allocations: 119.9 kB / 426.7 MB, free: 16 kB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002315/0.2328, allocations: 247 kB / 426.9 MB, free: 15.77 MB / 350.1 MB Notification: Performance of Backend: time 2.8e-07/0.2328, allocations: 0 / 426.9 MB, free: 15.77 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001501/0.2343, allocations: 0.6774 MB / 427.6 MB, free: 15.22 MB / 350.1 MB Notification: Performance of SimCode: time 0.001522/0.2359, allocations: 1.418 MB / 429 MB, free: 13.75 MB / 350.1 MB Notification: Performance of Templates: time 0.00963/0.2455, allocations: 5.499 MB / 434.5 MB, free: 8.309 MB / 350.1 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/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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches