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.001276/0.001276, allocations: 114.3 kB / 18.46 MB, free: 4.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001379/0.001379, allocations: 206.8 kB / 19.41 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.323/1.323, allocations: 227.4 MB / 247.6 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001128/0.001128, allocations: 63.89 kB / 359.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2298/0.2309, allocations: 50.54 MB / 409.9 MB, free: 1.617 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.004017/0.235, allocations: 3.01 MB / 412.9 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002206/0.2372, allocations: 1.406 MB / 414.3 MB, free: 13.18 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001482/0.2374, allocations: 4 kB / 414.3 MB, free: 13.17 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004163/0.2378, allocations: 143.1 kB / 414.5 MB, free: 13.03 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004817/0.2383, allocations: 222.7 kB / 414.7 MB, free: 12.81 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002744/0.2386, allocations: 135.6 kB / 414.8 MB, free: 12.68 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004382/0.2391, allocations: 446.1 kB / 415.3 MB, free: 12.24 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001882/0.2392, allocations: 115.7 kB / 415.4 MB, free: 12.13 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001873/0.2394, allocations: 175.3 kB / 415.6 MB, free: 11.96 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002304/0.2397, allocations: 187.2 kB / 415.7 MB, free: 11.77 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.883e-05/0.2397, allocations: 28 kB / 415.8 MB, free: 11.75 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001201/0.2399, allocations: 59.98 kB / 415.8 MB, free: 11.69 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.876e-05/0.24, allocations: 79.62 kB / 415.9 MB, free: 11.61 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001738/0.2402, allocations: 187 kB / 416.1 MB, free: 11.43 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004477/0.2406, allocations: 459.5 kB / 416.5 MB, free: 10.98 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.2406, allocations: 0 / 416.5 MB, free: 10.98 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2406, allocations: 4 kB / 416.5 MB, free: 10.98 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.398e-06/0.2406, allocations: 0 / 416.5 MB, free: 10.98 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.0009505/0.2416, allocations: 0.675 MB / 417.2 MB, free: 10.25 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.248e-05/0.2416, allocations: 15.97 kB / 417.2 MB, free: 10.23 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.407e-05/0.2417, allocations: 40.47 kB / 417.3 MB, free: 10.2 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004329/0.2422, allocations: 336.4 kB / 417.6 MB, free: 9.828 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.294e-05/0.2422, allocations: 16.94 kB / 417.6 MB, free: 9.809 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.491e-05/0.2423, allocations: 28.12 kB / 417.6 MB, free: 9.781 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004655/0.2427, allocations: 295.1 kB / 417.9 MB, free: 9.469 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.633e-05/0.2428, allocations: 7.906 kB / 417.9 MB, free: 9.461 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.091e-05/0.2428, allocations: 16 kB / 418 MB, free: 9.445 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.2428, allocations: 7.984 kB / 418 MB, free: 9.438 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003108/0.2431, allocations: 178.1 kB / 418.1 MB, free: 9.266 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001219/0.2443, allocations: 0.8327 MB / 419 MB, free: 8.363 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005113/0.2449, allocations: 263.4 kB / 419.2 MB, free: 8.098 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001659/0.2451, allocations: 93.39 kB / 419.3 MB, free: 8.004 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.119e-05/0.2451, allocations: 8.281 kB / 419.3 MB, free: 7.996 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002716/0.2454, allocations: 167.2 kB / 419.5 MB, free: 7.824 MB / 334.1 MB Notification: Performance of pre-optimization done (n=34): time 1.914e-06/0.2454, allocations: 0 / 419.5 MB, free: 7.824 MB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.002245/0.2476, allocations: 1.319 MB / 420.8 MB, free: 6.391 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.947e-05/0.2477, allocations: 183.9 kB / 421 MB, free: 6.168 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003411/0.2481, allocations: 332.5 kB / 421.3 MB, free: 5.836 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.187e-05/0.2481, allocations: 37.7 kB / 421.3 MB, free: 5.793 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001281/0.2483, allocations: 184.6 kB / 421.5 MB, free: 5.609 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001049/0.2484, allocations: 141.9 kB / 421.7 MB, free: 5.469 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001067/0.2485, allocations: 74.12 kB / 421.7 MB, free: 5.391 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.2486, allocations: 346.8 kB / 422.1 MB, free: 5.043 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001857/0.2488, allocations: 92.84 kB / 422.2 MB, free: 4.953 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002431/0.2491, allocations: 181.3 kB / 422.3 MB, free: 4.742 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003854/0.2494, allocations: 250.2 kB / 422.6 MB, free: 4.484 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2495, allocations: 0 / 422.6 MB, free: 4.484 MB / 334.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005492/0.25, allocations: 354.5 kB / 422.9 MB, free: 4.129 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.25, allocations: 4 kB / 422.9 MB, free: 4.125 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.2501, allocations: 4 kB / 422.9 MB, free: 4.121 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.753e-05/0.2501, allocations: 16.98 kB / 423 MB, free: 4.102 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000343/0.2505, allocations: 91.89 kB / 423.1 MB, free: 4.012 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001034/0.2515, allocations: 1.39 MB / 424.4 MB, free: 2.484 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001983/0.2517, allocations: 15.94 kB / 424.5 MB, free: 2.469 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.502e-05/0.2518, allocations: 12 kB / 424.5 MB, free: 2.457 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.0001894/0.252, allocations: 175.9 kB / 424.6 MB, free: 2.277 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.032e-05/0.252, allocations: 35.62 kB / 424.7 MB, free: 2.242 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.174e-05/0.2521, allocations: 52.05 kB / 424.7 MB, free: 2.188 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006287/0.2528, allocations: 0.6572 MB / 425.4 MB, free: 1.426 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.2528, allocations: 8 kB / 425.4 MB, free: 1.418 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000139/0.2529, allocations: 140.5 kB / 425.5 MB, free: 1.262 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.513e-05/0.253, allocations: 12 kB / 425.5 MB, free: 1.25 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001935/0.2532, allocations: 12 kB / 425.6 MB, free: 1.238 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.829e-05/0.2533, allocations: 19.97 kB / 425.6 MB, free: 1.219 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000763/0.254, allocations: 416.5 kB / 426 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007773/0.2548, allocations: 0.612 MB / 426.6 MB, free: 180 kB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001946/0.255, allocations: 119.9 kB / 426.7 MB, free: 60 kB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002452/0.2553, allocations: 243 kB / 426.9 MB, free: 15.82 MB / 350.1 MB Notification: Performance of Backend: time 2.034e-06/0.2553, allocations: 0 / 426.9 MB, free: 15.82 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001628/0.2569, allocations: 0.6697 MB / 427.6 MB, free: 15.27 MB / 350.1 MB Notification: Performance of SimCode: time 0.00165/0.2586, allocations: 1.432 MB / 429 MB, free: 13.8 MB / 350.1 MB Notification: Performance of Templates: time 0.009958/0.2686, allocations: 5.501 MB / 434.5 MB, free: 8.355 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