Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001889/0.001889, allocations: 80.83 kB / 20.68 MB, free: 1.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002235/0.002235, allocations: 154.9 kB / 23.94 MB, free: 4.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 173.3 MB / 200.4 MB, free: 12.86 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.0_Modelica.Media.Examples.SimpleLiquidWater") translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.142e-06/1.142e-06, allocations: 0 / 318.9 MB, free: 3.57 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.9e-05/2.014e-05, allocations: 5.094 kB / 318.9 MB, free: 3.566 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.004292/0.004312, allocations: 4.199 MB / 323.1 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001736/0.006048, allocations: 1.616 MB / 324.7 MB, free: 15.55 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.612e-05/0.006104, allocations: 1.719 kB / 324.7 MB, free: 15.55 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002386/0.006342, allocations: 39.06 kB / 324.7 MB, free: 15.54 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003528/0.006695, allocations: 131.9 kB / 324.9 MB, free: 15.45 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006705/0.007366, allocations: 256.2 kB / 325.1 MB, free: 15.33 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003652/0.007731, allocations: 296.8 kB / 325.4 MB, free: 15.2 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.048e-05/0.007771, allocations: 7.469 kB / 325.4 MB, free: 15.19 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000308/0.008079, allocations: 165.9 kB / 325.6 MB, free: 15.14 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001345/0.008214, allocations: 69.8 kB / 325.7 MB, free: 15.12 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.294e-05/0.008247, allocations: 9.625 kB / 325.7 MB, free: 15.12 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002201/0.008467, allocations: 95.31 kB / 325.8 MB, free: 15.09 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.458e-05/0.008551, allocations: 42.25 kB / 325.8 MB, free: 15.07 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.317e-05/0.008645, allocations: 60.7 kB / 325.9 MB, free: 15.05 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003793/0.009024, allocations: 227.2 kB / 326.1 MB, free: 14.97 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.009026, allocations: 4 kB / 326.1 MB, free: 14.97 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.01e-07/0.009027, allocations: 0 / 326.1 MB, free: 14.97 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.009032, allocations: 3.938 kB / 326.1 MB, free: 14.96 MB / 302.1 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.0009893/0.01002, allocations: 411.8 kB / 326.5 MB, free: 14.64 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.07e-05/0.01005, allocations: 10.11 kB / 326.5 MB, free: 14.64 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001947/0.01025, allocations: 27.61 kB / 326.5 MB, free: 14.63 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002767/0.01052, allocations: 151.5 kB / 326.7 MB, free: 14.48 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.785e-05/0.01054, allocations: 14.09 kB / 326.7 MB, free: 14.47 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.493e-05/0.01058, allocations: 18.72 kB / 326.7 MB, free: 14.46 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005417/0.01112, allocations: 372.9 kB / 327.1 MB, free: 14.15 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.01113, allocations: 1.406 kB / 327.1 MB, free: 14.15 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.121e-05/0.01116, allocations: 11.98 kB / 327.1 MB, free: 14.14 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.316e-06/0.01117, allocations: 7.859 kB / 327.1 MB, free: 14.14 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000414/0.01158, allocations: 155.7 kB / 327.2 MB, free: 14.09 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001372/0.01296, allocations: 0.839 MB / 328.1 MB, free: 13.36 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004789/0.01344, allocations: 141.3 kB / 328.2 MB, free: 13.3 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00017/0.01361, allocations: 50.19 kB / 328.3 MB, free: 13.29 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000544/0.01415, allocations: 335.3 kB / 328.6 MB, free: 13 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.056e-05/0.01418, allocations: 36.81 kB / 328.6 MB, free: 12.95 MB / 302.1 MB Notification: Performance of pre-optimization done (n=14): time 1.332e-06/0.01418, allocations: 0 / 328.6 MB, free: 12.95 MB / 302.1 MB Notification: Performance of matching and sorting (n=20): time 0.002802/0.01698, allocations: 0.6898 MB / 329.3 MB, free: 12.62 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.981e-05/0.01703, allocations: 55.38 kB / 329.4 MB, free: 12.55 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001563/0.01719, allocations: 167.7 kB / 329.5 MB, free: 12.42 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.909e-05/0.01723, allocations: 30.77 kB / 329.6 MB, free: 12.39 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.901e-05/0.01733, allocations: 144.9 kB / 329.7 MB, free: 12.25 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.043e-05/0.0174, allocations: 75.88 kB / 329.8 MB, free: 12.2 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001053/0.0175, allocations: 56.56 kB / 329.8 MB, free: 12.16 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.01765, allocations: 327.5 kB / 330.2 MB, free: 11.84 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002783/0.01793, allocations: 83.81 kB / 330.2 MB, free: 11.82 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003609/0.01829, allocations: 186.3 kB / 330.4 MB, free: 11.66 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006561/0.01895, allocations: 298 kB / 330.7 MB, free: 11.45 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.01895, allocations: 1.062 kB / 330.7 MB, free: 11.45 MB / 302.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007949/0.01975, allocations: 318.3 kB / 331 MB, free: 11.32 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.01977, allocations: 11.22 kB / 331 MB, free: 11.31 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.01977, allocations: 4.312 kB / 331 MB, free: 11.31 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/0.01979, allocations: 9.312 kB / 331.1 MB, free: 11.31 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003905/0.02018, allocations: 86.56 kB / 331.1 MB, free: 11.3 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.459e-05/0.0202, allocations: 10.64 kB / 331.1 MB, free: 11.29 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002398/0.02044, allocations: 16.38 kB / 331.2 MB, free: 11.29 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.717e-05/0.02048, allocations: 16.38 kB / 331.2 MB, free: 11.29 MB / 302.1 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 0.0001446/0.02062, allocations: 136.9 kB / 331.3 MB, free: 11.15 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.897e-05/0.02068, allocations: 19.5 kB / 331.3 MB, free: 11.14 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007463/0.02143, allocations: 245.4 kB / 331.6 MB, free: 11.03 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.02143, allocations: 2.438 kB / 331.6 MB, free: 11.03 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.02143, allocations: 0 / 331.6 MB, free: 11.03 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.02144, allocations: 1.453 kB / 331.6 MB, free: 11.03 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001372/0.02281, allocations: 0.5283 MB / 332.1 MB, free: 10.66 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.02281, allocations: 1.344 kB / 332.1 MB, free: 10.66 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003137/0.02313, allocations: 50.94 kB / 332.2 MB, free: 10.66 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.02313, allocations: 2.375 kB / 332.2 MB, free: 10.66 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.733e-05/0.02316, allocations: 13.58 kB / 332.2 MB, free: 10.65 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.02316, allocations: 1.188 kB / 332.2 MB, free: 10.65 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.843e-06/0.02317, allocations: 7.469 kB / 332.2 MB, free: 10.64 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009372/0.02411, allocations: 404.5 kB / 332.6 MB, free: 10.4 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.634e-05/0.02413, allocations: 18.27 kB / 332.6 MB, free: 10.39 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.253e-05/0.02418, allocations: 7.234 kB / 332.6 MB, free: 10.38 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002517/0.02443, allocations: 10.81 kB / 332.6 MB, free: 10.38 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.391e-05/0.02446, allocations: 19.34 kB / 332.6 MB, free: 10.38 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.648e-05/0.02449, allocations: 9.484 kB / 332.6 MB, free: 10.38 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.694e-05/0.02458, allocations: 115 kB / 332.8 MB, free: 10.29 MB / 302.1 MB Notification: Performance of sort global known variables: time 8e-08/0.02458, allocations: 0 / 332.8 MB, free: 10.29 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003985/0.02498, allocations: 63.91 kB / 332.8 MB, free: 10.28 MB / 302.1 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.0002441/0.02523, allocations: 136.9 kB / 332.9 MB, free: 10.17 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006421/0.02587, allocations: 212.2 kB / 333.2 MB, free: 10.11 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.02587, allocations: 1 kB / 333.2 MB, free: 10.11 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002716/0.02614, allocations: 91.19 kB / 333.2 MB, free: 10.09 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004271/0.02657, allocations: 44.33 kB / 333.3 MB, free: 10.07 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001057/0.02763, allocations: 417.5 kB / 333.7 MB, free: 9.785 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001043/0.02773, allocations: 100.3 kB / 333.8 MB, free: 9.711 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002181/0.02795, allocations: 51.83 kB / 333.8 MB, free: 9.688 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001001/0.02805, allocations: 24.66 kB / 333.9 MB, free: 9.68 MB / 302.1 MB Notification: Performance of SimCode: time 3.41e-07/0.02805, allocations: 0 / 333.9 MB, free: 9.68 MB / 302.1 MB Notification: Performance of Templates: time 0.006564/0.03461, allocations: 2.703 MB / 336.6 MB, free: 8.348 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.sim & ./Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/SimpleLiquidWater/SimpleLiquidWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.24301765114069]