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.0009746/0.0009746, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.0009178/0.0009178, allocations: 160.5 kB / 24.55 MB, free: 16 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 0.921/0.921, allocations: 177 MB / 204.8 MB, free: 5.57 MB / 186.7 MB " [Timeout remaining time 179] 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.523e-06/1.523e-06, allocations: 3.938 kB / 272.9 MB, free: 1.469 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.241e-05/1.394e-05, allocations: 5.266 kB / 272.9 MB, free: 1.465 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.003953/0.003967, allocations: 4.628 MB / 277.5 MB, free: 12.81 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00123/0.005196, allocations: 1.81 MB / 279.3 MB, free: 11 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.325e-05/0.00524, allocations: 0 / 279.3 MB, free: 11 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002136/0.005453, allocations: 43.69 kB / 279.4 MB, free: 10.95 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002454/0.005699, allocations: 135.1 kB / 279.5 MB, free: 10.82 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003667/0.006065, allocations: 259.2 kB / 279.8 MB, free: 10.57 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002264/0.006292, allocations: 294.8 kB / 280 MB, free: 10.28 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.041e-05/0.006322, allocations: 9.297 kB / 280.1 MB, free: 10.27 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002126/0.006535, allocations: 175.5 kB / 280.2 MB, free: 10.09 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.813e-05/0.006613, allocations: 71.73 kB / 280.3 MB, free: 10.02 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.943e-05/0.006632, allocations: 8 kB / 280.3 MB, free: 10.02 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001399/0.006772, allocations: 87.92 kB / 280.4 MB, free: 9.93 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.46e-05/0.006827, allocations: 43.81 kB / 280.4 MB, free: 9.887 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.438e-05/0.006881, allocations: 59.91 kB / 280.5 MB, free: 9.828 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002345/0.007116, allocations: 215.3 kB / 280.7 MB, free: 9.617 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.007118, allocations: 4 kB / 280.7 MB, free: 9.613 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.32e-07/0.007119, allocations: 0 / 280.7 MB, free: 9.613 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.986e-06/0.007122, allocations: 0 / 280.7 MB, free: 9.613 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.0005635/0.007685, allocations: 0.4962 MB / 281.2 MB, free: 9.078 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.209e-05/0.007717, allocations: 15.98 kB / 281.2 MB, free: 9.062 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001356/0.007853, allocations: 44.7 kB / 281.3 MB, free: 9.02 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001489/0.008002, allocations: 152.4 kB / 281.4 MB, free: 8.844 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.008012, allocations: 8.656 kB / 281.4 MB, free: 8.836 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.827e-05/0.00804, allocations: 20.38 kB / 281.4 MB, free: 8.816 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002922/0.008333, allocations: 377.6 kB / 281.8 MB, free: 8.379 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.008343, allocations: 192 / 281.8 MB, free: 8.379 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.872e-05/0.008361, allocations: 12.11 kB / 281.8 MB, free: 8.367 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.008367, allocations: 4 kB / 281.8 MB, free: 8.363 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001254/0.008492, allocations: 99.8 kB / 281.9 MB, free: 8.266 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001007/0.0095, allocations: 1.103 MB / 283 MB, free: 7.102 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001735/0.009673, allocations: 115.3 kB / 283.1 MB, free: 6.977 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.801e-05/0.009721, allocations: 35.67 kB / 283.2 MB, free: 6.938 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002921/0.01001, allocations: 415.9 kB / 283.6 MB, free: 6.512 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.061e-05/0.01003, allocations: 37.39 kB / 283.6 MB, free: 6.465 MB / 266.7 MB Notification: Performance of pre-optimization done (n=14): time 1.192e-06/0.01004, allocations: 0 / 283.6 MB, free: 6.465 MB / 266.7 MB Notification: Performance of matching and sorting (n=20): time 0.001128/0.01116, allocations: 0.5676 MB / 284.2 MB, free: 5.863 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.734e-05/0.01119, allocations: 51.41 kB / 284.2 MB, free: 5.801 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001127/0.0113, allocations: 229.6 kB / 284.5 MB, free: 5.559 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.811e-05/0.01132, allocations: 29.7 kB / 284.5 MB, free: 5.523 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.645e-05/0.01139, allocations: 190.8 kB / 284.7 MB, free: 5.328 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.984e-05/0.01143, allocations: 67.39 kB / 284.7 MB, free: 5.262 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.625e-05/0.01149, allocations: 75.3 kB / 284.8 MB, free: 5.18 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.0116, allocations: 0.4962 MB / 285.3 MB, free: 4.672 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.975e-05/0.01167, allocations: 51.97 kB / 285.4 MB, free: 4.621 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001296/0.0118, allocations: 206.6 kB / 285.6 MB, free: 4.352 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002122/0.01201, allocations: 274.8 kB / 285.8 MB, free: 4.016 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.01201, allocations: 0 / 285.8 MB, free: 4.016 MB / 266.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0002765/0.01229, allocations: 276.5 kB / 286.1 MB, free: 3.742 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.0123, allocations: 7.281 kB / 286.1 MB, free: 3.738 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.01231, allocations: 4.469 kB / 286.1 MB, free: 3.734 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.01232, allocations: 11.94 kB / 286.1 MB, free: 3.723 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001788/0.0125, allocations: 75.89 kB / 286.2 MB, free: 3.648 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.994e-06/0.01251, allocations: 8 kB / 286.2 MB, free: 3.641 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.64e-05/0.0126, allocations: 19.92 kB / 286.2 MB, free: 3.621 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.155e-05/0.01262, allocations: 12 kB / 286.2 MB, free: 3.609 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 7.885e-05/0.0127, allocations: 176.5 kB / 286.4 MB, free: 3.426 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.478e-05/0.01273, allocations: 19.95 kB / 286.4 MB, free: 3.406 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002458/0.01298, allocations: 194.6 kB / 286.6 MB, free: 3.207 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.225e-06/0.01298, allocations: 3.938 kB / 286.6 MB, free: 3.203 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.01298, allocations: 4 kB / 286.6 MB, free: 3.199 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.01299, allocations: 0 / 286.6 MB, free: 3.199 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005841/0.01357, allocations: 0.5389 MB / 287.2 MB, free: 2.602 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.01357, allocations: 0 / 287.2 MB, free: 2.602 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001314/0.0137, allocations: 52.09 kB / 287.2 MB, free: 2.551 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.509e-06/0.01371, allocations: 4 kB / 287.2 MB, free: 2.547 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.462e-05/0.01372, allocations: 3.984 kB / 287.2 MB, free: 2.543 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.01372, allocations: 4 kB / 287.2 MB, free: 2.539 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.01373, allocations: 3.938 kB / 287.2 MB, free: 2.535 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003451/0.01407, allocations: 390.9 kB / 287.6 MB, free: 2.117 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.812e-05/0.01411, allocations: 27.88 kB / 287.6 MB, free: 2.09 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.23e-05/0.01413, allocations: 4 kB / 287.6 MB, free: 2.086 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.524e-05/0.01423, allocations: 12.03 kB / 287.7 MB, free: 2.074 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.222e-05/0.01425, allocations: 23.91 kB / 287.7 MB, free: 2.051 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.424e-05/0.01426, allocations: 7.984 kB / 287.7 MB, free: 2.043 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.034e-05/0.01431, allocations: 149.3 kB / 287.8 MB, free: 1.898 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01431, allocations: 0 / 287.8 MB, free: 1.898 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002255/0.01454, allocations: 63.94 kB / 287.9 MB, free: 1.836 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.0001257/0.01466, allocations: 131.1 kB / 288 MB, free: 1.699 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002142/0.01488, allocations: 174.3 kB / 288.2 MB, free: 1.527 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.01488, allocations: 4 kB / 288.2 MB, free: 1.523 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.422e-05/0.01496, allocations: 76.52 kB / 288.3 MB, free: 1.445 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003123/0.01527, allocations: 44.2 kB / 288.3 MB, free: 1.402 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008147/0.01608, allocations: 435.1 kB / 288.7 MB, free: 0.9297 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.838e-05/0.01612, allocations: 72.34 kB / 288.8 MB, free: 0.8398 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001321/0.01625, allocations: 49.86 kB / 288.9 MB, free: 0.793 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.399e-05/0.01632, allocations: 28.48 kB / 288.9 MB, free: 0.7656 MB / 266.7 MB Notification: Performance of SimCode: time 7.71e-07/0.01632, allocations: 0 / 288.9 MB, free: 0.7656 MB / 266.7 MB Notification: Performance of Templates: time 0.004271/0.02059, allocations: 2.958 MB / 291.8 MB, free: 13.85 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.551423105876893]