Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001508/0.001513, allocations: 110.6 kB / 18.4 MB, free: 4.699 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.001746/0.001746, allocations: 190.1 kB / 19.34 MB, free: 3.777 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.264/1.264, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 55.94 kB / 329.2 MB, free: 3.312 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07258/0.07384, allocations: 46.61 MB / 375.8 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.004164/0.07804, allocations: 2.994 MB / 378.8 MB, free: 1.578 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001976/0.08004, allocations: 1.189 MB / 380 MB, free: 388 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000298/0.08036, allocations: 7.938 kB / 380 MB, free: 380 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005308/0.08092, allocations: 167.1 kB / 380.2 MB, free: 212 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005613/0.0815, allocations: 190.8 kB / 380.3 MB, free: 20 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1525/0.234, allocations: 143.2 kB / 380.5 MB, free: 9.832 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006539/0.2346, allocations: 437.5 kB / 380.9 MB, free: 9.824 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000225/0.2349, allocations: 109.7 kB / 381 MB, free: 9.812 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002761/0.2352, allocations: 172.3 kB / 381.2 MB, free: 9.797 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002617/0.2354, allocations: 198.6 kB / 381.4 MB, free: 9.754 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.256e-05/0.2355, allocations: 28.88 kB / 381.4 MB, free: 9.754 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001716/0.2357, allocations: 76.66 kB / 381.5 MB, free: 9.754 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.822e-05/0.2358, allocations: 85.94 kB / 381.6 MB, free: 9.738 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001543/0.2359, allocations: 186.3 kB / 381.8 MB, free: 9.68 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004806/0.2364, allocations: 461.2 kB / 382.2 MB, free: 9.613 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.2364, allocations: 0 / 382.2 MB, free: 9.613 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.2364, allocations: 1.375 kB / 382.2 MB, free: 9.613 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.713e-06/0.2365, allocations: 0 / 382.2 MB, free: 9.613 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.0009128/0.2374, allocations: 0.6814 MB / 382.9 MB, free: 9.117 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.2374, allocations: 8.969 kB / 382.9 MB, free: 9.117 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001042/0.2375, allocations: 47.75 kB / 382.9 MB, free: 9.094 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004517/0.238, allocations: 319.9 kB / 383.3 MB, free: 8.852 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.746e-05/0.238, allocations: 21.78 kB / 383.3 MB, free: 8.852 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.503e-05/0.2381, allocations: 27.03 kB / 383.3 MB, free: 8.852 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000495/0.2386, allocations: 296.4 kB / 383.6 MB, free: 8.766 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.688e-05/0.2386, allocations: 1.562 kB / 383.6 MB, free: 8.766 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.926e-05/0.2386, allocations: 13.92 kB / 383.6 MB, free: 8.766 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.737e-06/0.2387, allocations: 6.594 kB / 383.6 MB, free: 8.766 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003276/0.239, allocations: 177.7 kB / 383.8 MB, free: 8.758 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001183/0.2402, allocations: 0.8441 MB / 384.6 MB, free: 8.387 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004972/0.2407, allocations: 261.1 kB / 384.9 MB, free: 8.359 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001669/0.2409, allocations: 96.94 kB / 385 MB, free: 8.352 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.359e-05/0.2409, allocations: 7.438 kB / 385 MB, free: 8.352 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002697/0.2412, allocations: 165.6 kB / 385.2 MB, free: 8.293 MB / 318.1 MB Notification: Performance of pre-optimization done (n=34): time 1.924e-06/0.2412, allocations: 1.406 kB / 385.2 MB, free: 8.293 MB / 318.1 MB Notification: Performance of matching and sorting (n=40): time 0.002031/0.2432, allocations: 1.316 MB / 386.5 MB, free: 7.496 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.981e-05/0.2433, allocations: 185.3 kB / 386.6 MB, free: 7.277 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003565/0.2437, allocations: 351.4 kB / 387 MB, free: 7.102 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.371e-05/0.2437, allocations: 37.14 kB / 387 MB, free: 7.062 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.985e-05/0.2438, allocations: 186.8 kB / 387.2 MB, free: 6.902 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.911e-05/0.2439, allocations: 138.2 kB / 387.3 MB, free: 6.797 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.834e-05/0.244, allocations: 74.73 kB / 387.4 MB, free: 6.754 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.77e-05/0.2441, allocations: 352.1 kB / 387.8 MB, free: 6.422 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001798/0.2442, allocations: 85.89 kB / 387.8 MB, free: 6.395 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002165/0.2445, allocations: 178.4 kB / 388 MB, free: 6.27 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003545/0.2448, allocations: 252.7 kB / 388.3 MB, free: 6.133 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.2448, allocations: 2.234 kB / 388.3 MB, free: 6.133 MB / 318.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005476/0.2454, allocations: 358.2 kB / 388.6 MB, free: 5.973 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.2454, allocations: 6 kB / 388.6 MB, free: 5.973 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.2454, allocations: 6.312 kB / 388.6 MB, free: 5.969 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.492e-05/0.2455, allocations: 19.95 kB / 388.7 MB, free: 5.957 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003399/0.2459, allocations: 93.28 kB / 388.7 MB, free: 5.953 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007693/0.2467, allocations: 1.386 MB / 390.1 MB, free: 4.547 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001905/0.2469, allocations: 22.81 kB / 390.2 MB, free: 4.531 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.728e-05/0.2469, allocations: 9.969 kB / 390.2 MB, free: 4.531 MB / 318.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.0001611/0.2471, allocations: 178.7 kB / 390.3 MB, free: 4.383 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.447e-05/0.2471, allocations: 39.31 kB / 390.4 MB, free: 4.363 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.033e-05/0.2472, allocations: 46.55 kB / 390.4 MB, free: 4.332 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004938/0.2477, allocations: 0.6601 MB / 391.1 MB, free: 3.719 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.2477, allocations: 0 / 391.1 MB, free: 3.719 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000114/0.2478, allocations: 141.2 kB / 391.2 MB, free: 3.586 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.193e-05/0.2479, allocations: 7.906 kB / 391.2 MB, free: 3.582 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001894/0.2481, allocations: 21.7 kB / 391.2 MB, free: 3.57 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.044e-05/0.2482, allocations: 23.5 kB / 391.3 MB, free: 3.57 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007249/0.2489, allocations: 420.7 kB / 391.7 MB, free: 3.363 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000715/0.2496, allocations: 0.5995 MB / 392.3 MB, free: 3 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001935/0.2498, allocations: 131.9 kB / 392.4 MB, free: 2.949 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002314/0.2501, allocations: 255.4 kB / 392.7 MB, free: 2.82 MB / 318.1 MB Notification: Performance of Backend: time 4.81e-07/0.2501, allocations: 4 kB / 392.7 MB, free: 2.816 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001639/0.2517, allocations: 0.7286 MB / 393.4 MB, free: 2.324 MB / 318.1 MB Notification: Performance of SimCode: time 0.001416/0.2531, allocations: 1.434 MB / 394.8 MB, free: 1.234 MB / 318.1 MB Notification: Performance of Templates: time 0.01151/0.2647, allocations: 5.521 MB / 400.3 MB, free: 500 kB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.makefile (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/TestCylinder/TestCylinder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches