Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.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.001082/0.001082, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.001003/0.001003, allocations: 165 kB / 24.99 MB, free: 8.219 MB / 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.001/1.001, allocations: 177 MB / 205.2 MB, free: 5.566 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2807/0.2807, allocations: 34.86 MB / 296.6 MB, free: 0.5508 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h_dew",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy") translateModel(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h_dew",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 378.7 MB, free: 2.441 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.992e-05/2.166e-05, allocations: 2.312 kB / 378.7 MB, free: 2.438 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy): time 0.01903/0.01905, allocations: 12.49 MB / 391.2 MB, free: 5.895 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001062/0.02012, allocations: 1.386 MB / 392.6 MB, free: 4.504 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.42e-05/0.02016, allocations: 0 / 392.6 MB, free: 4.504 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001842/0.02034, allocations: 23.83 kB / 392.6 MB, free: 4.48 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003988/0.02433, allocations: 2.222 MB / 394.8 MB, free: 2.25 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.538e-06/0.02434, allocations: 0 / 394.8 MB, free: 2.25 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 9.434e-05/0.02443, allocations: 47.66 kB / 394.9 MB, free: 2.203 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.543e-05/0.02448, allocations: 11.94 kB / 394.9 MB, free: 2.191 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.806e-05/0.02456, allocations: 23.91 kB / 394.9 MB, free: 2.168 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.236e-05/0.0246, allocations: 8 kB / 394.9 MB, free: 2.16 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.108e-05/0.02461, allocations: 4 kB / 394.9 MB, free: 2.156 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003637/0.02824, allocations: 3.706 MB / 398.6 MB, free: 14.45 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.226e-05/0.02826, allocations: 7.875 kB / 398.6 MB, free: 14.44 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.467e-05/0.02828, allocations: 12 kB / 398.7 MB, free: 14.43 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002193/0.03047, allocations: 2.561 MB / 401.2 MB, free: 11.86 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.03048, allocations: 0 / 401.2 MB, free: 11.86 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.03048, allocations: 4 kB / 401.2 MB, free: 11.86 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.03048, allocations: 0 / 401.2 MB, free: 11.86 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007311/0.03122, allocations: 0.5927 MB / 401.8 MB, free: 11.23 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.03125, allocations: 8.031 kB / 401.8 MB, free: 11.22 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001407/0.03139, allocations: 24.86 kB / 401.8 MB, free: 11.2 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.206e-05/0.03147, allocations: 116.5 kB / 402 MB, free: 11.06 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/0.03149, allocations: 4.375 kB / 402 MB, free: 11.05 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.886e-06/0.03149, allocations: 384 / 402 MB, free: 11.05 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001697/0.03166, allocations: 97.56 kB / 402.1 MB, free: 10.95 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.03167, allocations: 192 / 402.1 MB, free: 10.95 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.03168, allocations: 8.125 kB / 402.1 MB, free: 10.94 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.03169, allocations: 4 kB / 402.1 MB, free: 10.93 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.366e-05/0.03178, allocations: 39.89 kB / 402.1 MB, free: 10.89 MB / 378.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003459/0.03213, allocations: 406.6 kB / 402.5 MB, free: 10.46 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001191/0.03225, allocations: 70.95 kB / 402.6 MB, free: 10.38 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.369e-05/0.03227, allocations: 19.7 kB / 402.6 MB, free: 10.35 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009697/0.04197, allocations: 5.649 MB / 408.2 MB, free: 4.703 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.242e-05/0.04199, allocations: 37.39 kB / 408.3 MB, free: 4.656 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.303e-06/0.04199, allocations: 0 / 408.3 MB, free: 4.656 MB / 378.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003069/0.0423, allocations: 117.4 kB / 408.4 MB, free: 4.535 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.749e-05/0.04233, allocations: 51.41 kB / 408.4 MB, free: 4.473 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.104e-05/0.0424, allocations: 161.9 kB / 408.6 MB, free: 4.297 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.378e-06/0.04241, allocations: 25.7 kB / 408.6 MB, free: 4.266 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.219e-05/0.04245, allocations: 134.8 kB / 408.8 MB, free: 4.129 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.249e-05/0.04246, allocations: 15.84 kB / 408.8 MB, free: 4.113 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.897e-05/0.04249, allocations: 31.36 kB / 408.8 MB, free: 4.074 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001035/0.0426, allocations: 496.1 kB / 409.3 MB, free: 3.578 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.26e-05/0.04261, allocations: 4 kB / 409.3 MB, free: 3.574 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.957e-05/0.04264, allocations: 39.05 kB / 409.3 MB, free: 3.523 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.232e-05/0.04268, allocations: 43 kB / 409.4 MB, free: 3.469 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.04268, allocations: 3.938 kB / 409.4 MB, free: 3.465 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 7.729e-05/0.04276, allocations: 69.56 kB / 409.4 MB, free: 3.391 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.04277, allocations: 4 kB / 409.4 MB, free: 3.387 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.04278, allocations: 4 kB / 409.5 MB, free: 3.383 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.04279, allocations: 4.062 kB / 409.5 MB, free: 3.379 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.738e-05/0.04284, allocations: 8 kB / 409.5 MB, free: 3.371 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.04284, allocations: 0 / 409.5 MB, free: 3.371 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.719e-05/0.04286, allocations: 4 kB / 409.5 MB, free: 3.367 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.163e-05/0.04287, allocations: 4 kB / 409.5 MB, free: 3.363 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 (state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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 6.119e-05/0.04293, allocations: 164.5 kB / 409.6 MB, free: 3.191 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.586e-05/0.04295, allocations: 7.984 kB / 409.6 MB, free: 3.184 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002174/0.04317, allocations: 241.4 kB / 409.9 MB, free: 2.938 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.04317, allocations: 7.984 kB / 409.9 MB, free: 2.93 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.04318, allocations: 4 kB / 409.9 MB, free: 2.926 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.04318, allocations: 0 / 409.9 MB, free: 2.926 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001375/0.04332, allocations: 193.2 kB / 410.1 MB, free: 2.703 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.04332, allocations: 3.938 kB / 410.1 MB, free: 2.699 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.871e-05/0.04334, allocations: 8 kB / 410.1 MB, free: 2.691 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.04334, allocations: 0 / 410.1 MB, free: 2.691 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.498e-06/0.04335, allocations: 0 / 410.1 MB, free: 2.691 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.04335, allocations: 0 / 410.1 MB, free: 2.691 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.04335, allocations: 3.938 kB / 410.1 MB, free: 2.688 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001576/0.04351, allocations: 294.9 kB / 410.4 MB, free: 2.383 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.168e-05/0.04352, allocations: 19.77 kB / 410.4 MB, free: 2.363 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.146e-05/0.04353, allocations: 11.98 kB / 410.4 MB, free: 2.352 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.658e-05/0.04356, allocations: 256 / 410.4 MB, free: 2.352 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.396e-05/0.04357, allocations: 7.984 kB / 410.4 MB, free: 2.344 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.18e-06/0.04358, allocations: 4 kB / 410.4 MB, free: 2.34 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.37e-05/0.04361, allocations: 127.2 kB / 410.5 MB, free: 2.215 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.04361, allocations: 0 / 410.5 MB, free: 2.215 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006298/0.04424, allocations: 447.4 kB / 411 MB, free: 1.777 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($cse1.region3boundary,$cse2.phase,$cse2.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.001209/0.04545, allocations: 0.6294 MB / 411.6 MB, free: 1.141 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 9.496e-05/0.04554, allocations: 59.55 kB / 411.7 MB, free: 1.078 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.04555, allocations: 0 / 411.7 MB, free: 1.078 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.645e-05/0.04559, allocations: 63.55 kB / 411.7 MB, free: 1.012 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001913/0.04578, allocations: 11.92 kB / 411.7 MB, free: 1 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000671/0.04645, allocations: 310.5 kB / 412 MB, free: 0.6641 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.289e-05/0.0465, allocations: 68.08 kB / 412.1 MB, free: 0.5742 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.853e-05/0.04656, allocations: 23.97 kB / 412.1 MB, free: 0.5508 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.856e-05/0.04657, allocations: 12.5 kB / 412.2 MB, free: 0.5391 MB / 378.7 MB Notification: Performance of SimCode: time 1.173e-06/0.04658, allocations: 4 kB / 412.2 MB, free: 0.5352 MB / 378.7 MB Notification: Performance of Templates: time 0.01341/0.05998, allocations: 14.25 MB / 426.4 MB, free: 2.285 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/WaterIF97_dewEnthalpy/WaterIF97_dewEnthalpy.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: 3.4380167750641704]