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: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_TestCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_TestCylinder",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001606/0.001606, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001857/0.001857, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.359/1.359, allocations: 227.4 MB / 246.8 MB, free: 10.63 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00108/0.00108, allocations: 62.08 kB / 307 MB, free: 0.5586 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08481/0.0859, allocations: 50.54 MB / 357.6 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.004356/0.09028, allocations: 3.015 MB / 360.6 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00221/0.09251, allocations: 1.406 MB / 362 MB, free: 9.57 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000218/0.09276, allocations: 11.94 kB / 362 MB, free: 9.559 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004356/0.09322, allocations: 147.2 kB / 362.2 MB, free: 9.414 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005879/0.09382, allocations: 210.7 kB / 362.4 MB, free: 9.207 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000366/0.0942, allocations: 131.6 kB / 362.5 MB, free: 9.078 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000508/0.09472, allocations: 438.1 kB / 362.9 MB, free: 8.648 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001862/0.09492, allocations: 115.6 kB / 363 MB, free: 8.531 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002309/0.09516, allocations: 175.3 kB / 363.2 MB, free: 8.359 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002354/0.0954, allocations: 191.2 kB / 363.4 MB, free: 8.172 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.735e-05/0.09547, allocations: 28 kB / 363.4 MB, free: 8.145 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001395/0.09561, allocations: 63.92 kB / 363.5 MB, free: 8.082 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.44e-05/0.09571, allocations: 75.69 kB / 363.6 MB, free: 8.008 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001821/0.09589, allocations: 187 kB / 363.7 MB, free: 7.824 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004278/0.09633, allocations: 454.7 kB / 364.2 MB, free: 7.379 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.788e-06/0.09634, allocations: 3.938 kB / 364.2 MB, free: 7.375 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.12e-07/0.09635, allocations: 0 / 364.2 MB, free: 7.375 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.363e-05/0.09637, allocations: 0 / 364.2 MB, free: 7.375 MB / 302.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.0009274/0.0973, allocations: 0.6752 MB / 364.9 MB, free: 6.652 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.09734, allocations: 12.03 kB / 364.9 MB, free: 6.641 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.187e-05/0.09744, allocations: 67.19 kB / 364.9 MB, free: 6.566 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.446e-05/0.09753, allocations: 48.38 kB / 365 MB, free: 6.52 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003675/0.09791, allocations: 320.5 kB / 365.3 MB, free: 6.168 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.353e-05/0.09794, allocations: 20.94 kB / 365.3 MB, free: 6.148 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.8e-05/0.09799, allocations: 39.92 kB / 365.4 MB, free: 6.109 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004642/0.09846, allocations: 303.1 kB / 365.7 MB, free: 5.789 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.9e-05/0.09849, allocations: 4 kB / 365.7 MB, free: 5.785 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.792e-05/0.09853, allocations: 12 kB / 365.7 MB, free: 5.773 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.09854, allocations: 4 kB / 365.7 MB, free: 5.77 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003216/0.09887, allocations: 186.1 kB / 365.9 MB, free: 5.59 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001264/0.1001, allocations: 0.8676 MB / 366.7 MB, free: 4.652 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000489/0.1006, allocations: 266.7 kB / 367 MB, free: 4.387 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001617/0.1008, allocations: 97.39 kB / 367.1 MB, free: 4.289 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.729e-05/0.1009, allocations: 12.2 kB / 367.1 MB, free: 4.277 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003153/0.1012, allocations: 170.5 kB / 367.3 MB, free: 4.102 MB / 302.1 MB Notification: Performance of pre-optimization done (n=34): time 1.823e-06/0.1012, allocations: 0 / 367.3 MB, free: 4.102 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.002116/0.1033, allocations: 1.312 MB / 368.6 MB, free: 2.68 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.746e-05/0.1034, allocations: 187.9 kB / 368.8 MB, free: 2.453 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003123/0.1037, allocations: 332.5 kB / 369.1 MB, free: 2.121 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.806e-05/0.1038, allocations: 33.7 kB / 369.1 MB, free: 2.082 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001164/0.1039, allocations: 196.5 kB / 369.3 MB, free: 1.883 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.376e-05/0.104, allocations: 134 kB / 369.4 MB, free: 1.75 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.836e-05/0.1041, allocations: 78.03 kB / 369.5 MB, free: 1.668 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.1042, allocations: 354.7 kB / 369.9 MB, free: 1.312 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001676/0.1044, allocations: 88.84 kB / 369.9 MB, free: 1.227 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002253/0.1046, allocations: 185.2 kB / 370.1 MB, free: 1.008 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003679/0.105, allocations: 246.2 kB / 370.4 MB, free: 0.7539 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.105, allocations: 0 / 370.4 MB, free: 0.7539 MB / 302.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005483/0.1056, allocations: 350.6 kB / 370.7 MB, free: 412 kB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.1056, allocations: 8 kB / 370.7 MB, free: 404 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.1056, allocations: 4 kB / 370.7 MB, free: 400 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.683e-05/0.1057, allocations: 20.84 kB / 370.7 MB, free: 376 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003297/0.106, allocations: 87.91 kB / 370.8 MB, free: 288 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1466/0.2527, allocations: 1.378 MB / 372.2 MB, free: 18.87 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000308/0.253, allocations: 16.56 kB / 372.2 MB, free: 18.87 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.842e-05/0.253, allocations: 19.53 kB / 372.2 MB, free: 18.86 MB / 302.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.0002121/0.2533, allocations: 167.6 kB / 372.4 MB, free: 18.75 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.31e-05/0.2533, allocations: 37.62 kB / 372.4 MB, free: 18.75 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.569e-05/0.2534, allocations: 44.72 kB / 372.5 MB, free: 18.73 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.2534, allocations: 4.094 kB / 372.5 MB, free: 18.73 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.2534, allocations: 2.281 kB / 372.5 MB, free: 18.73 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005327/0.254, allocations: 0.6605 MB / 373.1 MB, free: 18.2 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001082/0.2551, allocations: 0.8538 MB / 374 MB, free: 17.87 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.87e-06/0.2551, allocations: 6.062 kB / 374 MB, free: 17.86 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003219/0.2554, allocations: 75.5 kB / 374.1 MB, free: 17.86 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.082e-06/0.2554, allocations: 4 kB / 374.1 MB, free: 17.86 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.377e-05/0.2555, allocations: 8.781 kB / 374.1 MB, free: 17.86 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.2555, allocations: 3.469 kB / 374.1 MB, free: 17.86 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.2555, allocations: 6.094 kB / 374.1 MB, free: 17.86 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006638/0.2562, allocations: 0.5413 MB / 374.6 MB, free: 17.69 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000108/0.2563, allocations: 140 kB / 374.8 MB, free: 17.59 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.05e-05/0.2563, allocations: 21.42 kB / 374.8 MB, free: 17.59 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002173/0.2566, allocations: 15.08 kB / 374.8 MB, free: 17.59 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.405e-05/0.2566, allocations: 27.86 kB / 374.8 MB, free: 17.59 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.919e-05/0.2567, allocations: 16.55 kB / 374.9 MB, free: 17.59 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002111/0.2569, allocations: 244.4 kB / 375.1 MB, free: 17.49 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2569, allocations: 0 / 375.1 MB, free: 17.49 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003942/0.2573, allocations: 96.06 kB / 375.2 MB, free: 17.48 MB / 302.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.001698/0.259, allocations: 1.4 MB / 376.6 MB, free: 16.57 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000641/0.2596, allocations: 390.5 kB / 377 MB, free: 16.37 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.2597, allocations: 3.625 kB / 377 MB, free: 16.37 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002052/0.2599, allocations: 131.6 kB / 377.1 MB, free: 16.33 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005389/0.2604, allocations: 90.66 kB / 377.2 MB, free: 16.3 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00376/0.2642, allocations: 3.698 MB / 380.9 MB, free: 13.94 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000235/0.2644, allocations: 0.8071 MB / 381.7 MB, free: 13.23 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000195/0.2646, allocations: 50.69 kB / 381.7 MB, free: 13.22 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001555/0.2648, allocations: 133.9 kB / 381.9 MB, free: 13.12 MB / 302.1 MB Notification: Performance of SimCode: time 3.4e-07/0.2648, allocations: 0 / 381.9 MB, free: 13.12 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02931/0.2941, allocations: 9.198 MB / 391.1 MB, free: 10.45 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.86/11.16, allocations: 10.19 kB / 391.1 MB, free: 10.44 MB / 302.1 MB (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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_TestCylinder.fmu > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.csv","/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