Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00144/0.00144, allocations: 101.5 kB / 21.21 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001325/0.001325, allocations: 189.5 kB / 24.49 MB, free: 3.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.311/1.311, allocations: 225.7 MB / 253.3 MB, free: 12.83 MB / 206.1 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_TestCylinder",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_TestCylinder",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001459/0.001459, allocations: 43.92 kB / 371.2 MB, free: 9.699 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2207/0.2221, allocations: 52.18 MB / 423.3 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.004138/0.2263, allocations: 2.819 MB / 426.2 MB, free: 11.57 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001913/0.2282, allocations: 1.188 MB / 427.3 MB, free: 10.38 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000125/0.2283, allocations: 7.938 kB / 427.4 MB, free: 10.37 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004124/0.2287, allocations: 135.2 kB / 427.5 MB, free: 10.24 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004012/0.2291, allocations: 178.9 kB / 427.7 MB, free: 10.06 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003912/0.2295, allocations: 175.5 kB / 427.8 MB, free: 9.891 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004893/0.23, allocations: 438 kB / 428.3 MB, free: 9.461 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001563/0.2302, allocations: 74.06 kB / 428.3 MB, free: 9.391 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002001/0.2304, allocations: 179.3 kB / 428.5 MB, free: 9.215 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002454/0.2306, allocations: 187.2 kB / 428.7 MB, free: 9.031 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.644e-05/0.2307, allocations: 31.94 kB / 428.7 MB, free: 9 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001218/0.2308, allocations: 55.98 kB / 428.8 MB, free: 8.945 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001035/0.2309, allocations: 87.62 kB / 428.9 MB, free: 8.859 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001603/0.231, allocations: 147.3 kB / 429 MB, free: 8.715 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004947/0.2315, allocations: 458.1 kB / 429.5 MB, free: 8.266 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.2315, allocations: 0 / 429.5 MB, free: 8.266 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.2315, allocations: 3.938 kB / 429.5 MB, free: 8.262 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.013e-05/0.2315, allocations: 0 / 429.5 MB, free: 8.262 MB / 334.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.0009805/0.2325, allocations: 0.6072 MB / 430.1 MB, free: 7.625 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.141e-05/0.2326, allocations: 12.03 kB / 430.1 MB, free: 7.613 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.712e-05/0.2326, allocations: 16.8 kB / 430.1 MB, free: 7.594 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.674e-05/0.2327, allocations: 79.31 kB / 430.2 MB, free: 7.508 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.41e-05/0.2328, allocations: 48.66 kB / 430.2 MB, free: 7.461 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004194/0.2332, allocations: 258.3 kB / 430.5 MB, free: 7.188 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.249e-05/0.2332, allocations: 28.78 kB / 430.5 MB, free: 7.16 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.665e-05/0.2333, allocations: 31.95 kB / 430.5 MB, free: 7.129 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006512/0.2339, allocations: 0.5466 MB / 431.1 MB, free: 6.504 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.07e-05/0.234, allocations: 12 kB / 431.1 MB, free: 6.492 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.398e-05/0.234, allocations: 8 kB / 431.1 MB, free: 6.484 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/0.234, allocations: 8 kB / 431.1 MB, free: 6.477 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003478/0.2343, allocations: 198.5 kB / 431.3 MB, free: 6.285 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001359/0.2357, allocations: 0.8204 MB / 432.1 MB, free: 5.406 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005426/0.2362, allocations: 264.9 kB / 432.4 MB, free: 5.137 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002124/0.2365, allocations: 132.1 kB / 432.5 MB, free: 5.008 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.432e-05/0.2365, allocations: 11.94 kB / 432.5 MB, free: 4.996 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003869/0.2369, allocations: 290.7 kB / 432.8 MB, free: 4.676 MB / 334.1 MB Notification: Performance of pre-optimization done (n=44): time 2.103e-06/0.2369, allocations: 0 / 432.8 MB, free: 4.676 MB / 334.1 MB Notification: Performance of matching and sorting (n=60): time 0.003652/0.2405, allocations: 1.73 MB / 434.5 MB, free: 2.867 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001099/0.2406, allocations: 192.4 kB / 434.7 MB, free: 2.637 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003499/0.241, allocations: 328.5 kB / 435 MB, free: 2.309 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.179e-05/0.241, allocations: 37.7 kB / 435.1 MB, free: 2.266 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000162/0.2412, allocations: 189 kB / 435.3 MB, free: 2.078 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001672/0.2414, allocations: 222.1 kB / 435.5 MB, free: 1.859 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001321/0.2415, allocations: 90.34 kB / 435.6 MB, free: 1.766 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001576/0.2416, allocations: 354.8 kB / 435.9 MB, free: 1.41 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002327/0.2419, allocations: 125.2 kB / 436 MB, free: 1.285 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003978/0.2423, allocations: 356.2 kB / 436.4 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005235/0.2428, allocations: 348.6 kB / 436.7 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.2428, allocations: 0 / 436.7 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0007013/0.2435, allocations: 461.8 kB / 437.2 MB, free: 64 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.2435, allocations: 4 kB / 437.2 MB, free: 60 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.2435, allocations: 0 / 437.2 MB, free: 60 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.457e-05/0.2436, allocations: 24.98 kB / 437.2 MB, free: 32 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004615/0.2441, allocations: 127.8 kB / 437.3 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001158/0.2452, allocations: 1.279 MB / 438.6 MB, free: 14.51 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002027/0.2454, allocations: 23.97 kB / 438.6 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.128e-05/0.2455, allocations: 16 kB / 438.6 MB, free: 14.47 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 (69): * Single equations (assignments): 68 * 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.0002023/0.2457, allocations: 173.9 kB / 438.8 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.24e-05/0.2457, allocations: 51.64 kB / 438.9 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008172/0.2466, allocations: 463.4 kB / 439.3 MB, free: 13.78 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.114e-06/0.2466, allocations: 8 kB / 439.3 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.674e-06/0.2466, allocations: 64 / 439.3 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008157/0.2474, allocations: 0.7703 MB / 440.1 MB, free: 12.9 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00162/0.249, allocations: 1.027 MB / 441.1 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.249, allocations: 3.938 kB / 441.1 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000447/0.2494, allocations: 115.8 kB / 441.2 MB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.123e-06/0.2495, allocations: 4 kB / 441.2 MB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.469e-05/0.2495, allocations: 19.98 kB / 441.3 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-06/0.2495, allocations: 4 kB / 441.3 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.2495, allocations: 192 / 441.3 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001039/0.2505, allocations: 0.7366 MB / 442 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001436/0.2507, allocations: 75.72 kB / 442.1 MB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.892e-05/0.2507, allocations: 19.98 kB / 442.1 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002424/0.251, allocations: 16 kB / 442.1 MB, free: 10.78 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.819e-05/0.2511, allocations: 44.42 kB / 442.2 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.978e-05/0.2511, allocations: 20 kB / 442.2 MB, free: 10.71 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002532/0.2514, allocations: 239 kB / 442.4 MB, free: 10.48 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2514, allocations: 0 / 442.4 MB, free: 10.48 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004234/0.2518, allocations: 119.9 kB / 442.5 MB, free: 10.36 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 5 ($outputAlias_s1,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 (62): * Single equations (assignments): 60 * 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.00282/0.2546, allocations: 1.641 MB / 444.2 MB, free: 8.855 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007787/0.2554, allocations: 469.8 kB / 444.6 MB, free: 8.391 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.2554, allocations: 4 kB / 444.6 MB, free: 8.387 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003099/0.2557, allocations: 187.1 kB / 444.8 MB, free: 8.203 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000586/0.2563, allocations: 98.84 kB / 444.9 MB, free: 8.105 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005475/0.2618, allocations: 4.071 MB / 449 MB, free: 3.891 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002276/0.262, allocations: 221.9 kB / 449.2 MB, free: 3.656 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002099/0.2622, allocations: 59.44 kB / 449.3 MB, free: 3.598 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002419/0.2624, allocations: 159.4 kB / 449.4 MB, free: 3.441 MB / 350.1 MB Notification: Performance of SimCode: time 7.31e-07/0.2624, allocations: 0 / 449.4 MB, free: 3.441 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0368/0.2992, allocations: 11.35 MB / 460.8 MB, free: 8.273 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.77/13.07, allocations: 11.14 kB / 460.8 MB, free: 8.266 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_TestCylinder_fmu --startTime=0 --stopTime=2 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_TestCylinder.fmu > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.mat","/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_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable cylinder1.m in file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.mat. Warning: Get data of variable cylinder1.m from file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.45358505193144]