Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater.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.0008039/0.0008039, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.003283/0.003283, allocations: 161.4 kB / 24.7 MB, free: 8.895 MB / 18.57 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 0.828/0.828, allocations: 177.1 MB / 205 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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: translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater") translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 325.8 MB, free: 15.45 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.272e-05/2.442e-05, allocations: 4.812 kB / 325.8 MB, free: 15.45 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.004214/0.004238, allocations: 4.285 MB / 330.1 MB, free: 11.14 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00119/0.005428, allocations: 1.615 MB / 331.7 MB, free: 9.52 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.251e-05/0.00548, allocations: 3.938 kB / 331.7 MB, free: 9.516 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002332/0.005714, allocations: 47.62 kB / 331.7 MB, free: 9.469 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002642/0.005978, allocations: 131.1 kB / 331.9 MB, free: 9.34 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003839/0.006362, allocations: 250.4 kB / 332.1 MB, free: 9.102 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002345/0.006596, allocations: 298.7 kB / 332.4 MB, free: 8.809 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.959e-05/0.006636, allocations: 13.27 kB / 332.4 MB, free: 8.793 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002288/0.006865, allocations: 179.5 kB / 332.6 MB, free: 8.617 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.508e-05/0.00695, allocations: 75.77 kB / 332.7 MB, free: 8.543 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.876e-05/0.006968, allocations: 8 kB / 332.7 MB, free: 8.535 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001456/0.007114, allocations: 87.88 kB / 332.8 MB, free: 8.449 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.134e-05/0.007175, allocations: 43.83 kB / 332.8 MB, free: 8.406 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.15e-05/0.007227, allocations: 59.89 kB / 332.9 MB, free: 8.348 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002674/0.007494, allocations: 243.2 kB / 333.1 MB, free: 8.109 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.285e-06/0.007496, allocations: 0 / 333.1 MB, free: 8.109 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.007498, allocations: 0 / 333.1 MB, free: 8.109 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.007503, allocations: 4 kB / 333.1 MB, free: 8.105 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0006479/0.008151, allocations: 424.9 kB / 333.5 MB, free: 7.66 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.3e-05/0.008184, allocations: 8.031 kB / 333.5 MB, free: 7.652 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001104/0.008294, allocations: 16.89 kB / 333.6 MB, free: 7.637 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001963/0.00849, allocations: 149.6 kB / 333.7 MB, free: 7.465 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.008504, allocations: 12.66 kB / 333.7 MB, free: 7.453 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.927e-05/0.008533, allocations: 16.38 kB / 333.7 MB, free: 7.438 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003371/0.00887, allocations: 375.8 kB / 334.1 MB, free: 7.012 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.008881, allocations: 192 / 334.1 MB, free: 7.012 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.236e-05/0.008903, allocations: 16.12 kB / 334.1 MB, free: 6.996 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.00891, allocations: 7.984 kB / 334.1 MB, free: 6.988 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002084/0.009119, allocations: 143.8 kB / 334.3 MB, free: 6.848 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007997/0.009919, allocations: 0.8404 MB / 335.1 MB, free: 5.961 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005057/0.01042, allocations: 146.7 kB / 335.2 MB, free: 5.809 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.884e-05/0.0105, allocations: 56.77 kB / 335.3 MB, free: 5.75 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003158/0.01082, allocations: 324.2 kB / 335.6 MB, free: 5.414 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.043e-05/0.01084, allocations: 38.55 kB / 335.7 MB, free: 5.367 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 1.382e-06/0.01084, allocations: 4 kB / 335.7 MB, free: 5.363 MB / 298.7 MB Notification: Performance of matching and sorting (n=20): time 0.001381/0.01222, allocations: 0.6842 MB / 336.3 MB, free: 4.645 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.983e-05/0.01225, allocations: 55.34 kB / 336.4 MB, free: 4.578 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001042/0.01236, allocations: 170.1 kB / 336.6 MB, free: 4.406 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.76e-05/0.01237, allocations: 29.7 kB / 336.6 MB, free: 4.371 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.798e-05/0.01243, allocations: 144.1 kB / 336.7 MB, free: 4.227 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.166e-05/0.01247, allocations: 79.33 kB / 336.8 MB, free: 4.148 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.438e-05/0.01254, allocations: 65.64 kB / 336.9 MB, free: 4.078 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.689e-05/0.01261, allocations: 322.8 kB / 337.2 MB, free: 3.754 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001379/0.01275, allocations: 87.69 kB / 337.3 MB, free: 3.668 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001688/0.01292, allocations: 189.7 kB / 337.5 MB, free: 3.434 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003269/0.01325, allocations: 296.4 kB / 337.7 MB, free: 3.098 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.01325, allocations: 7.938 kB / 337.8 MB, free: 3.09 MB / 298.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0003809/0.01363, allocations: 317.1 kB / 338.1 MB, free: 2.773 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.01365, allocations: 8 kB / 338.1 MB, free: 2.766 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.01365, allocations: 4 kB / 338.1 MB, free: 2.762 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.01367, allocations: 7.938 kB / 338.1 MB, free: 2.754 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000179/0.01385, allocations: 80.36 kB / 338.2 MB, free: 2.676 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.894e-06/0.01386, allocations: 11.94 kB / 338.2 MB, free: 2.664 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001007/0.01396, allocations: 19.98 kB / 338.2 MB, free: 2.645 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.31e-05/0.01398, allocations: 15.98 kB / 338.2 MB, free: 2.629 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.353e-05/0.01406, allocations: 133.7 kB / 338.3 MB, free: 2.488 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.859e-05/0.01409, allocations: 19.91 kB / 338.4 MB, free: 2.469 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003709/0.01446, allocations: 246.5 kB / 338.6 MB, free: 2.219 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.01447, allocations: 7.875 kB / 338.6 MB, free: 2.211 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.01447, allocations: 4 kB / 338.6 MB, free: 2.207 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.778e-06/0.01448, allocations: 0 / 338.6 MB, free: 2.207 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00066/0.01514, allocations: 0.5159 MB / 339.1 MB, free: 1.645 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.01514, allocations: 0 / 339.1 MB, free: 1.645 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001288/0.01527, allocations: 59.89 kB / 339.2 MB, free: 1.586 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.01527, allocations: 0 / 339.2 MB, free: 1.586 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.01528, allocations: 7.984 kB / 339.2 MB, free: 1.578 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.01528, allocations: 4 kB / 339.2 MB, free: 1.574 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.01529, allocations: 4.125 kB / 339.2 MB, free: 1.57 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004666/0.01575, allocations: 402 kB / 339.6 MB, free: 1.148 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.254e-05/0.0158, allocations: 35.84 kB / 339.6 MB, free: 1.113 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.959e-05/0.01582, allocations: 4 kB / 339.6 MB, free: 1.109 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.01592, allocations: 20.05 kB / 339.7 MB, free: 1.09 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.837e-05/0.01594, allocations: 11.97 kB / 339.7 MB, free: 1.078 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.515e-05/0.01595, allocations: 12 kB / 339.7 MB, free: 1.066 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.986e-05/0.016, allocations: 111.2 kB / 339.8 MB, free: 0.957 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.016, allocations: 0 / 339.8 MB, free: 0.957 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002365/0.01624, allocations: 63.94 kB / 339.8 MB, free: 0.8945 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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.0001659/0.01641, allocations: 143 kB / 340 MB, free: 0.7461 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003405/0.01675, allocations: 208.4 kB / 340.2 MB, free: 0.543 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.01675, allocations: 256 / 340.2 MB, free: 0.543 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001214/0.01687, allocations: 95.75 kB / 340.3 MB, free: 460 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002705/0.01714, allocations: 31.98 kB / 340.3 MB, free: 428 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006567/0.0178, allocations: 459.5 kB / 340.8 MB, free: 15.93 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.808e-05/0.01786, allocations: 99.77 kB / 340.9 MB, free: 15.81 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.153e-05/0.01794, allocations: 32.48 kB / 340.9 MB, free: 15.78 MB / 314.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01794, allocations: 4 kB / 340.9 MB, free: 15.77 MB / 314.7 MB Notification: Performance of Templates: time 0.003307/0.02124, allocations: 2.726 MB / 343.6 MB, free: 13.05 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater.sim & ./Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/SimpleLiquidWater/SimpleLiquidWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater.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.376716153696179]