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.001522/0.001522, allocations: 111.2 kB / 18.41 MB, free: 4.691 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.001719/0.001719, allocations: 183.3 kB / 19.33 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.299/1.299, 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.001199/0.001199, allocations: 47.94 kB / 329.2 MB, free: 3.324 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07029/0.0715, allocations: 46.61 MB / 375.8 MB, free: 4.602 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.004202/0.07573, allocations: 2.99 MB / 378.8 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001997/0.07775, allocations: 1.197 MB / 380 MB, free: 396 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001969/0.07797, allocations: 4 kB / 380 MB, free: 392 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004169/0.07841, allocations: 163.2 kB / 380.2 MB, free: 228 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004529/0.07888, allocations: 194.8 kB / 380.3 MB, free: 32 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1443/0.2231, allocations: 141.5 kB / 380.5 MB, free: 9.832 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000517/0.2237, allocations: 444.9 kB / 380.9 MB, free: 9.824 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001735/0.2239, allocations: 113 kB / 381 MB, free: 9.812 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001846/0.2241, allocations: 178 kB / 381.2 MB, free: 9.797 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002172/0.2243, allocations: 195.1 kB / 381.4 MB, free: 9.754 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.17e-05/0.2243, allocations: 28.88 kB / 381.4 MB, free: 9.754 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001432/0.2245, allocations: 73.73 kB / 381.5 MB, free: 9.754 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.182e-05/0.2246, allocations: 87.36 kB / 381.6 MB, free: 9.738 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001402/0.2247, allocations: 185.4 kB / 381.8 MB, free: 9.68 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004296/0.2252, allocations: 464.7 kB / 382.2 MB, free: 9.613 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.2252, allocations: 0.8438 kB / 382.2 MB, free: 9.613 MB / 318.1 MB Notification: Performance of FrontEnd: time 9.11e-07/0.2252, allocations: 0 / 382.2 MB, free: 9.613 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.161e-06/0.2252, allocations: 1.375 kB / 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.0008692/0.2261, allocations: 0.6785 MB / 382.9 MB, free: 9.117 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.2261, allocations: 12.39 kB / 382.9 MB, free: 9.117 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.807e-05/0.2262, allocations: 46.62 kB / 383 MB, free: 9.094 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003925/0.2266, allocations: 319 kB / 383.3 MB, free: 8.852 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.431e-05/0.2266, allocations: 21.06 kB / 383.3 MB, free: 8.852 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.542e-05/0.2267, allocations: 23.78 kB / 383.3 MB, free: 8.852 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000495/0.2272, allocations: 298.6 kB / 383.6 MB, free: 8.766 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.746e-05/0.2272, allocations: 2.797 kB / 383.6 MB, free: 8.766 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.969e-05/0.2273, allocations: 12.44 kB / 383.6 MB, free: 8.766 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.2273, allocations: 9.594 kB / 383.6 MB, free: 8.762 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003138/0.2276, allocations: 177.4 kB / 383.8 MB, free: 8.758 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001112/0.2287, allocations: 0.8378 MB / 384.6 MB, free: 8.391 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004753/0.2292, allocations: 259 kB / 384.9 MB, free: 8.363 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001597/0.2294, allocations: 101.5 kB / 385 MB, free: 8.355 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.595e-05/0.2294, allocations: 6.062 kB / 385 MB, free: 8.355 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002582/0.2297, allocations: 168.7 kB / 385.2 MB, free: 8.297 MB / 318.1 MB Notification: Performance of pre-optimization done (n=34): time 1.904e-06/0.2297, allocations: 1.344 kB / 385.2 MB, free: 8.297 MB / 318.1 MB Notification: Performance of matching and sorting (n=40): time 0.001963/0.2317, allocations: 1.308 MB / 386.5 MB, free: 7.523 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.599e-05/0.2317, allocations: 192.1 kB / 386.7 MB, free: 7.301 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003134/0.232, allocations: 350.6 kB / 387 MB, free: 7.125 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.579e-05/0.2321, allocations: 37.8 kB / 387 MB, free: 7.086 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.83e-05/0.2322, allocations: 189 kB / 387.2 MB, free: 6.926 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.383e-05/0.2322, allocations: 139 kB / 387.4 MB, free: 6.82 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.132e-05/0.2323, allocations: 74.33 kB / 387.4 MB, free: 6.777 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.717e-05/0.2324, allocations: 347.8 kB / 387.8 MB, free: 6.449 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000165/0.2326, allocations: 89.69 kB / 387.9 MB, free: 6.418 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002075/0.2328, allocations: 177.3 kB / 388 MB, free: 6.293 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003387/0.2331, allocations: 258.2 kB / 388.3 MB, free: 6.156 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.123e-06/0.2331, allocations: 1 kB / 388.3 MB, free: 6.156 MB / 318.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0004947/0.2336, allocations: 356 kB / 388.6 MB, free: 5.996 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.2337, allocations: 5.969 kB / 388.6 MB, free: 5.996 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/0.2337, allocations: 1.734 kB / 388.6 MB, free: 5.996 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.621e-05/0.2337, allocations: 24.45 kB / 388.7 MB, free: 5.98 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003236/0.2341, allocations: 88.75 kB / 388.7 MB, free: 5.977 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007029/0.2348, allocations: 1.39 MB / 390.1 MB, free: 4.57 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001869/0.235, allocations: 23.14 kB / 390.2 MB, free: 4.555 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.175e-05/0.235, allocations: 10.44 kB / 390.2 MB, free: 4.555 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.0001451/0.2352, allocations: 174.4 kB / 390.3 MB, free: 4.406 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.597e-05/0.2352, allocations: 36.31 kB / 390.4 MB, free: 4.391 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.104e-05/0.2353, allocations: 51 kB / 390.4 MB, free: 4.355 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004976/0.2358, allocations: 0.6625 MB / 391.1 MB, free: 3.742 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.2358, allocations: 1.906 kB / 391.1 MB, free: 3.742 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001255/0.236, allocations: 140.9 kB / 391.2 MB, free: 3.609 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.309e-05/0.236, allocations: 12.36 kB / 391.2 MB, free: 3.602 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001904/0.2362, allocations: 16.86 kB / 391.3 MB, free: 3.594 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.369e-05/0.2363, allocations: 22.94 kB / 391.3 MB, free: 3.594 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006964/0.237, allocations: 417.8 kB / 391.7 MB, free: 3.387 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006937/0.2377, allocations: 0.604 MB / 392.3 MB, free: 3.023 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001816/0.2379, allocations: 130 kB / 392.4 MB, free: 2.973 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002208/0.2381, allocations: 254.7 kB / 392.7 MB, free: 2.844 MB / 318.1 MB Notification: Performance of Backend: time 3.41e-07/0.2381, allocations: 0 / 392.7 MB, free: 2.844 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001576/0.2397, allocations: 0.7237 MB / 393.4 MB, free: 2.348 MB / 318.1 MB Notification: Performance of SimCode: time 0.00135/0.2411, allocations: 1.445 MB / 394.8 MB, free: 1.254 MB / 318.1 MB Notification: Performance of Templates: time 0.00971/0.2508, allocations: 5.594 MB / 400.4 MB, free: 456 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