Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001287/0.001287, allocations: 123 kB / 17.79 MB, free: 5.246 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001431/0.001431, allocations: 207.2 kB / 20.75 MB, free: 2.297 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.516/1.516, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder,fileNamePrefix="Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_TestCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder,fileNamePrefix="Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_TestCylinder",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001509/0.001509, allocations: 51.92 kB / 373 MB, free: 10.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09751/0.09902, allocations: 53.33 MB / 426.3 MB, free: 4.801 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.004755/0.1038, allocations: 3.036 MB / 429.3 MB, free: 1.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002731/0.1065, allocations: 1.418 MB / 430.8 MB, free: 332 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001904/0.1067, allocations: 7.938 kB / 430.8 MB, free: 324 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004722/0.1072, allocations: 147.1 kB / 430.9 MB, free: 176 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.1815/0.2887, allocations: 209.8 kB / 431.1 MB, free: 7.617 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004796/0.2891, allocations: 143.4 kB / 431.3 MB, free: 7.617 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006592/0.2898, allocations: 439 kB / 431.7 MB, free: 7.617 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001905/0.29, allocations: 73.36 kB / 431.8 MB, free: 7.609 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002554/0.2903, allocations: 186.6 kB / 431.9 MB, free: 7.586 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000244/0.2905, allocations: 193.6 kB / 432.1 MB, free: 7.543 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.024e-05/0.2905, allocations: 28.84 kB / 432.2 MB, free: 7.543 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001493/0.2907, allocations: 62.53 kB / 432.2 MB, free: 7.543 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.718e-05/0.2908, allocations: 84.44 kB / 432.3 MB, free: 7.527 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001535/0.2909, allocations: 186 kB / 432.5 MB, free: 7.469 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004717/0.2914, allocations: 458.8 kB / 432.9 MB, free: 7.391 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.2914, allocations: 0 / 432.9 MB, free: 7.391 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.2914, allocations: 3.156 kB / 432.9 MB, free: 7.391 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.546e-05/0.2914, allocations: 0 / 432.9 MB, free: 7.391 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.0008562/0.2923, allocations: 0.6866 MB / 433.6 MB, free: 6.875 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.2923, allocations: 10.72 kB / 433.6 MB, free: 6.875 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.472e-05/0.2924, allocations: 76.97 kB / 433.7 MB, free: 6.832 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.989e-05/0.2925, allocations: 47.72 kB / 433.7 MB, free: 6.809 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003713/0.2929, allocations: 327 kB / 434.1 MB, free: 6.562 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.409e-05/0.2929, allocations: 19 kB / 434.1 MB, free: 6.562 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.756e-05/0.2929, allocations: 27.81 kB / 434.1 MB, free: 6.562 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004709/0.2934, allocations: 314.3 kB / 434.4 MB, free: 6.477 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.873e-05/0.2934, allocations: 5.234 kB / 434.4 MB, free: 6.473 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.931e-05/0.2934, allocations: 14.62 kB / 434.4 MB, free: 6.473 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.2935, allocations: 7.781 kB / 434.4 MB, free: 6.473 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003174/0.2938, allocations: 182.3 kB / 434.6 MB, free: 6.473 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001168/0.2949, allocations: 0.8712 MB / 435.5 MB, free: 6.09 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005242/0.2955, allocations: 240.9 kB / 435.7 MB, free: 6.066 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001595/0.2956, allocations: 93.5 kB / 435.8 MB, free: 6.059 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.463e-05/0.2957, allocations: 6.875 kB / 435.8 MB, free: 6.059 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002786/0.2959, allocations: 155.4 kB / 436 MB, free: 6.012 MB / 350.1 MB Notification: Performance of pre-optimization done (n=34): time 1.714e-06/0.2959, allocations: 4.906 kB / 436 MB, free: 6.008 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.002175/0.2981, allocations: 1.324 MB / 437.3 MB, free: 5.359 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.53e-05/0.2982, allocations: 189.6 kB / 437.5 MB, free: 5.141 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003348/0.2985, allocations: 333.3 kB / 437.8 MB, free: 5.035 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.788e-05/0.2985, allocations: 35.36 kB / 437.9 MB, free: 5.004 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/0.2986, allocations: 192.1 kB / 438 MB, free: 4.891 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.467e-05/0.2987, allocations: 147.8 kB / 438.2 MB, free: 4.797 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.825e-05/0.2988, allocations: 73.58 kB / 438.3 MB, free: 4.754 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.989e-05/0.2989, allocations: 356.6 kB / 438.6 MB, free: 4.418 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000174/0.2991, allocations: 86.06 kB / 438.7 MB, free: 4.391 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002245/0.2993, allocations: 178.5 kB / 438.9 MB, free: 4.262 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003635/0.2996, allocations: 251.4 kB / 439.1 MB, free: 4.129 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.2997, allocations: 3.969 kB / 439.1 MB, free: 4.129 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005489/0.3002, allocations: 347.6 kB / 439.5 MB, free: 3.973 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.3002, allocations: 7.188 kB / 439.5 MB, free: 3.973 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.3002, allocations: 6.141 kB / 439.5 MB, free: 3.969 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.991e-05/0.3003, allocations: 23.47 kB / 439.5 MB, free: 3.957 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003449/0.3007, allocations: 88.27 kB / 439.6 MB, free: 3.953 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007898/0.3014, allocations: 1.391 MB / 441 MB, free: 2.547 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000218/0.3017, allocations: 15.39 kB / 441 MB, free: 2.539 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.193e-05/0.3017, allocations: 13.62 kB / 441 MB, free: 2.535 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.0001634/0.3019, allocations: 166.6 kB / 441.2 MB, free: 2.395 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.09e-05/0.3019, allocations: 48.36 kB / 441.2 MB, free: 2.367 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.678e-05/0.302, allocations: 44.88 kB / 441.2 MB, free: 2.332 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.302, allocations: 5.188 kB / 441.3 MB, free: 2.332 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.302, allocations: 0.9688 kB / 441.3 MB, free: 2.332 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005086/0.3025, allocations: 0.6651 MB / 441.9 MB, free: 1.715 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001089/0.3036, allocations: 0.8516 MB / 442.8 MB, free: 1.184 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.646e-06/0.3036, allocations: 1.812 kB / 442.8 MB, free: 1.184 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000325/0.3039, allocations: 80.42 kB / 442.9 MB, free: 1.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.3039, allocations: 2.812 kB / 442.9 MB, free: 1.18 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.358e-05/0.304, allocations: 8.438 kB / 442.9 MB, free: 1.176 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.639e-06/0.304, allocations: 3.875 kB / 442.9 MB, free: 1.176 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.304, allocations: 1.531 kB / 442.9 MB, free: 1.176 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007736/0.3047, allocations: 0.5532 MB / 443.4 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001573/0.3049, allocations: 138.3 kB / 443.6 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.383e-05/0.305, allocations: 9.266 kB / 443.6 MB, free: 0.707 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002341/0.3052, allocations: 19.27 kB / 443.6 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.702e-05/0.3053, allocations: 33.52 kB / 443.6 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.085e-05/0.3053, allocations: 14.91 kB / 443.6 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002381/0.3055, allocations: 241.4 kB / 443.9 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3055, allocations: 0 / 443.9 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004414/0.306, allocations: 96.73 kB / 444 MB, free: 0.5469 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.002507/0.3085, allocations: 1.402 MB / 445.4 MB, free: 15.63 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008785/0.3094, allocations: 360.8 kB / 445.7 MB, free: 15.45 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/0.3094, allocations: 5.156 kB / 445.7 MB, free: 15.44 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002491/0.3096, allocations: 126.8 kB / 445.8 MB, free: 15.41 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006649/0.3103, allocations: 102.2 kB / 445.9 MB, free: 15.37 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005286/0.3156, allocations: 3.65 MB / 449.6 MB, free: 13.07 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004904/0.316, allocations: 0.8036 MB / 450.4 MB, free: 12.36 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002263/0.3163, allocations: 51.67 kB / 450.4 MB, free: 12.35 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002116/0.3165, allocations: 133.1 kB / 450.6 MB, free: 12.25 MB / 366.1 MB Notification: Performance of SimCode: time 1.022e-06/0.3165, allocations: 0 / 450.6 MB, free: 12.25 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04241/0.3589, allocations: 9.468 MB / 460 MB, free: 9.559 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.31/12.67, allocations: 13.5 kB / 460.1 MB, free: 9.551 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_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_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_TestCylinder.fmu > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.csv. Warning: Get data of variable cylinder1.H from file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.csv failed! Error: Could not read variable cylinder1.m in file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.csv. Warning: Get data of variable cylinder1.m from file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.csv failed! Error: Could not read variable cylinder2.H in file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.csv. Warning: Get data of variable cylinder2.H from file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.csv failed! Error: Could not read variable springDamper.s_rel in file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.csv. Warning: Get data of variable springDamper.s_rel from file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.csv failed! Error: Could not read variable springDamper.v_rel in file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.csv. Warning: Get data of variable springDamper.v_rel from file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.235877363011241]