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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001068/0.001068, allocations: 186.5 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.39/1.39, allocations: 222.9 MB / 240.9 MB, free: 11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000956/0.000956, allocations: 104.3 kB / 291.2 MB, free: 10.95 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000781/0.0007812, allocations: 35.94 kB / 350 MB, free: 88 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2222/0.223, allocations: 49.43 MB / 399.5 MB, free: 33.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.003408/0.2265, allocations: 3.045 MB / 402.5 MB, free: 30.34 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001589/0.2281, allocations: 1.226 MB / 403.7 MB, free: 29.11 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001387/0.2283, allocations: 11.88 kB / 403.7 MB, free: 29.09 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004333/0.2287, allocations: 131.4 kB / 403.9 MB, free: 28.96 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003025/0.229, allocations: 155.2 kB / 404 MB, free: 28.81 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003395/0.2294, allocations: 143.9 kB / 404.2 MB, free: 28.68 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003479/0.2297, allocations: 418 kB / 404.6 MB, free: 28.27 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001596/0.2299, allocations: 94.8 kB / 404.7 MB, free: 28.17 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001462/0.23, allocations: 167.3 kB / 404.8 MB, free: 28.01 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001817/0.2302, allocations: 183.1 kB / 405 MB, free: 27.83 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.239e-05/0.2303, allocations: 20 kB / 405 MB, free: 27.81 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001258/0.2304, allocations: 48 kB / 405.1 MB, free: 27.76 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.5e-05/0.2305, allocations: 71.67 kB / 405.1 MB, free: 27.69 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001355/0.2306, allocations: 179 kB / 405.3 MB, free: 27.52 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003249/0.231, allocations: 432 kB / 405.7 MB, free: 27.09 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.231, allocations: 0 / 405.7 MB, free: 27.09 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.231, allocations: 0 / 405.7 MB, free: 27.09 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.592e-06/0.231, allocations: 0 / 405.7 MB, free: 27.09 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.0008899/0.2319, allocations: 0.6689 MB / 406.4 MB, free: 26.38 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.232, allocations: 8.031 kB / 406.4 MB, free: 26.37 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.41e-05/0.232, allocations: 56.31 kB / 406.5 MB, free: 26.32 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003143/0.2324, allocations: 311.9 kB / 406.8 MB, free: 25.97 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.123e-05/0.2324, allocations: 16.94 kB / 406.8 MB, free: 25.96 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.336e-05/0.2324, allocations: 40.02 kB / 406.8 MB, free: 25.92 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003961/0.2328, allocations: 291.1 kB / 407.1 MB, free: 25.61 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.805e-05/0.2329, allocations: 4 kB / 407.1 MB, free: 25.61 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.699e-05/0.2329, allocations: 12 kB / 407.1 MB, free: 25.6 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.2329, allocations: 4 kB / 407.1 MB, free: 25.59 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002791/0.2332, allocations: 182.1 kB / 407.3 MB, free: 25.41 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001156/0.2344, allocations: 0.8405 MB / 408.2 MB, free: 24.51 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004567/0.2348, allocations: 266.3 kB / 408.4 MB, free: 24.25 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001422/0.235, allocations: 101.4 kB / 408.5 MB, free: 24.14 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.26e-05/0.235, allocations: 4.281 kB / 408.5 MB, free: 24.14 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003271/0.2354, allocations: 162.6 kB / 408.7 MB, free: 23.97 MB / 298.7 MB Notification: Performance of pre-optimization done (n=34): time 2.214e-06/0.2354, allocations: 0 / 408.7 MB, free: 23.97 MB / 298.7 MB Notification: Performance of matching and sorting (n=40): time 0.00186/0.2373, allocations: 1.313 MB / 410 MB, free: 22.55 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.824e-05/0.2373, allocations: 187.9 kB / 410.2 MB, free: 22.32 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002958/0.2376, allocations: 324.6 kB / 410.5 MB, free: 21.99 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.323e-05/0.2377, allocations: 33.7 kB / 410.5 MB, free: 21.95 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.706e-05/0.2378, allocations: 184.6 kB / 410.7 MB, free: 21.77 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.916e-05/0.2378, allocations: 141.9 kB / 410.8 MB, free: 21.63 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.692e-05/0.2379, allocations: 74.12 kB / 410.9 MB, free: 21.55 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.007e-05/0.238, allocations: 346.8 kB / 411.3 MB, free: 21.2 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001495/0.2382, allocations: 88.84 kB / 411.3 MB, free: 21.11 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001839/0.2384, allocations: 181.2 kB / 411.5 MB, free: 20.9 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003007/0.2387, allocations: 254.2 kB / 411.8 MB, free: 20.64 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.2387, allocations: 0 / 411.8 MB, free: 20.64 MB / 298.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0004392/0.2391, allocations: 354.3 kB / 412.1 MB, free: 20.29 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.2391, allocations: 4 kB / 412.1 MB, free: 20.28 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.2392, allocations: 3.938 kB / 412.1 MB, free: 20.28 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.976e-05/0.2393, allocations: 24.8 kB / 412.1 MB, free: 20.25 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003036/0.2396, allocations: 83.89 kB / 412.2 MB, free: 20.17 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006989/0.2403, allocations: 1.308 MB / 413.5 MB, free: 18.73 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001742/0.2405, allocations: 12.16 kB / 413.5 MB, free: 18.72 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.892e-05/0.2405, allocations: 16 kB / 413.6 MB, free: 18.7 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 ($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.0001403/0.2406, allocations: 165.7 kB / 413.7 MB, free: 18.53 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.581e-05/0.2407, allocations: 39.53 kB / 413.8 MB, free: 18.49 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.745e-05/0.2408, allocations: 47.88 kB / 413.8 MB, free: 18.44 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.2408, allocations: 4 kB / 413.8 MB, free: 18.44 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.2408, allocations: 0 / 413.8 MB, free: 18.44 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000433/0.2412, allocations: 0.6689 MB / 414.5 MB, free: 17.66 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008929/0.2421, allocations: 0.8331 MB / 415.3 MB, free: 16.76 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.2421, allocations: 0 / 415.3 MB, free: 16.76 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002879/0.2424, allocations: 79.84 kB / 415.4 MB, free: 16.68 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.177e-06/0.2425, allocations: 4.125 kB / 415.4 MB, free: 16.68 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.132e-05/0.2425, allocations: 12 kB / 415.4 MB, free: 16.67 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.2425, allocations: 0 / 415.4 MB, free: 16.67 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.287e-06/0.2425, allocations: 11.92 kB / 415.4 MB, free: 16.66 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002706/0.2452, allocations: 2.617 MB / 418 MB, free: 13.84 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000107/0.2453, allocations: 132.7 kB / 418.2 MB, free: 13.7 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.073e-05/0.2454, allocations: 8 kB / 418.2 MB, free: 13.69 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002726/0.2457, allocations: 27.89 kB / 418.2 MB, free: 13.66 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.93e-05/0.2457, allocations: 28.03 kB / 418.2 MB, free: 13.63 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.903e-05/0.2458, allocations: 16 kB / 418.2 MB, free: 13.62 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001727/0.246, allocations: 239 kB / 418.5 MB, free: 13.38 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.246, allocations: 3.938 kB / 418.5 MB, free: 13.38 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004845/0.2464, allocations: 120 kB / 418.6 MB, free: 13.26 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.0008437/0.2473, allocations: 433 kB / 419 MB, free: 12.99 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005326/0.2478, allocations: 363.1 kB / 419.4 MB, free: 12.62 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.2479, allocations: 0 / 419.4 MB, free: 12.62 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001836/0.248, allocations: 133 kB / 419.5 MB, free: 12.5 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005374/0.2486, allocations: 85.48 kB / 419.6 MB, free: 12.41 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001521/0.2501, allocations: 1.404 MB / 421 MB, free: 10.95 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001856/0.2503, allocations: 0.808 MB / 421.8 MB, free: 10.12 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001837/0.2505, allocations: 51.25 kB / 421.9 MB, free: 10.07 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.402e-05/0.2506, allocations: 35.44 kB / 421.9 MB, free: 10.03 MB / 298.7 MB Notification: Performance of SimCode: time 3.51e-07/0.2506, allocations: 0 / 421.9 MB, free: 10.03 MB / 298.7 MB Notification: Performance of Templates: time 0.008437/0.2591, allocations: 5.551 MB / 427.4 MB, free: 4.559 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@2/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