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.001361/0.001361, allocations: 115.6 kB / 20.43 MB, free: 1.465 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.001369/0.001369, allocations: 212 kB / 23.74 MB, free: 4.688 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.434/1.434, allocations: 230.6 MB / 257.5 MB, free: 8.02 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.001571/0.001571, allocations: 47.92 kB / 377.8 MB, free: 3.152 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2501/0.2516, allocations: 53.36 MB / 431.1 MB, free: 6.875 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.005189/0.2568, allocations: 3.065 MB / 434.2 MB, free: 3.797 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002723/0.2595, allocations: 1.437 MB / 435.6 MB, free: 2.352 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002593/0.2598, allocations: 7.938 kB / 435.6 MB, free: 2.344 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005491/0.2603, allocations: 151.1 kB / 435.8 MB, free: 2.195 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006651/0.261, allocations: 214.7 kB / 436 MB, free: 1.984 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004082/0.2614, allocations: 147.6 kB / 436.1 MB, free: 1.84 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006841/0.2621, allocations: 438.1 kB / 436.6 MB, free: 1.41 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000191/0.2623, allocations: 77.02 kB / 436.6 MB, free: 1.336 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003228/0.2626, allocations: 179.3 kB / 436.8 MB, free: 1.16 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003866/0.263, allocations: 199.1 kB / 437 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.93e-05/0.2631, allocations: 28 kB / 437 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001759/0.2633, allocations: 59.97 kB / 437.1 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001269/0.2634, allocations: 79.7 kB / 437.2 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002343/0.2636, allocations: 186.9 kB / 437.3 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006649/0.2643, allocations: 462.4 kB / 437.8 MB, free: 172 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.2643, allocations: 4 kB / 437.8 MB, free: 168 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2643, allocations: 0 / 437.8 MB, free: 168 kB / 334.1 MB Notification: Performance of Transformations before backend: time 1.726e-05/0.2643, allocations: 0 / 437.8 MB, free: 168 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.001278/0.2656, allocations: 0.6111 MB / 438.4 MB, free: 15.52 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.2656, allocations: 8.031 kB / 438.4 MB, free: 15.51 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001321/0.2658, allocations: 79.27 kB / 438.5 MB, free: 15.42 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001062/0.2659, allocations: 48.66 kB / 438.5 MB, free: 15.38 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005437/0.2664, allocations: 271 kB / 438.8 MB, free: 15.09 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.392e-05/0.2664, allocations: 20.97 kB / 438.8 MB, free: 15.07 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.109e-05/0.2665, allocations: 35.92 kB / 438.9 MB, free: 15.04 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005499/0.267, allocations: 308.5 kB / 439.2 MB, free: 14.71 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.14e-05/0.2671, allocations: 4 kB / 439.2 MB, free: 14.7 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.942e-05/0.2671, allocations: 12 kB / 439.2 MB, free: 14.69 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.718e-06/0.2671, allocations: 8 kB / 439.2 MB, free: 14.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003671/0.2675, allocations: 178.5 kB / 439.4 MB, free: 14.51 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001492/0.269, allocations: 0.8336 MB / 440.2 MB, free: 13.61 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005756/0.2695, allocations: 241 kB / 440.4 MB, free: 13.37 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001726/0.2697, allocations: 85.39 kB / 440.5 MB, free: 13.29 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.094e-05/0.2697, allocations: 12.27 kB / 440.5 MB, free: 13.27 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003113/0.2701, allocations: 166.6 kB / 440.7 MB, free: 13.1 MB / 350.1 MB Notification: Performance of pre-optimization done (n=34): time 1.674e-06/0.2701, allocations: 0 / 440.7 MB, free: 13.1 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.002316/0.2724, allocations: 1.096 MB / 441.8 MB, free: 11.95 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001199/0.2725, allocations: 183.9 kB / 442 MB, free: 11.73 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003724/0.2729, allocations: 340.5 kB / 442.3 MB, free: 11.39 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.515e-05/0.2729, allocations: 33.7 kB / 442.3 MB, free: 11.35 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001518/0.2731, allocations: 188.7 kB / 442.5 MB, free: 11.16 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001477/0.2732, allocations: 150.7 kB / 442.7 MB, free: 11.02 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001113/0.2733, allocations: 86.06 kB / 442.8 MB, free: 10.93 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001787/0.2735, allocations: 350.7 kB / 443.1 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001797/0.2737, allocations: 92.78 kB / 443.2 MB, free: 10.48 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002571/0.2739, allocations: 173.3 kB / 443.4 MB, free: 10.28 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003992/0.2743, allocations: 254.2 kB / 443.6 MB, free: 10.02 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.2743, allocations: 0 / 443.6 MB, free: 10.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.00056/0.2749, allocations: 358.5 kB / 444 MB, free: 9.66 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.2749, allocations: 10.66 kB / 444 MB, free: 9.652 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.2749, allocations: 4.062 kB / 444 MB, free: 9.648 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.276e-05/0.275, allocations: 16.86 kB / 444 MB, free: 9.629 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003216/0.2753, allocations: 87.89 kB / 444.1 MB, free: 9.543 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001168/0.2765, allocations: 1.295 MB / 445.4 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001704/0.2767, allocations: 12.03 kB / 445.4 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.222e-05/0.2767, allocations: 12 kB / 445.4 MB, free: 8.109 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.0001893/0.2769, allocations: 176.3 kB / 445.6 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.055e-05/0.2769, allocations: 47.64 kB / 445.6 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005953/0.2775, allocations: 330.3 kB / 445.9 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.2775, allocations: 4 kB / 445.9 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.2775, allocations: 4 kB / 445.9 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006648/0.2782, allocations: 0.6537 MB / 446.6 MB, free: 6.785 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001218/0.2794, allocations: 0.8297 MB / 447.4 MB, free: 5.891 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.2794, allocations: 0 / 447.4 MB, free: 5.891 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003115/0.2797, allocations: 75.89 kB / 447.5 MB, free: 5.816 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.239e-06/0.2797, allocations: 4 kB / 447.5 MB, free: 5.812 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.443e-05/0.2798, allocations: 12 kB / 447.5 MB, free: 5.801 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.509e-06/0.2798, allocations: 4 kB / 447.5 MB, free: 5.797 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.2798, allocations: 4.062 kB / 447.5 MB, free: 5.793 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007868/0.2806, allocations: 0.5388 MB / 448.1 MB, free: 5.227 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001224/0.2807, allocations: 59.78 kB / 448.1 MB, free: 5.168 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.038e-05/0.2807, allocations: 12 kB / 448.1 MB, free: 5.156 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002286/0.281, allocations: 20.11 kB / 448.1 MB, free: 5.137 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.336e-05/0.281, allocations: 35.83 kB / 448.2 MB, free: 5.102 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.963e-05/0.281, allocations: 16 kB / 448.2 MB, free: 5.086 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002581/0.2813, allocations: 243 kB / 448.4 MB, free: 4.852 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2813, allocations: 0 / 448.4 MB, free: 4.852 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003931/0.2817, allocations: 99.89 kB / 448.5 MB, free: 4.754 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.002509/0.2842, allocations: 1.405 MB / 449.9 MB, free: 3.473 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006458/0.2849, allocations: 354.9 kB / 450.3 MB, free: 3.113 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.2849, allocations: 0 / 450.3 MB, free: 3.113 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002242/0.2851, allocations: 127.7 kB / 450.4 MB, free: 2.988 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000551/0.2856, allocations: 111.7 kB / 450.5 MB, free: 2.879 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004777/0.2904, allocations: 3.654 MB / 454.2 MB, free: 15.09 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004527/0.2909, allocations: 0.804 MB / 455 MB, free: 14.25 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001576/0.291, allocations: 51.25 kB / 455 MB, free: 14.2 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001987/0.2912, allocations: 131.4 kB / 455.2 MB, free: 14.07 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2912, allocations: 0 / 455.2 MB, free: 14.07 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04462/0.3358, allocations: 9.714 MB / 464.9 MB, free: 4.492 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.74/13.08, allocations: 11.62 kB / 464.9 MB, free: 4.484 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 & /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: 15.503879548981786]