Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001984/0.001984, allocations: 77.7 kB / 21.25 MB, free: 0.5469 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002304/0.002304, allocations: 161.3 kB / 24.5 MB, free: 3.711 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.439/1.439, allocations: 177.1 MB / 204.7 MB, free: 8.992 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater") translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00195/0.00195, allocations: 61.84 kB / 325.5 MB, free: 192 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08957/0.09152, allocations: 53.39 MB / 378.9 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.006092/0.09761, allocations: 4.273 MB / 383.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002128/0.09974, allocations: 1.615 MB / 384.8 MB, free: 9.562 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.604e-05/0.0998, allocations: 3.938 kB / 384.8 MB, free: 9.559 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002395/0.1, allocations: 35.75 kB / 384.8 MB, free: 9.523 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003515/0.1004, allocations: 135.1 kB / 385 MB, free: 9.391 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006773/0.1011, allocations: 251 kB / 385.2 MB, free: 9.148 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004065/0.1015, allocations: 298.8 kB / 385.5 MB, free: 8.855 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.167e-05/0.1015, allocations: 9.312 kB / 385.5 MB, free: 8.844 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002877/0.1018, allocations: 139.6 kB / 385.6 MB, free: 8.707 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001491/0.102, allocations: 83.59 kB / 385.7 MB, free: 8.625 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.138e-05/0.102, allocations: 8 kB / 385.7 MB, free: 8.617 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002469/0.1022, allocations: 91.89 kB / 385.8 MB, free: 8.527 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.442e-05/0.1023, allocations: 39.89 kB / 385.9 MB, free: 8.488 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001146/0.1024, allocations: 67.77 kB / 385.9 MB, free: 8.422 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000386/0.1028, allocations: 223.2 kB / 386.1 MB, free: 8.203 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.1028, allocations: 0 / 386.1 MB, free: 8.203 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.1028, allocations: 0 / 386.1 MB, free: 8.203 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.237e-06/0.1028, allocations: 0 / 386.1 MB, free: 8.203 MB / 350.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.0009882/0.1038, allocations: 429.8 kB / 386.6 MB, free: 7.75 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.1039, allocations: 11.98 kB / 386.6 MB, free: 7.738 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001859/0.1041, allocations: 20.89 kB / 386.6 MB, free: 7.719 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003161/0.1044, allocations: 150.3 kB / 386.7 MB, free: 7.547 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.539e-05/0.1044, allocations: 12.66 kB / 386.8 MB, free: 7.535 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.749e-05/0.1044, allocations: 16.38 kB / 386.8 MB, free: 7.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005462/0.105, allocations: 376 kB / 387.1 MB, free: 7.094 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/0.105, allocations: 0 / 387.1 MB, free: 7.094 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.517e-05/0.105, allocations: 8 kB / 387.1 MB, free: 7.086 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.732e-05/0.105, allocations: 7.984 kB / 387.2 MB, free: 7.078 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003869/0.1054, allocations: 155.8 kB / 387.3 MB, free: 6.926 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001382/0.1068, allocations: 0.8485 MB / 388.2 MB, free: 6.027 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004221/0.1072, allocations: 138.8 kB / 388.3 MB, free: 5.883 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001524/0.1074, allocations: 48.83 kB / 388.3 MB, free: 5.832 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004902/0.1079, allocations: 328.1 kB / 388.7 MB, free: 5.492 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.201e-05/0.1079, allocations: 42.5 kB / 388.7 MB, free: 5.441 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.724e-06/0.1079, allocations: 4 kB / 388.7 MB, free: 5.438 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.002715/0.1106, allocations: 0.6946 MB / 389.4 MB, free: 4.715 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.051e-05/0.1106, allocations: 59.39 kB / 389.5 MB, free: 4.645 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001593/0.1108, allocations: 160.5 kB / 389.6 MB, free: 4.48 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.111e-05/0.1108, allocations: 29.7 kB / 389.6 MB, free: 4.445 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.431e-05/0.1109, allocations: 148 kB / 389.8 MB, free: 4.297 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.591e-05/0.111, allocations: 79.34 kB / 389.9 MB, free: 4.219 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.635e-05/0.1111, allocations: 61.66 kB / 389.9 MB, free: 4.152 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.1113, allocations: 326.8 kB / 390.2 MB, free: 3.824 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00027/0.1115, allocations: 83.95 kB / 390.3 MB, free: 3.742 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003524/0.1119, allocations: 193.1 kB / 390.5 MB, free: 3.508 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006294/0.1125, allocations: 296.5 kB / 390.8 MB, free: 3.172 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.1125, allocations: 3.938 kB / 390.8 MB, free: 3.168 MB / 350.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007711/0.1133, allocations: 329 kB / 391.1 MB, free: 2.84 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.1133, allocations: 4 kB / 391.1 MB, free: 2.836 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/0.1133, allocations: 8 kB / 391.1 MB, free: 2.828 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.421e-05/0.1133, allocations: 8 kB / 391.1 MB, free: 2.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004024/0.1137, allocations: 88.31 kB / 391.2 MB, free: 2.734 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/0.1138, allocations: 4 kB / 391.2 MB, free: 2.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002333/0.114, allocations: 19.92 kB / 391.3 MB, free: 2.711 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.836e-05/0.114, allocations: 16 kB / 391.3 MB, free: 2.695 MB / 350.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.0001406/0.1142, allocations: 133.8 kB / 391.4 MB, free: 2.555 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.837e-05/0.1142, allocations: 23.83 kB / 391.4 MB, free: 2.531 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007029/0.1149, allocations: 230.6 kB / 391.7 MB, free: 2.301 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.1149, allocations: 4 kB / 391.7 MB, free: 2.297 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.115, allocations: 0 / 391.7 MB, free: 2.297 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.115, allocations: 3.984 kB / 391.7 MB, free: 2.293 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001354/0.1163, allocations: 0.5325 MB / 392.2 MB, free: 1.711 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.1163, allocations: 0 / 392.2 MB, free: 1.711 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003078/0.1166, allocations: 47.95 kB / 392.2 MB, free: 1.664 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.571e-06/0.1166, allocations: 4 kB / 392.2 MB, free: 1.66 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.443e-05/0.1167, allocations: 8 kB / 392.2 MB, free: 1.652 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.1167, allocations: 0 / 392.2 MB, free: 1.652 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.1167, allocations: 4.062 kB / 392.3 MB, free: 1.648 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009067/0.1176, allocations: 415.1 kB / 392.7 MB, free: 1.215 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.774e-05/0.1176, allocations: 27.88 kB / 392.7 MB, free: 1.188 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.015e-05/0.1177, allocations: 0 / 392.7 MB, free: 1.188 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002486/0.1179, allocations: 23.98 kB / 392.7 MB, free: 1.164 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.853e-05/0.118, allocations: 23.86 kB / 392.7 MB, free: 1.141 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.606e-05/0.118, allocations: 11.92 kB / 392.7 MB, free: 1.129 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001009/0.1181, allocations: 116.7 kB / 392.9 MB, free: 1.016 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1181, allocations: 0 / 392.9 MB, free: 1.016 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003993/0.1185, allocations: 63.94 kB / 392.9 MB, free: 0.9531 MB / 350.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.0002084/0.1187, allocations: 127.1 kB / 393 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000619/0.1193, allocations: 212.4 kB / 393.3 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.1193, allocations: 0 / 393.3 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002604/0.1196, allocations: 88.06 kB / 393.3 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004012/0.12, allocations: 31.97 kB / 393.4 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001085/0.1211, allocations: 493.6 kB / 393.9 MB, free: 15.97 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001115/0.1212, allocations: 103.3 kB / 394 MB, free: 15.84 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002096/0.1214, allocations: 49.88 kB / 394 MB, free: 15.8 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.792e-05/0.1215, allocations: 24.48 kB / 394 MB, free: 15.77 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1215, allocations: 0 / 394 MB, free: 15.77 MB / 366.1 MB Notification: Performance of Templates: time 0.006578/0.1281, allocations: 2.694 MB / 396.7 MB, free: 13.13 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.sim & ./Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/SimpleLiquidWater/SimpleLiquidWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.3429672149941325]