Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002265/0.002265, allocations: 186.2 kB / 16.41 MB, free: 5.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.948/1.948, allocations: 205.4 MB / 222.5 MB, free: 9.109 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001084/0.001084, allocations: 92.42 kB / 270.9 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005087/0.0005088, allocations: 8 kB / 327 MB, free: 208 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3261/0.3267, allocations: 47.56 MB / 374.5 MB, free: 45.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1299/0.4566, allocations: 81.98 MB / 456.5 MB, free: 14.78 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002861/0.457, allocations: 75.95 kB / 456.6 MB, free: 14.7 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03986/0.4968, allocations: 9.568 MB / 466.1 MB, free: 5.086 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.4969, allocations: 0 / 466.1 MB, free: 5.086 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.357e-05/0.4969, allocations: 8 kB / 466.2 MB, free: 5.078 MB / 346.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.001296/0.4982, allocations: 0.6488 MB / 466.8 MB, free: 4.383 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.4983, allocations: 11.97 kB / 466.8 MB, free: 4.371 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001193/0.4984, allocations: 47.48 kB / 466.9 MB, free: 4.324 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006078/0.499, allocations: 311.5 kB / 467.2 MB, free: 3.984 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.945e-05/0.4991, allocations: 20.56 kB / 467.2 MB, free: 3.965 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.257e-05/0.4992, allocations: 35.89 kB / 467.2 MB, free: 3.93 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007302/0.4999, allocations: 287.1 kB / 467.5 MB, free: 3.625 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.335e-05/0.5, allocations: 0 / 467.5 MB, free: 3.625 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.344e-05/0.5, allocations: 12 kB / 467.5 MB, free: 3.613 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.302e-05/0.5, allocations: 8 kB / 467.5 MB, free: 3.605 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005255/0.5006, allocations: 178.1 kB / 467.7 MB, free: 3.434 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002063/0.5027, allocations: 0.8678 MB / 468.6 MB, free: 2.5 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008239/0.5035, allocations: 261.9 kB / 468.8 MB, free: 2.238 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.388e-05/0.5036, allocations: 8.281 kB / 468.8 MB, free: 2.23 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000464/0.5041, allocations: 169.7 kB / 469 MB, free: 2.055 MB / 346.7 MB Notification: Performance of pre-optimization done (n=34): time 2.865e-06/0.5041, allocations: 0 / 469 MB, free: 2.055 MB / 346.7 MB Notification: Performance of matching and sorting (n=40): time 0.00351/0.5076, allocations: 1.33 MB / 470.3 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001027/0.5077, allocations: 183.9 kB / 470.5 MB, free: 396 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005724/0.5083, allocations: 315.6 kB / 470.8 MB, free: 68 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.308e-05/0.5084, allocations: 33.7 kB / 470.8 MB, free: 28 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001817/0.5086, allocations: 239 kB / 471.1 MB, free: 15.79 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001513/0.5088, allocations: 134 kB / 471.2 MB, free: 15.66 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.864e-05/0.5088, allocations: 12 kB / 471.2 MB, free: 15.65 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.5089, allocations: 326.8 kB / 471.5 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002937/0.5092, allocations: 88.83 kB / 471.6 MB, free: 15.23 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003832/0.5096, allocations: 177.3 kB / 471.8 MB, free: 15.02 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003478/0.51, allocations: 117.8 kB / 471.9 MB, free: 14.91 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/0.51, allocations: 0 / 471.9 MB, free: 14.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008934/0.5109, allocations: 338.9 kB / 472.2 MB, free: 14.57 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/0.511, allocations: 4 kB / 472.2 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.511, allocations: 4.125 kB / 472.3 MB, free: 14.56 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001168/0.5111, allocations: 20.86 kB / 472.3 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006402/0.5118, allocations: 95.83 kB / 472.4 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001358/0.5131, allocations: 1.299 MB / 473.7 MB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000375/0.5135, allocations: 12 kB / 473.7 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.481e-05/0.5136, allocations: 12 kB / 473.7 MB, free: 12.99 MB / 362.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 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003224/0.5139, allocations: 176.1 kB / 473.9 MB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.096e-05/0.514, allocations: 43.53 kB / 473.9 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009449/0.515, allocations: 346.1 kB / 474.2 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.095e-06/0.515, allocations: 4 kB / 474.2 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.515, allocations: 0 / 474.2 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009162/0.5159, allocations: 0.6644 MB / 474.9 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001938/0.5179, allocations: 0.8839 MB / 475.8 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.917e-06/0.5179, allocations: 4 kB / 475.8 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006278/0.5186, allocations: 71.91 kB / 475.9 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.311e-05/0.5186, allocations: 7.984 kB / 475.9 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.647e-05/0.5186, allocations: 12 kB / 475.9 MB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.207e-06/0.5187, allocations: 3.938 kB / 475.9 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.5187, allocations: 7.953 kB / 475.9 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001282/0.52, allocations: 0.6104 MB / 476.5 MB, free: 9.922 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002406/0.5202, allocations: 140.8 kB / 476.6 MB, free: 9.766 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.783e-05/0.5203, allocations: 8 kB / 476.7 MB, free: 9.758 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003266/0.5207, allocations: 19.98 kB / 476.7 MB, free: 9.738 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.32e-05/0.5208, allocations: 31.91 kB / 476.7 MB, free: 9.707 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.535e-05/0.5208, allocations: 8 kB / 476.7 MB, free: 9.699 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004339/0.5212, allocations: 255 kB / 477 MB, free: 9.453 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.5213, allocations: 0 / 477 MB, free: 9.453 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000619/0.5219, allocations: 132.4 kB / 477.1 MB, free: 9.324 MB / 362.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 (41): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001261/0.5232, allocations: 438 kB / 477.5 MB, free: 8.922 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001/0.5242, allocations: 374.2 kB / 477.9 MB, free: 8.543 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.5242, allocations: 256 / 477.9 MB, free: 8.543 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003681/0.5246, allocations: 147.5 kB / 478 MB, free: 8.398 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000734/0.5253, allocations: 81.38 kB / 478.1 MB, free: 8.32 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002711/0.5281, allocations: 1.298 MB / 479.4 MB, free: 6.973 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000447/0.5285, allocations: 0.8158 MB / 480.2 MB, free: 6.129 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001789/0.5287, allocations: 39.44 kB / 480.3 MB, free: 6.09 MB / 362.7 MB Notification: Performance of SimCode: time 1.132e-06/0.5287, allocations: 0 / 480.3 MB, free: 6.09 MB / 362.7 MB Notification: Performance of Templates: time 0.01279/0.5415, allocations: 5.674 MB / 485.9 MB, free: 428 kB / 362.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.sim & ./Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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","../files/Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches