Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001776/0.001776, allocations: 109.6 kB / 21.18 MB, free: 0.6992 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.002241/0.002241, allocations: 216.7 kB / 24.5 MB, free: 4.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.59/1.59, allocations: 207.6 MB / 235.3 MB, free: 10.01 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_TestCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_TestCylinder",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001718/0.001718, allocations: 55.94 kB / 347.2 MB, free: 10.15 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2496/0.2513, allocations: 49.17 MB / 396.3 MB, free: 8.98 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.003904/0.2552, allocations: 3.016 MB / 399.4 MB, free: 6.883 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001649/0.2568, allocations: 1.21 MB / 400.6 MB, free: 6.035 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001467/0.257, allocations: 8.5 kB / 400.6 MB, free: 6.031 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004862/0.2575, allocations: 161.5 kB / 400.7 MB, free: 5.973 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004017/0.2579, allocations: 189.8 kB / 400.9 MB, free: 5.863 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00035/0.2582, allocations: 156.2 kB / 401.1 MB, free: 5.777 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004499/0.2587, allocations: 438.6 kB / 401.5 MB, free: 5.566 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001641/0.2588, allocations: 80.58 kB / 401.6 MB, free: 5.523 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002148/0.2591, allocations: 189.3 kB / 401.8 MB, free: 5.438 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002555/0.2593, allocations: 203.4 kB / 402 MB, free: 5.348 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.891e-05/0.2594, allocations: 33.14 kB / 402 MB, free: 5.344 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001318/0.2595, allocations: 68.75 kB / 402.1 MB, free: 5.332 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.597e-05/0.2596, allocations: 82 kB / 402.1 MB, free: 5.281 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001485/0.2597, allocations: 193.1 kB / 402.3 MB, free: 5.16 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004775/0.2602, allocations: 453.3 kB / 402.8 MB, free: 4.984 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.2602, allocations: 4.875 kB / 402.8 MB, free: 4.98 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.2602, allocations: 1.062 kB / 402.8 MB, free: 4.98 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.133e-06/0.2602, allocations: 0 / 402.8 MB, free: 4.98 MB / 318.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.000861/0.2611, allocations: 0.6264 MB / 403.4 MB, free: 4.496 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.2611, allocations: 14.17 kB / 403.4 MB, free: 4.492 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.94e-05/0.2612, allocations: 74.45 kB / 403.5 MB, free: 4.43 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.636e-05/0.2613, allocations: 51.94 kB / 403.5 MB, free: 4.402 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003285/0.2616, allocations: 271.7 kB / 403.8 MB, free: 4.184 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.247e-05/0.2616, allocations: 19.25 kB / 403.8 MB, free: 4.176 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.354e-05/0.2617, allocations: 33.5 kB / 403.9 MB, free: 4.164 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000421/0.2621, allocations: 303.8 kB / 404.2 MB, free: 3.996 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.8e-05/0.2621, allocations: 9.031 kB / 404.2 MB, free: 3.988 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.628e-05/0.2621, allocations: 12.47 kB / 404.2 MB, free: 3.98 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/0.2622, allocations: 5.594 kB / 404.2 MB, free: 3.98 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003028/0.2625, allocations: 182.1 kB / 404.4 MB, free: 3.922 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00118/0.2636, allocations: 0.8355 MB / 405.2 MB, free: 3.371 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004811/0.2641, allocations: 241.2 kB / 405.4 MB, free: 3.273 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001494/0.2643, allocations: 87.17 kB / 405.5 MB, free: 3.238 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.306e-05/0.2643, allocations: 9.297 kB / 405.5 MB, free: 3.234 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002771/0.2646, allocations: 173.8 kB / 405.7 MB, free: 3.133 MB / 318.1 MB Notification: Performance of pre-optimization done (n=34): time 1.643e-06/0.2646, allocations: 0 / 405.7 MB, free: 3.133 MB / 318.1 MB Notification: Performance of matching and sorting (n=40): time 0.001903/0.2665, allocations: 1.096 MB / 406.8 MB, free: 2.5 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.881e-05/0.2665, allocations: 186.3 kB / 407 MB, free: 2.281 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003208/0.2669, allocations: 351.2 kB / 407.3 MB, free: 2.109 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.367e-05/0.2669, allocations: 36.45 kB / 407.4 MB, free: 2.07 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.175e-05/0.267, allocations: 197.5 kB / 407.5 MB, free: 1.906 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.35e-05/0.267, allocations: 147.2 kB / 407.7 MB, free: 1.789 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.56e-05/0.2671, allocations: 72.8 kB / 407.8 MB, free: 1.746 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.666e-05/0.2672, allocations: 357 kB / 408.1 MB, free: 1.41 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001558/0.2673, allocations: 86.08 kB / 408.2 MB, free: 1.383 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001962/0.2675, allocations: 179.7 kB / 408.4 MB, free: 1.254 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003344/0.2679, allocations: 251.8 kB / 408.6 MB, free: 1.113 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.2679, allocations: 0 / 408.6 MB, free: 1.113 MB / 318.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005045/0.2684, allocations: 345.8 kB / 409 MB, free: 0.957 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.2684, allocations: 9.594 kB / 409 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.2684, allocations: 1.5 kB / 409 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.983e-05/0.2685, allocations: 27.89 kB / 409 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003168/0.2688, allocations: 89.33 kB / 409.1 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009196/0.2697, allocations: 1.29 MB / 410.4 MB, free: 15.62 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002363/0.27, allocations: 14.86 kB / 410.4 MB, free: 15.62 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.796e-05/0.27, allocations: 18.91 kB / 410.4 MB, free: 15.61 MB / 334.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.0002072/0.2702, allocations: 163.1 kB / 410.6 MB, free: 15.47 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.552e-05/0.2703, allocations: 52.5 kB / 410.6 MB, free: 15.44 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006218/0.2709, allocations: 343.1 kB / 410.9 MB, free: 15.27 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.2709, allocations: 4.625 kB / 411 MB, free: 15.27 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.2709, allocations: 0 / 411 MB, free: 15.27 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000662/0.2716, allocations: 0.6571 MB / 411.6 MB, free: 14.66 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001239/0.2728, allocations: 0.8249 MB / 412.4 MB, free: 14.14 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.2728, allocations: 1.031 kB / 412.4 MB, free: 14.14 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003144/0.2731, allocations: 77.83 kB / 412.5 MB, free: 14.13 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.2731, allocations: 2.156 kB / 412.5 MB, free: 14.13 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.452e-05/0.2731, allocations: 9.781 kB / 412.5 MB, free: 14.13 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.2732, allocations: 2.688 kB / 412.5 MB, free: 14.13 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.2732, allocations: 2.156 kB / 412.5 MB, free: 14.13 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007675/0.2739, allocations: 0.5576 MB / 413.1 MB, free: 13.79 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001334/0.2741, allocations: 65.09 kB / 413.1 MB, free: 13.75 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.154e-05/0.2741, allocations: 9.719 kB / 413.2 MB, free: 13.75 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002217/0.2743, allocations: 17.2 kB / 413.2 MB, free: 13.74 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.535e-05/0.2744, allocations: 34.56 kB / 413.2 MB, free: 13.73 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.95e-05/0.2744, allocations: 11.2 kB / 413.2 MB, free: 13.73 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002831/0.2747, allocations: 255.5 kB / 413.5 MB, free: 13.6 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2747, allocations: 0 / 413.5 MB, free: 13.6 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004109/0.2751, allocations: 95.58 kB / 413.6 MB, free: 13.59 MB / 334.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.002502/0.2776, allocations: 1.411 MB / 415 MB, free: 12.45 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006423/0.2783, allocations: 365.2 kB / 415.3 MB, free: 12.25 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.246e-05/0.2783, allocations: 0 / 415.3 MB, free: 12.25 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002145/0.2785, allocations: 123 kB / 415.5 MB, free: 12.21 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005794/0.2791, allocations: 105.2 kB / 415.6 MB, free: 12.16 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004776/0.2839, allocations: 3.69 MB / 419.2 MB, free: 9.605 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004162/0.2843, allocations: 0.806 MB / 420.1 MB, free: 8.859 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001824/0.2845, allocations: 44.27 kB / 420.1 MB, free: 8.84 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001877/0.2846, allocations: 132.3 kB / 420.2 MB, free: 8.734 MB / 334.1 MB Notification: Performance of SimCode: time 5.62e-07/0.2846, allocations: 0 / 420.2 MB, free: 8.734 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04236/0.327, allocations: 9.758 MB / 430 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.91/13.24, allocations: 7.891 kB / 430 MB, free: 0.668 MB / 334.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_TestCylinder_fmu --startTime=0 --stopTime=2 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_TestCylinder.fmu > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/TestCylinder/TestCylinder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.875879435101524]