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.001641/0.001641, allocations: 96.25 kB / 20.96 MB, free: 3.465 MB / 18.57 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.002329/0.002329, allocations: 156.9 kB / 24.27 MB, free: 164 kB / 18.57 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.539/1.539, allocations: 177 MB / 204.4 MB, free: 5.641 MB / 186.7 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 1.353e-06/1.353e-06, allocations: 0 / 272.2 MB, free: 1.863 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.455e-05/2.59e-05, allocations: 9.266 kB / 272.2 MB, free: 1.855 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.007316/0.007342, allocations: 4.266 MB / 276.4 MB, free: 13.56 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00253/0.009871, allocations: 1.623 MB / 278.1 MB, free: 11.94 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.986e-05/0.009971, allocations: 7.938 kB / 278.1 MB, free: 11.93 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002721/0.01024, allocations: 39.69 kB / 278.1 MB, free: 11.89 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004895/0.01073, allocations: 131.1 kB / 278.2 MB, free: 11.76 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007653/0.0115, allocations: 255.2 kB / 278.5 MB, free: 11.51 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004903/0.01199, allocations: 294.7 kB / 278.8 MB, free: 11.22 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.225e-05/0.01204, allocations: 9.297 kB / 278.8 MB, free: 11.21 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004529/0.01249, allocations: 175.6 kB / 278.9 MB, free: 11.04 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001698/0.01266, allocations: 75.78 kB / 279 MB, free: 10.96 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.395e-05/0.0127, allocations: 8 kB / 279 MB, free: 10.96 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002562/0.01295, allocations: 87.81 kB / 279.1 MB, free: 10.87 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.804e-05/0.01304, allocations: 43.88 kB / 279.2 MB, free: 10.83 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001092/0.01315, allocations: 59.91 kB / 279.2 MB, free: 10.77 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004829/0.01363, allocations: 239.2 kB / 279.5 MB, free: 10.54 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.01364, allocations: 0 / 279.5 MB, free: 10.54 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.01364, allocations: 3.938 kB / 279.5 MB, free: 10.53 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.007e-05/0.01365, allocations: 0 / 279.5 MB, free: 10.53 MB / 266.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.001086/0.01474, allocations: 417.8 kB / 279.9 MB, free: 10.09 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.01478, allocations: 15.98 kB / 279.9 MB, free: 10.07 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002525/0.01503, allocations: 44.66 kB / 279.9 MB, free: 10.03 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003255/0.01536, allocations: 149.6 kB / 280.1 MB, free: 9.859 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.01537, allocations: 8.656 kB / 280.1 MB, free: 9.852 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.822e-05/0.01543, allocations: 28.27 kB / 280.1 MB, free: 9.824 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005979/0.01603, allocations: 372 kB / 280.5 MB, free: 9.402 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.837e-05/0.01605, allocations: 8.125 kB / 280.5 MB, free: 9.395 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.694e-05/0.01609, allocations: 12.11 kB / 280.5 MB, free: 9.383 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/0.01609, allocations: 4 kB / 280.5 MB, free: 9.379 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003993/0.01649, allocations: 151.8 kB / 280.6 MB, free: 9.23 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001509/0.018, allocations: 0.8406 MB / 281.5 MB, free: 8.34 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004599/0.01846, allocations: 142.8 kB / 281.6 MB, free: 8.191 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001752/0.01864, allocations: 48.83 kB / 281.7 MB, free: 8.141 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005478/0.01918, allocations: 324.2 kB / 282 MB, free: 7.805 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.929e-05/0.01922, allocations: 42.56 kB / 282 MB, free: 7.754 MB / 266.7 MB Notification: Performance of pre-optimization done (n=14): time 1.613e-06/0.01923, allocations: 0 / 282 MB, free: 7.754 MB / 266.7 MB Notification: Performance of matching and sorting (n=20): time 0.003095/0.02232, allocations: 0.6989 MB / 282.7 MB, free: 7.027 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.615e-05/0.02237, allocations: 51.41 kB / 282.8 MB, free: 6.965 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000199/0.02257, allocations: 172.6 kB / 282.9 MB, free: 6.789 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.928e-05/0.0226, allocations: 29.7 kB / 283 MB, free: 6.754 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001131/0.02272, allocations: 144 kB / 283.1 MB, free: 6.609 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.301e-05/0.0228, allocations: 79.38 kB / 283.2 MB, free: 6.531 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001112/0.02291, allocations: 57.69 kB / 283.2 MB, free: 6.469 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001793/0.02309, allocations: 322.8 kB / 283.6 MB, free: 6.145 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002864/0.02338, allocations: 87.94 kB / 283.6 MB, free: 6.059 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003964/0.02377, allocations: 197.1 kB / 283.8 MB, free: 5.816 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006878/0.02446, allocations: 297.4 kB / 284.1 MB, free: 5.477 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/0.02447, allocations: 4 kB / 284.1 MB, free: 5.473 MB / 266.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008448/0.02531, allocations: 340.6 kB / 284.5 MB, free: 5.137 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.02533, allocations: 8 kB / 284.5 MB, free: 5.129 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-05/0.02535, allocations: 4 kB / 284.5 MB, free: 5.125 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.475e-05/0.02538, allocations: 7.938 kB / 284.5 MB, free: 5.117 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000406/0.02579, allocations: 75.89 kB / 284.6 MB, free: 5.043 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.816e-05/0.0258, allocations: 16.2 kB / 284.6 MB, free: 5.027 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002445/0.02605, allocations: 20 kB / 284.6 MB, free: 5.008 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.66e-05/0.02609, allocations: 15.98 kB / 284.6 MB, free: 4.992 MB / 266.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 0.0001513/0.02624, allocations: 133.7 kB / 284.7 MB, free: 4.852 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.724e-05/0.02631, allocations: 23.91 kB / 284.8 MB, free: 4.828 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007526/0.02707, allocations: 246.5 kB / 285 MB, free: 4.574 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.668e-06/0.02708, allocations: 7.938 kB / 285 MB, free: 4.566 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.02708, allocations: 0 / 285 MB, free: 4.566 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.02708, allocations: 0 / 285 MB, free: 4.566 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001452/0.02854, allocations: 0.5248 MB / 285.5 MB, free: 3.992 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.388e-06/0.02855, allocations: 7.984 kB / 285.5 MB, free: 3.984 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003145/0.02886, allocations: 43.97 kB / 285.6 MB, free: 3.941 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.622e-06/0.02887, allocations: 4 kB / 285.6 MB, free: 3.938 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.366e-05/0.02889, allocations: 11.92 kB / 285.6 MB, free: 3.926 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.599e-06/0.02889, allocations: 4 kB / 285.6 MB, free: 3.922 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.0289, allocations: 0 / 285.6 MB, free: 3.922 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001003/0.0299, allocations: 411.2 kB / 286 MB, free: 3.492 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.405e-05/0.02999, allocations: 27.91 kB / 286 MB, free: 3.465 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.719e-05/0.03003, allocations: 7.938 kB / 286 MB, free: 3.457 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002971/0.03033, allocations: 15.98 kB / 286.1 MB, free: 3.441 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.426e-05/0.03036, allocations: 20.03 kB / 286.1 MB, free: 3.422 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.143e-05/0.03039, allocations: 11.98 kB / 286.1 MB, free: 3.41 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001095/0.0305, allocations: 115.9 kB / 286.2 MB, free: 3.297 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0305, allocations: 0 / 286.2 MB, free: 3.297 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000411/0.03091, allocations: 60 kB / 286.3 MB, free: 3.238 MB / 266.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.0002314/0.03114, allocations: 131 kB / 286.4 MB, free: 3.102 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006801/0.03183, allocations: 215.6 kB / 286.6 MB, free: 2.891 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.03183, allocations: 0.9375 kB / 286.6 MB, free: 2.891 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002766/0.0321, allocations: 90.8 kB / 286.7 MB, free: 2.805 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004545/0.03256, allocations: 47.89 kB / 286.7 MB, free: 2.758 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001138/0.0337, allocations: 430.2 kB / 287.2 MB, free: 2.297 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001239/0.03382, allocations: 103.3 kB / 287.3 MB, free: 2.176 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002355/0.03406, allocations: 49.86 kB / 287.3 MB, free: 2.129 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001143/0.03417, allocations: 24.5 kB / 287.3 MB, free: 2.105 MB / 266.7 MB Notification: Performance of SimCode: time 8.51e-07/0.03417, allocations: 0 / 287.3 MB, free: 2.105 MB / 266.7 MB Notification: Performance of Templates: time 0.007328/0.0415, allocations: 2.699 MB / 290 MB, free: 15.45 MB / 282.7 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 -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/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_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.275949498056434]