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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001684/0.001684, allocations: 123.4 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002218/0.002218, allocations: 207.5 kB / 20.75 MB, free: 2.312 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.467/1.467, allocations: 230.4 MB / 254 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 178] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001882/0.001882, allocations: 71.88 kB / 373 MB, free: 10.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.102, allocations: 53.37 MB / 426.3 MB, free: 4.625 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.004624/0.1066, allocations: 3.039 MB / 429.4 MB, free: 1.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00245/0.1091, allocations: 1.421 MB / 430.8 MB, free: 144 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001455/0.1092, allocations: 11.88 kB / 430.8 MB, free: 132 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.1747/0.284, allocations: 137.6 kB / 430.9 MB, free: 7.645 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007613/0.2847, allocations: 217 kB / 431.2 MB, free: 7.645 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003664/0.2851, allocations: 140.8 kB / 431.3 MB, free: 7.645 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004615/0.2856, allocations: 446.5 kB / 431.7 MB, free: 7.645 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001591/0.2857, allocations: 73.39 kB / 431.8 MB, free: 7.637 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002008/0.2859, allocations: 182.5 kB / 432 MB, free: 7.613 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002222/0.2861, allocations: 193.4 kB / 432.2 MB, free: 7.57 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.23e-05/0.2862, allocations: 29.41 kB / 432.2 MB, free: 7.57 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001461/0.2863, allocations: 54.53 kB / 432.3 MB, free: 7.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.427e-05/0.2864, allocations: 88.8 kB / 432.3 MB, free: 7.555 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000145/0.2866, allocations: 190.8 kB / 432.5 MB, free: 7.496 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004126/0.287, allocations: 452.2 kB / 433 MB, free: 7.418 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.287, allocations: 0.875 kB / 433 MB, free: 7.418 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.01e-07/0.287, allocations: 0 / 433 MB, free: 7.418 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.287, allocations: 0 / 433 MB, free: 7.418 MB / 350.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.0008194/0.2878, allocations: 0.6951 MB / 433.7 MB, free: 6.902 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.2879, allocations: 10.25 kB / 433.7 MB, free: 6.902 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.794e-05/0.2879, allocations: 75.28 kB / 433.7 MB, free: 6.859 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.079e-05/0.288, allocations: 50.2 kB / 433.8 MB, free: 6.836 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003246/0.2883, allocations: 327.8 kB / 434.1 MB, free: 6.59 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.185e-05/0.2884, allocations: 22.78 kB / 434.1 MB, free: 6.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.827e-05/0.2884, allocations: 24.16 kB / 434.2 MB, free: 6.59 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004353/0.2888, allocations: 310.3 kB / 434.5 MB, free: 6.504 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.779e-05/0.2889, allocations: 5.812 kB / 434.5 MB, free: 6.5 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.803e-05/0.2889, allocations: 12.56 kB / 434.5 MB, free: 6.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.957e-06/0.2889, allocations: 6.312 kB / 434.5 MB, free: 6.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003154/0.2892, allocations: 187.2 kB / 434.7 MB, free: 6.496 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001165/0.2904, allocations: 0.8705 MB / 435.5 MB, free: 6.113 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005309/0.2909, allocations: 237.8 kB / 435.8 MB, free: 6.09 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000157/0.2911, allocations: 91.05 kB / 435.9 MB, free: 6.082 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.963e-05/0.2911, allocations: 6.656 kB / 435.9 MB, free: 6.082 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002679/0.2914, allocations: 158.3 kB / 436 MB, free: 6.035 MB / 350.1 MB Notification: Performance of pre-optimization done (n=34): time 1.673e-06/0.2914, allocations: 0.8125 kB / 436 MB, free: 6.035 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.002018/0.2934, allocations: 1.323 MB / 437.3 MB, free: 5.387 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.899e-05/0.2934, allocations: 188.8 kB / 437.5 MB, free: 5.168 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003128/0.2937, allocations: 333.8 kB / 437.9 MB, free: 5.062 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.48e-05/0.2938, allocations: 40.41 kB / 437.9 MB, free: 5.027 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.04e-05/0.2939, allocations: 193.2 kB / 438.1 MB, free: 4.863 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.096e-05/0.2939, allocations: 146.3 kB / 438.2 MB, free: 4.75 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.702e-05/0.294, allocations: 74.88 kB / 438.3 MB, free: 4.707 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.661e-05/0.2941, allocations: 348.3 kB / 438.6 MB, free: 4.379 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001871/0.2943, allocations: 88.55 kB / 438.7 MB, free: 4.352 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002187/0.2945, allocations: 184 kB / 438.9 MB, free: 4.215 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003566/0.2949, allocations: 248.4 kB / 439.1 MB, free: 4.082 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.2949, allocations: 4.625 kB / 439.2 MB, free: 4.078 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005692/0.2954, allocations: 354.1 kB / 439.5 MB, free: 3.922 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.2955, allocations: 7.5 kB / 439.5 MB, free: 3.922 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.2955, allocations: 0 / 439.5 MB, free: 3.922 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.477e-05/0.2955, allocations: 20.78 kB / 439.5 MB, free: 3.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003295/0.2959, allocations: 89.56 kB / 439.6 MB, free: 3.906 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008113/0.2967, allocations: 1.394 MB / 441 MB, free: 2.496 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001821/0.2969, allocations: 19.12 kB / 441 MB, free: 2.484 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.154e-05/0.2969, allocations: 10.03 kB / 441 MB, free: 2.484 MB / 350.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.0001525/0.297, allocations: 167.9 kB / 441.2 MB, free: 2.34 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.895e-05/0.2971, allocations: 41.06 kB / 441.2 MB, free: 2.32 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.571e-05/0.2972, allocations: 46.2 kB / 441.3 MB, free: 2.285 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.2972, allocations: 7.938 kB / 441.3 MB, free: 2.281 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.2972, allocations: 1.625 kB / 441.3 MB, free: 2.281 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005245/0.2977, allocations: 0.6656 MB / 442 MB, free: 1.664 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001154/0.2989, allocations: 0.8484 MB / 442.8 MB, free: 1.137 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.2989, allocations: 5.188 kB / 442.8 MB, free: 1.133 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003164/0.2992, allocations: 76.2 kB / 442.9 MB, free: 1.129 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.329e-06/0.2992, allocations: 3.531 kB / 442.9 MB, free: 1.129 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.277e-05/0.2992, allocations: 13.97 kB / 442.9 MB, free: 1.121 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.2992, allocations: 4.312 kB / 442.9 MB, free: 1.121 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.686e-06/0.2992, allocations: 5.594 kB / 442.9 MB, free: 1.121 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008051/0.3, allocations: 0.5521 MB / 443.5 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001258/0.3002, allocations: 134.7 kB / 443.6 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.688e-05/0.3002, allocations: 14.42 kB / 443.6 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002154/0.3004, allocations: 13.52 kB / 443.6 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.954e-05/0.3005, allocations: 28.69 kB / 443.7 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.495e-05/0.3005, allocations: 18.48 kB / 443.7 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002473/0.3008, allocations: 241.8 kB / 443.9 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3008, allocations: 0 / 443.9 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004221/0.3012, allocations: 97.31 kB / 444 MB, free: 0.4961 MB / 350.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.002461/0.3037, allocations: 1.406 MB / 445.4 MB, free: 15.56 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000679/0.3043, allocations: 364.5 kB / 445.8 MB, free: 15.37 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.3043, allocations: 1.062 kB / 445.8 MB, free: 15.37 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002299/0.3046, allocations: 123.8 kB / 445.9 MB, free: 15.33 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005793/0.3052, allocations: 103.5 kB / 446 MB, free: 15.29 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005031/0.3102, allocations: 3.65 MB / 449.6 MB, free: 12.96 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004776/0.3107, allocations: 0.804 MB / 450.4 MB, free: 12.25 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001934/0.3109, allocations: 44.41 kB / 450.5 MB, free: 12.25 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002619/0.3111, allocations: 136.3 kB / 450.6 MB, free: 12.15 MB / 366.1 MB Notification: Performance of SimCode: time 7.81e-07/0.3111, allocations: 5.562 kB / 450.6 MB, free: 12.14 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04072/0.3518, allocations: 9.454 MB / 460.1 MB, free: 9.363 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.1/12.46, allocations: 5.922 kB / 460.1 MB, free: 9.359 MB / 366.1 MB " [Timeout remaining time 647] (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) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "Error: Could not read variable cylinder1.H in file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.csv. Warning: Get data of variable cylinder1.H from file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.csv failed! Error: Could not read variable cylinder1.m in file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.csv. Warning: Get data of variable cylinder1.m from file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.csv failed! Error: Could not read variable cylinder2.H in file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.csv. Warning: Get data of variable cylinder2.H from file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.csv failed! Error: Could not read variable springDamper.s_rel in file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.csv. Warning: Get data of variable springDamper.s_rel from file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.csv failed! Error: Could not read variable springDamper.v_rel in file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.csv. Warning: Get data of variable springDamper.v_rel from file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.03805201605428]