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.001213/0.001213, allocations: 109.1 kB / 21.22 MB, free: 0.6484 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.00128/0.00128, allocations: 209.5 kB / 24.52 MB, free: 3.941 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.347/1.347, allocations: 230.5 MB / 258.2 MB, free: 7.82 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_TestCylinder",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001743/0.001743, allocations: 63.91 kB / 378.5 MB, free: 2.863 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2285/0.2302, allocations: 53.4 MB / 431.9 MB, free: 6.492 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.004165/0.2344, allocations: 2.827 MB / 434.7 MB, free: 3.66 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00211/0.2365, allocations: 1.328 MB / 436 MB, free: 2.324 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001236/0.2366, allocations: 11.94 kB / 436.1 MB, free: 2.312 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003935/0.237, allocations: 143.1 kB / 436.2 MB, free: 2.172 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004831/0.2375, allocations: 214.7 kB / 436.4 MB, free: 1.961 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002876/0.2378, allocations: 143.6 kB / 436.5 MB, free: 1.82 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005219/0.2383, allocations: 446 kB / 437 MB, free: 1.383 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001614/0.2385, allocations: 82.38 kB / 437.1 MB, free: 1.305 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002065/0.2387, allocations: 183.3 kB / 437.2 MB, free: 1.125 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002515/0.2389, allocations: 183.2 kB / 437.4 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.898e-05/0.239, allocations: 28 kB / 437.4 MB, free: 0.918 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000127/0.2391, allocations: 63.92 kB / 437.5 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001053/0.2392, allocations: 79.69 kB / 437.6 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001665/0.2394, allocations: 163.1 kB / 437.7 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005008/0.2399, allocations: 458.1 kB / 438.2 MB, free: 172 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.2399, allocations: 4 kB / 438.2 MB, free: 168 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2399, allocations: 4 kB / 438.2 MB, free: 164 kB / 334.1 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.2399, allocations: 0 / 438.2 MB, free: 164 kB / 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.0009523/0.2408, allocations: 0.6149 MB / 438.8 MB, free: 15.51 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.249e-05/0.2409, allocations: 12.03 kB / 438.8 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.608e-05/0.2409, allocations: 12.8 kB / 438.8 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001473/0.241, allocations: 79.31 kB / 438.9 MB, free: 15.4 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.59e-05/0.2411, allocations: 56.59 kB / 439 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004081/0.2415, allocations: 258.3 kB / 439.2 MB, free: 15.07 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.347e-05/0.2416, allocations: 21.03 kB / 439.2 MB, free: 15.05 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.729e-05/0.2416, allocations: 36.33 kB / 439.3 MB, free: 15.02 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006529/0.2423, allocations: 0.5466 MB / 439.8 MB, free: 14.39 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.143e-05/0.2423, allocations: 4 kB / 439.8 MB, free: 14.38 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.318e-05/0.2423, allocations: 16 kB / 439.8 MB, free: 14.37 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.2423, allocations: 8 kB / 439.9 MB, free: 14.36 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003557/0.2427, allocations: 206.4 kB / 440.1 MB, free: 14.16 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001361/0.2441, allocations: 0.8243 MB / 440.9 MB, free: 13.28 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005391/0.2446, allocations: 260.6 kB / 441.1 MB, free: 13.01 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002085/0.2448, allocations: 124.8 kB / 441.3 MB, free: 12.89 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.687e-05/0.2448, allocations: 11.94 kB / 441.3 MB, free: 12.88 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003902/0.2452, allocations: 290.7 kB / 441.6 MB, free: 12.55 MB / 350.1 MB Notification: Performance of pre-optimization done (n=44): time 1.833e-06/0.2452, allocations: 0 / 441.6 MB, free: 12.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=60): time 0.003719/0.2489, allocations: 1.718 MB / 443.3 MB, free: 10.76 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001102/0.249, allocations: 196.4 kB / 443.5 MB, free: 10.53 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003611/0.2494, allocations: 340.4 kB / 443.8 MB, free: 10.19 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.141e-05/0.2495, allocations: 45.62 kB / 443.8 MB, free: 10.14 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001462/0.2496, allocations: 189 kB / 444 MB, free: 9.953 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000169/0.2498, allocations: 210.2 kB / 444.2 MB, free: 9.746 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001401/0.2499, allocations: 98.34 kB / 444.3 MB, free: 9.645 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000173/0.2501, allocations: 358.7 kB / 444.7 MB, free: 9.285 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002367/0.2503, allocations: 117.3 kB / 444.8 MB, free: 9.168 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000379/0.2507, allocations: 356.2 kB / 445.1 MB, free: 8.762 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005317/0.2512, allocations: 348.7 kB / 445.5 MB, free: 8.41 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.2512, allocations: 0 / 445.5 MB, free: 8.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0007266/0.252, allocations: 461.8 kB / 445.9 MB, free: 7.949 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.252, allocations: 7.938 kB / 445.9 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.252, allocations: 0 / 445.9 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.788e-05/0.2521, allocations: 24.84 kB / 446 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004503/0.2525, allocations: 131.9 kB / 446.1 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001136/0.2536, allocations: 1.287 MB / 447.4 MB, free: 6.379 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002068/0.2538, allocations: 16.03 kB / 447.4 MB, free: 6.363 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.658e-05/0.2539, allocations: 16 kB / 447.4 MB, free: 6.348 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.0002099/0.2541, allocations: 189.4 kB / 447.6 MB, free: 6.156 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.06e-05/0.2542, allocations: 55.61 kB / 447.6 MB, free: 6.102 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007861/0.255, allocations: 459.5 kB / 448.1 MB, free: 5.637 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.224e-06/0.255, allocations: 8 kB / 448.1 MB, free: 5.629 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.783e-06/0.255, allocations: 0 / 448.1 MB, free: 5.629 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008284/0.2558, allocations: 0.7664 MB / 448.9 MB, free: 4.762 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001631/0.2574, allocations: 1.027 MB / 449.9 MB, free: 3.668 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.985e-06/0.2574, allocations: 7.938 kB / 449.9 MB, free: 3.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004537/0.2579, allocations: 119.8 kB / 450 MB, free: 3.543 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.56e-06/0.2579, allocations: 4 kB / 450 MB, free: 3.539 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.92e-05/0.2579, allocations: 12 kB / 450 MB, free: 3.527 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.434e-06/0.2579, allocations: 4 kB / 450 MB, free: 3.523 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.2579, allocations: 4 kB / 450 MB, free: 3.52 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001024/0.259, allocations: 0.7368 MB / 450.8 MB, free: 2.746 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001541/0.2591, allocations: 75.67 kB / 450.9 MB, free: 2.672 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.768e-05/0.2592, allocations: 16 kB / 450.9 MB, free: 2.656 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002458/0.2594, allocations: 23.94 kB / 450.9 MB, free: 2.633 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.376e-05/0.2595, allocations: 40.42 kB / 450.9 MB, free: 2.594 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.919e-05/0.2595, allocations: 19.94 kB / 451 MB, free: 2.574 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002637/0.2598, allocations: 255 kB / 451.2 MB, free: 2.32 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2598, allocations: 0 / 451.2 MB, free: 2.32 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004228/0.2602, allocations: 119.9 kB / 451.3 MB, free: 2.203 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.002765/0.263, allocations: 1.622 MB / 452.9 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007585/0.2637, allocations: 461.9 kB / 453.4 MB, free: 240 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.2638, allocations: 0 / 453.4 MB, free: 240 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000304/0.2641, allocations: 191.2 kB / 453.6 MB, free: 52 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005663/0.2646, allocations: 107.1 kB / 453.7 MB, free: 15.95 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005199/0.2698, allocations: 4.091 MB / 457.8 MB, free: 11.7 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002127/0.27, allocations: 221.9 kB / 458 MB, free: 11.46 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001873/0.2702, allocations: 63.41 kB / 458.1 MB, free: 11.4 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002355/0.2705, allocations: 151.4 kB / 458.2 MB, free: 11.25 MB / 366.1 MB Notification: Performance of SimCode: time 7.61e-07/0.2705, allocations: 4 kB / 458.2 MB, free: 11.25 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03636/0.3068, allocations: 11.43 MB / 469.6 MB, free: 15.94 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.68/12.99, allocations: 10.27 kB / 469.7 MB, free: 15.93 MB / 382.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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.mat --tempDir=temp_Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_TestCylinder_fmu --startTime=0 --stopTime=2 --stepSize=0.001 --timeout=50 --tolerance=1e-06 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.mat","/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.m in file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.mat. Warning: Get data of variable cylinder1.m from file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.421587012941018]