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.001737/0.001737, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.002216/0.002216, allocations: 207.5 kB / 23.73 MB, free: 4.379 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.395/1.395, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.001472/0.001472, allocations: 47.92 kB / 377.7 MB, free: 2.992 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2209/0.2224, allocations: 53.38 MB / 431.1 MB, free: 6.664 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.004313/0.2267, allocations: 2.816 MB / 433.9 MB, free: 3.836 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002309/0.229, allocations: 1.332 MB / 435.2 MB, free: 2.496 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001341/0.2291, allocations: 7.938 kB / 435.2 MB, free: 2.488 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004242/0.2296, allocations: 151.1 kB / 435.4 MB, free: 2.34 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004925/0.2301, allocations: 214.7 kB / 435.6 MB, free: 2.129 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002892/0.2303, allocations: 139.6 kB / 435.7 MB, free: 1.992 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005141/0.2309, allocations: 442 kB / 436.2 MB, free: 1.559 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001627/0.231, allocations: 86.7 kB / 436.2 MB, free: 1.477 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002134/0.2312, allocations: 179.3 kB / 436.4 MB, free: 1.301 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002689/0.2315, allocations: 187.2 kB / 436.6 MB, free: 1.117 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.053e-05/0.2315, allocations: 35.98 kB / 436.6 MB, free: 1.082 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001183/0.2317, allocations: 63.86 kB / 436.7 MB, free: 1.02 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001073/0.2318, allocations: 79.7 kB / 436.8 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001815/0.232, allocations: 151.2 kB / 436.9 MB, free: 0.793 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005134/0.2325, allocations: 466 kB / 437.4 MB, free: 344 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.2325, allocations: 0 / 437.4 MB, free: 344 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.2325, allocations: 0 / 437.4 MB, free: 344 kB / 334.1 MB Notification: Performance of Transformations before backend: time 7.204e-06/0.2325, allocations: 0 / 437.4 MB, free: 344 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.001038/0.2335, allocations: 0.6188 MB / 438 MB, free: 15.68 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.2336, allocations: 8.031 kB / 438 MB, free: 15.68 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000108/0.2337, allocations: 71.33 kB / 438.1 MB, free: 15.59 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.194e-05/0.2338, allocations: 44.66 kB / 438.1 MB, free: 15.55 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004419/0.2342, allocations: 274.2 kB / 438.4 MB, free: 15.26 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.548e-05/0.2342, allocations: 21.03 kB / 438.4 MB, free: 15.24 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.053e-05/0.2343, allocations: 27.94 kB / 438.4 MB, free: 15.21 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000632/0.2349, allocations: 0.531 MB / 439 MB, free: 14.6 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.056e-05/0.2349, allocations: 7.953 kB / 439 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.27e-05/0.235, allocations: 15.98 kB / 439 MB, free: 14.58 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.897e-06/0.235, allocations: 8 kB / 439 MB, free: 14.57 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004214/0.2354, allocations: 186.4 kB / 439.2 MB, free: 14.39 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001316/0.2367, allocations: 0.7713 MB / 440 MB, free: 13.56 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005352/0.2372, allocations: 239.9 kB / 440.2 MB, free: 13.32 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001771/0.2374, allocations: 97.31 kB / 440.3 MB, free: 13.22 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.665e-05/0.2374, allocations: 4.281 kB / 440.3 MB, free: 13.21 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003571/0.2378, allocations: 269.4 kB / 440.5 MB, free: 12.92 MB / 350.1 MB Notification: Performance of pre-optimization done (n=34): time 1.684e-06/0.2378, allocations: 4 kB / 440.6 MB, free: 12.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.002261/0.2401, allocations: 1.104 MB / 441.7 MB, free: 11.75 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001221/0.2402, allocations: 187.9 kB / 441.8 MB, free: 11.53 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003642/0.2406, allocations: 340.5 kB / 442.2 MB, free: 11.19 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.359e-05/0.2406, allocations: 33.7 kB / 442.2 MB, free: 11.15 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001395/0.2407, allocations: 188.7 kB / 442.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001268/0.2409, allocations: 158.7 kB / 442.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001111/0.241, allocations: 74.12 kB / 442.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001702/0.2411, allocations: 350.7 kB / 443 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001739/0.2413, allocations: 88.83 kB / 443 MB, free: 10.29 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003356/0.2417, allocations: 313.7 kB / 443.4 MB, free: 9.918 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004029/0.2421, allocations: 250.2 kB / 443.6 MB, free: 9.66 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.678e-06/0.2421, allocations: 4 kB / 443.6 MB, free: 9.656 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005732/0.2426, allocations: 358.5 kB / 443.9 MB, free: 9.297 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.2426, allocations: 8 kB / 444 MB, free: 9.289 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.2427, allocations: 64 / 444 MB, free: 9.289 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.464e-05/0.2427, allocations: 28.78 kB / 444 MB, free: 9.258 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003277/0.2431, allocations: 83.91 kB / 444.1 MB, free: 9.176 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001138/0.2442, allocations: 1.287 MB / 445.4 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001863/0.2444, allocations: 19.97 kB / 445.4 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.711e-05/0.2444, allocations: 16 kB / 445.4 MB, free: 7.738 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.0001861/0.2446, allocations: 164.5 kB / 445.6 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.444e-05/0.2447, allocations: 43.7 kB / 445.6 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006141/0.2453, allocations: 337.9 kB / 445.9 MB, free: 7.188 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/0.2453, allocations: 7.984 kB / 445.9 MB, free: 7.18 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/0.2453, allocations: 96 / 445.9 MB, free: 7.18 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007094/0.246, allocations: 0.6683 MB / 446.6 MB, free: 6.406 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001307/0.2473, allocations: 0.7978 MB / 447.4 MB, free: 5.547 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.2473, allocations: 3.938 kB / 447.4 MB, free: 5.543 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003541/0.2477, allocations: 75.91 kB / 447.5 MB, free: 5.469 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.019e-05/0.2477, allocations: 4 kB / 447.5 MB, free: 5.465 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.754e-05/0.2477, allocations: 11.98 kB / 447.5 MB, free: 5.453 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.432e-06/0.2477, allocations: 3.984 kB / 447.5 MB, free: 5.449 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.2477, allocations: 8.125 kB / 447.5 MB, free: 5.441 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008846/0.2486, allocations: 0.5547 MB / 448.1 MB, free: 4.855 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001491/0.2487, allocations: 63.78 kB / 448.1 MB, free: 4.793 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.267e-05/0.2488, allocations: 8 kB / 448.1 MB, free: 4.785 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002304/0.249, allocations: 20.11 kB / 448.1 MB, free: 4.766 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.509e-05/0.2491, allocations: 31.89 kB / 448.2 MB, free: 4.734 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.639e-05/0.2491, allocations: 12 kB / 448.2 MB, free: 4.723 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002891/0.2494, allocations: 255 kB / 448.4 MB, free: 4.477 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2494, allocations: 0 / 448.4 MB, free: 4.477 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004579/0.2499, allocations: 96 kB / 448.5 MB, free: 4.383 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 (41): * Single equations (assignments): 39 * 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.002665/0.2526, allocations: 1.45 MB / 450 MB, free: 3.082 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007685/0.2533, allocations: 362.8 kB / 450.3 MB, free: 2.715 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.2533, allocations: 0 / 450.3 MB, free: 2.715 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002362/0.2536, allocations: 132.3 kB / 450.5 MB, free: 2.586 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006468/0.2542, allocations: 102 kB / 450.6 MB, free: 2.492 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004893/0.2591, allocations: 3.661 MB / 454.2 MB, free: 14.7 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000213/0.2593, allocations: 208.2 kB / 454.4 MB, free: 14.47 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001774/0.2595, allocations: 51.23 kB / 454.5 MB, free: 14.42 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001958/0.2597, allocations: 135.4 kB / 454.6 MB, free: 14.29 MB / 366.1 MB Notification: Performance of SimCode: time 9.01e-07/0.2597, allocations: 0 / 454.6 MB, free: 14.29 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04223/0.3019, allocations: 10.57 MB / 465.2 MB, free: 3.879 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.03/12.33, allocations: 5.891 kB / 465.2 MB, free: 3.879 MB / 366.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_TestCylinder_fmu --startTime=0 --stopTime=2 --stepSize=0.001 --timeout=50 --tolerance=1e-06 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.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_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.712212298996747]