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.001566/0.001567, allocations: 117.6 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001984/0.001984, allocations: 204.7 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.408/1.408, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001032/0.001032, allocations: 63.89 kB / 358.7 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2295/0.2306, allocations: 50.54 MB / 409.2 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.003862/0.2345, allocations: 3.013 MB / 412.3 MB, free: 14.56 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002008/0.2365, allocations: 1.395 MB / 413.7 MB, free: 13.15 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000139/0.2366, allocations: 4 kB / 413.7 MB, free: 13.15 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004105/0.2371, allocations: 151.1 kB / 413.8 MB, free: 13 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004566/0.2375, allocations: 214.7 kB / 414 MB, free: 12.79 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000283/0.2378, allocations: 135.6 kB / 414.1 MB, free: 12.66 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004764/0.2383, allocations: 446.1 kB / 414.6 MB, free: 12.22 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001969/0.2385, allocations: 111.7 kB / 414.7 MB, free: 12.11 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00021/0.2387, allocations: 179.3 kB / 414.9 MB, free: 11.93 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000249/0.239, allocations: 191.2 kB / 415.1 MB, free: 11.75 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.407e-05/0.2391, allocations: 28 kB / 415.1 MB, free: 11.72 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001342/0.2392, allocations: 55.94 kB / 415.1 MB, free: 11.66 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001111/0.2393, allocations: 87.67 kB / 415.2 MB, free: 11.58 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001568/0.2395, allocations: 179 kB / 415.4 MB, free: 11.4 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004541/0.2399, allocations: 459.5 kB / 415.8 MB, free: 10.96 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.24, allocations: 0 / 415.8 MB, free: 10.96 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.24, allocations: 0 / 415.8 MB, free: 10.96 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.575e-06/0.24, allocations: 3.938 kB / 415.8 MB, free: 10.95 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.0009725/0.241, allocations: 0.6829 MB / 416.5 MB, free: 10.22 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.241, allocations: 8.031 kB / 416.5 MB, free: 10.21 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.357e-05/0.2411, allocations: 44.47 kB / 416.6 MB, free: 10.17 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004189/0.2415, allocations: 336.4 kB / 416.9 MB, free: 9.801 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.434e-05/0.2416, allocations: 20.94 kB / 416.9 MB, free: 9.777 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.505e-05/0.2416, allocations: 32.12 kB / 417 MB, free: 9.746 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004841/0.2421, allocations: 291.1 kB / 417.2 MB, free: 9.438 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.781e-05/0.2421, allocations: 3.906 kB / 417.2 MB, free: 9.434 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.171e-05/0.2422, allocations: 12 kB / 417.3 MB, free: 9.422 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/0.2422, allocations: 8 kB / 417.3 MB, free: 9.414 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003245/0.2425, allocations: 178.1 kB / 417.4 MB, free: 9.242 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001236/0.2438, allocations: 0.8288 MB / 418.3 MB, free: 8.344 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005209/0.2443, allocations: 263.4 kB / 418.5 MB, free: 8.078 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001706/0.2445, allocations: 97.39 kB / 418.6 MB, free: 7.98 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.452e-05/0.2445, allocations: 8.266 kB / 418.6 MB, free: 7.973 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002938/0.2448, allocations: 159.2 kB / 418.8 MB, free: 7.809 MB / 334.1 MB Notification: Performance of pre-optimization done (n=34): time 3.296e-06/0.2448, allocations: 0 / 418.8 MB, free: 7.809 MB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.002182/0.247, allocations: 1.319 MB / 420.1 MB, free: 6.375 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.152e-05/0.2471, allocations: 187.9 kB / 420.3 MB, free: 6.148 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000349/0.2475, allocations: 336.5 kB / 420.6 MB, free: 5.812 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.259e-05/0.2475, allocations: 37.7 kB / 420.7 MB, free: 5.77 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001231/0.2477, allocations: 184.6 kB / 420.8 MB, free: 5.586 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.799e-05/0.2478, allocations: 141.9 kB / 421 MB, free: 5.445 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001108/0.2479, allocations: 78.12 kB / 421.1 MB, free: 5.363 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.248, allocations: 346.8 kB / 421.4 MB, free: 5.016 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001714/0.2482, allocations: 84.84 kB / 421.5 MB, free: 4.934 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002438/0.2485, allocations: 185.3 kB / 421.7 MB, free: 4.719 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000385/0.2488, allocations: 246.2 kB / 421.9 MB, free: 4.465 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.2489, allocations: 4 kB / 421.9 MB, free: 4.461 MB / 334.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005513/0.2494, allocations: 350.5 kB / 422.2 MB, free: 4.109 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.2494, allocations: 8 kB / 422.2 MB, free: 4.102 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.2495, allocations: 0 / 422.2 MB, free: 4.102 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.353e-05/0.2495, allocations: 20.86 kB / 422.3 MB, free: 4.078 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003491/0.2499, allocations: 91.83 kB / 422.4 MB, free: 3.988 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001014/0.2509, allocations: 1.387 MB / 423.7 MB, free: 2.465 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001932/0.2511, allocations: 19.84 kB / 423.8 MB, free: 2.445 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.585e-05/0.2512, allocations: 19.98 kB / 423.8 MB, free: 2.426 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.0002027/0.2514, allocations: 175.4 kB / 424 MB, free: 2.25 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.678e-05/0.2514, allocations: 35.62 kB / 424 MB, free: 2.215 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.833e-05/0.2515, allocations: 47.89 kB / 424 MB, free: 2.164 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.2515, allocations: 4 kB / 424 MB, free: 2.16 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.2516, allocations: 3.938 kB / 424 MB, free: 2.156 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006198/0.2522, allocations: 0.6651 MB / 424.7 MB, free: 1.387 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001099/0.2533, allocations: 0.846 MB / 425.6 MB, free: 484 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.2533, allocations: 0 / 425.6 MB, free: 484 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000339/0.2536, allocations: 79.89 kB / 425.6 MB, free: 404 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-06/0.2537, allocations: 4.125 kB / 425.6 MB, free: 400 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.284e-05/0.2537, allocations: 12 kB / 425.6 MB, free: 388 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.2537, allocations: 4 kB / 425.7 MB, free: 384 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.2537, allocations: 0 / 425.7 MB, free: 384 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007464/0.2545, allocations: 0.554 MB / 426.2 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001335/0.2546, allocations: 140.6 kB / 426.3 MB, free: 15.63 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.889e-05/0.2547, allocations: 8 kB / 426.4 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002321/0.2549, allocations: 19.98 kB / 426.4 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.56e-05/0.255, allocations: 23.97 kB / 426.4 MB, free: 15.58 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.798e-05/0.255, allocations: 12 kB / 426.4 MB, free: 15.57 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000237/0.2552, allocations: 243 kB / 426.6 MB, free: 15.33 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2552, allocations: 0 / 426.6 MB, free: 15.33 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004139/0.2557, allocations: 104.6 kB / 426.7 MB, free: 15.23 MB / 350.1 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.0009507/0.2566, allocations: 417.5 kB / 427.2 MB, free: 14.95 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006209/0.2573, allocations: 366.4 kB / 427.5 MB, free: 14.58 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.2573, allocations: 0 / 427.5 MB, free: 14.58 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002188/0.2575, allocations: 136.3 kB / 427.6 MB, free: 14.45 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005731/0.2581, allocations: 88.36 kB / 427.7 MB, free: 14.37 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001561/0.2597, allocations: 1.03 MB / 428.8 MB, free: 13.3 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003591/0.26, allocations: 0.8079 MB / 429.6 MB, free: 12.46 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001552/0.2602, allocations: 43.27 kB / 429.6 MB, free: 12.41 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.405e-05/0.2603, allocations: 39.42 kB / 429.6 MB, free: 12.38 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2603, allocations: 0 / 429.6 MB, free: 12.38 MB / 350.1 MB Notification: Performance of Templates: time 0.009688/0.27, allocations: 5.34 MB / 435 MB, free: 7.102 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/TestCylinder/TestCylinder.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches