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.001745/0.001745, allocations: 96.3 kB / 21.73 MB, free: 2.699 MB / 18.57 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.001524/0.001524, allocations: 168.2 kB / 25.02 MB, free: 8.43 MB / 18.57 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.602/1.602, allocations: 158.6 MB / 186.8 MB, free: 2.914 MB / 170.7 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: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cylinder1.H|cylinder1.m|cylinder2.H|springDamper.s_rel|springDamper.v_rel",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cylinder1.H|cylinder1.m|cylinder2.H|springDamper.s_rel|springDamper.v_rel",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 250.3 MB, free: 7.852 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.244e-05/3.411e-05, allocations: 6.109 kB / 250.3 MB, free: 7.848 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.005095/0.00513, allocations: 2.805 MB / 253.2 MB, free: 5.023 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002759/0.007889, allocations: 1.138 MB / 254.3 MB, free: 3.875 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001791/0.008068, allocations: 7.938 kB / 254.3 MB, free: 3.867 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005648/0.008633, allocations: 163 kB / 254.5 MB, free: 3.707 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000544/0.009177, allocations: 186.8 kB / 254.6 MB, free: 3.523 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004708/0.009648, allocations: 155.5 kB / 254.8 MB, free: 3.371 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007247/0.01037, allocations: 457.9 kB / 255.2 MB, free: 2.922 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002136/0.01059, allocations: 68 kB / 255.3 MB, free: 2.852 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004097/0.011, allocations: 259.3 kB / 255.6 MB, free: 2.598 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003181/0.01131, allocations: 151.6 kB / 255.7 MB, free: 2.449 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 7.472e-05/0.01139, allocations: 28 kB / 255.7 MB, free: 2.422 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001811/0.01157, allocations: 67.92 kB / 255.8 MB, free: 2.355 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001437/0.01171, allocations: 87.66 kB / 255.9 MB, free: 2.27 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001841/0.0119, allocations: 127.6 kB / 256 MB, free: 2.145 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007555/0.01265, allocations: 462.4 kB / 256.5 MB, free: 1.691 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.01266, allocations: 0 / 256.5 MB, free: 1.691 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.01266, allocations: 4 kB / 256.5 MB, free: 1.688 MB / 234.7 MB Notification: Performance of Transformations before backend: time 7.855e-06/0.01267, allocations: 0 / 256.5 MB, free: 1.688 MB / 234.7 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.001277/0.01394, allocations: 0.6187 MB / 257.1 MB, free: 1.035 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.01399, allocations: 15.97 kB / 257.1 MB, free: 1.02 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001523/0.01414, allocations: 68.66 kB / 257.2 MB, free: 0.9531 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005652/0.01471, allocations: 257.6 kB / 257.4 MB, free: 0.6797 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.059e-05/0.01475, allocations: 24.81 kB / 257.4 MB, free: 0.6523 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.566e-05/0.01482, allocations: 40.31 kB / 257.5 MB, free: 0.6133 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007463/0.01557, allocations: 0.5098 MB / 258 MB, free: 24 kB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.311e-05/0.01559, allocations: 3.938 kB / 258 MB, free: 20 kB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.459e-05/0.01563, allocations: 12 kB / 258 MB, free: 8 kB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.918e-06/0.01564, allocations: 8 kB / 258 MB, free: 0 / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000379/0.01602, allocations: 178 kB / 258.2 MB, free: 15.82 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001451/0.01747, allocations: 0.7117 MB / 258.9 MB, free: 15.07 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006361/0.0181, allocations: 243.8 kB / 259.1 MB, free: 14.82 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002066/0.01831, allocations: 97.31 kB / 259.2 MB, free: 14.73 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.629e-05/0.01835, allocations: 4.281 kB / 259.2 MB, free: 14.72 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004444/0.01879, allocations: 275.6 kB / 259.5 MB, free: 14.42 MB / 250.7 MB Notification: Performance of pre-optimization done (n=34): time 1.863e-06/0.01879, allocations: 0 / 259.5 MB, free: 14.42 MB / 250.7 MB Notification: Performance of matching and sorting (n=40): time 0.002999/0.02179, allocations: 1.122 MB / 260.6 MB, free: 13.24 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001606/0.02195, allocations: 183.9 kB / 260.8 MB, free: 13.02 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000491/0.02244, allocations: 356.5 kB / 261.2 MB, free: 12.66 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.993e-05/0.02248, allocations: 29.7 kB / 261.2 MB, free: 12.62 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001999/0.02268, allocations: 192.7 kB / 261.4 MB, free: 12.43 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001526/0.02284, allocations: 146.8 kB / 261.5 MB, free: 12.29 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000133/0.02297, allocations: 78.19 kB / 261.6 MB, free: 12.2 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002509/0.02322, allocations: 350.8 kB / 261.9 MB, free: 11.85 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000196/0.02342, allocations: 88.91 kB / 262 MB, free: 11.76 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004181/0.02383, allocations: 314.4 kB / 262.3 MB, free: 11.39 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004832/0.02432, allocations: 246.2 kB / 262.6 MB, free: 11.14 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.02432, allocations: 0 / 262.6 MB, free: 11.14 MB / 250.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007121/0.02503, allocations: 370.8 kB / 262.9 MB, free: 10.77 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.796e-05/0.02506, allocations: 7.594 kB / 262.9 MB, free: 10.76 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.796e-05/0.02509, allocations: 7.984 kB / 263 MB, free: 10.75 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000123/0.02521, allocations: 24.86 kB / 263 MB, free: 10.73 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003756/0.02559, allocations: 87.89 kB / 263.1 MB, free: 10.64 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001571/0.02716, allocations: 1.264 MB / 264.3 MB, free: 9.273 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002011/0.02736, allocations: 12.03 kB / 264.3 MB, free: 9.262 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.685e-05/0.02738, allocations: 12 kB / 264.3 MB, free: 9.25 MB / 250.7 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.0002571/0.02764, allocations: 185.5 kB / 264.5 MB, free: 9.059 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.188e-05/0.02773, allocations: 51.77 kB / 264.6 MB, free: 9.008 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006962/0.02843, allocations: 349.7 kB / 264.9 MB, free: 8.66 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.007e-06/0.02844, allocations: 4 kB / 264.9 MB, free: 8.656 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.903e-06/0.02844, allocations: 0 / 264.9 MB, free: 8.656 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008291/0.02927, allocations: 0.6686 MB / 265.6 MB, free: 7.883 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001368/0.03064, allocations: 0.7319 MB / 266.3 MB, free: 7.102 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.03064, allocations: 0 / 266.3 MB, free: 7.102 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003565/0.031, allocations: 83.84 kB / 266.4 MB, free: 7.02 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.031, allocations: 0 / 266.4 MB, free: 7.02 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.44e-05/0.03102, allocations: 8 kB / 266.4 MB, free: 7.012 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.155e-06/0.03103, allocations: 11.88 kB / 266.4 MB, free: 7 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.03103, allocations: 128 / 266.4 MB, free: 7 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009594/0.03199, allocations: 0.5788 MB / 267 MB, free: 6.391 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001399/0.03213, allocations: 59.8 kB / 267.1 MB, free: 6.332 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.055e-05/0.03218, allocations: 11.98 kB / 267.1 MB, free: 6.32 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002355/0.03242, allocations: 27.95 kB / 267.1 MB, free: 6.293 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.59e-05/0.0325, allocations: 27.94 kB / 267.1 MB, free: 6.266 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.191e-05/0.03254, allocations: 19.98 kB / 267.2 MB, free: 6.246 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0003129/0.03285, allocations: 255 kB / 267.4 MB, free: 6 MB / 250.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03285, allocations: 0 / 267.4 MB, free: 6 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0004647/0.03332, allocations: 95.94 kB / 267.5 MB, free: 5.906 MB / 250.7 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.002433/0.03575, allocations: 447.4 kB / 267.9 MB, free: 5.512 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0007559/0.0365, allocations: 362 kB / 268.3 MB, free: 5.145 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.03651, allocations: 3.938 kB / 268.3 MB, free: 5.141 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002595/0.03677, allocations: 131.5 kB / 268.4 MB, free: 5.012 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006262/0.03739, allocations: 105.5 kB / 268.5 MB, free: 4.91 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001916/0.03931, allocations: 0.9094 MB / 269.4 MB, free: 3.957 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002566/0.03957, allocations: 203.7 kB / 269.6 MB, free: 3.738 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001935/0.03976, allocations: 51.25 kB / 269.7 MB, free: 3.688 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000114/0.03987, allocations: 32.5 kB / 269.7 MB, free: 3.656 MB / 250.7 MB Notification: Performance of SimCode: time 1.854e-06/0.03988, allocations: 0 / 269.7 MB, free: 3.656 MB / 250.7 MB Notification: Performance of Templates: time 0.01356/0.05344, allocations: 5.533 MB / 275.2 MB, free: 14.12 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.makefile [Timeout 660] (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 & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/TestCylinder/TestCylinder.csv","/var/lib/jenkins/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: 4.79040023800917]