Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009621/0.0009621, allocations: 81.86 kB / 21.42 MB, free: 3.074 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001007/0.001007, allocations: 172 kB / 24.82 MB, free: 8.77 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.028/1.028, allocations: 177.1 MB / 205.3 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2638/0.2638, allocations: 34.27 MB / 296.1 MB, free: 0.6484 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h_dew",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy") translateModel(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h_dew",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 378.5 MB, free: 2.383 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.785e-05/1.948e-05, allocations: 4.141 kB / 378.5 MB, free: 2.379 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy): time 0.01077/0.01079, allocations: 12.35 MB / 390.8 MB, free: 5.969 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009451/0.01173, allocations: 1.362 MB / 392.2 MB, free: 4.602 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.216e-05/0.01176, allocations: 4 kB / 392.2 MB, free: 4.598 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001489/0.01191, allocations: 31.83 kB / 392.2 MB, free: 4.566 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003629/0.01554, allocations: 2.233 MB / 394.5 MB, free: 2.328 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.587e-06/0.01555, allocations: 0 / 394.5 MB, free: 2.328 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 9.099e-05/0.01564, allocations: 51.61 kB / 394.5 MB, free: 2.277 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.427e-05/0.01568, allocations: 3.984 kB / 394.5 MB, free: 2.273 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001097/0.01579, allocations: 23.92 kB / 394.5 MB, free: 2.25 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.232e-05/0.01583, allocations: 8 kB / 394.6 MB, free: 2.242 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.165e-05/0.01584, allocations: 0 / 394.6 MB, free: 2.242 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003948/0.01979, allocations: 3.702 MB / 398.3 MB, free: 14.54 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.296e-05/0.01981, allocations: 11.94 kB / 398.3 MB, free: 14.52 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.072e-05/0.01983, allocations: 8 kB / 398.3 MB, free: 14.52 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002039/0.02186, allocations: 2.569 MB / 400.8 MB, free: 11.94 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.02187, allocations: 0 / 400.8 MB, free: 11.94 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.02187, allocations: 0 / 400.8 MB, free: 11.94 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.837e-06/0.02187, allocations: 4 kB / 400.8 MB, free: 11.94 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.000693/0.02257, allocations: 0.5927 MB / 401.4 MB, free: 11.31 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.02261, allocations: 8.031 kB / 401.4 MB, free: 11.3 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001034/0.02271, allocations: 20.86 kB / 401.5 MB, free: 11.28 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.254e-05/0.02278, allocations: 112.6 kB / 401.6 MB, free: 11.14 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/0.02279, allocations: 4.375 kB / 401.6 MB, free: 11.14 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.123e-06/0.0228, allocations: 4.312 kB / 401.6 MB, free: 11.14 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001411/0.02294, allocations: 89.58 kB / 401.7 MB, free: 11.04 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.692e-06/0.02295, allocations: 4.125 kB / 401.7 MB, free: 11.03 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.205e-06/0.02295, allocations: 4.125 kB / 401.7 MB, free: 11.03 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.02296, allocations: 4 kB / 401.7 MB, free: 11.02 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.474e-05/0.02303, allocations: 43.94 kB / 401.7 MB, free: 10.98 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.0003068/0.02334, allocations: 387.2 kB / 402.1 MB, free: 10.57 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.509e-05/0.02344, allocations: 59.06 kB / 402.2 MB, free: 10.5 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.704e-05/0.02345, allocations: 19.77 kB / 402.2 MB, free: 10.48 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008286/0.03174, allocations: 5.169 MB / 407.4 MB, free: 5.309 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.405e-05/0.03176, allocations: 37.39 kB / 407.4 MB, free: 5.262 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.372e-06/0.03176, allocations: 0 / 407.4 MB, free: 5.262 MB / 378.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002564/0.03202, allocations: 105.5 kB / 407.5 MB, free: 5.152 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.822e-05/0.03205, allocations: 59.41 kB / 407.5 MB, free: 5.082 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.694e-05/0.03213, allocations: 166 kB / 407.7 MB, free: 4.902 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.548e-05/0.03214, allocations: 29.64 kB / 407.7 MB, free: 4.867 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.83e-05/0.0322, allocations: 142.8 kB / 407.9 MB, free: 4.723 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.206e-05/0.03221, allocations: 15.83 kB / 407.9 MB, free: 4.707 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.039e-05/0.03224, allocations: 23.38 kB / 407.9 MB, free: 4.676 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.03237, allocations: 0.4884 MB / 408.4 MB, free: 4.176 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.568e-06/0.03237, allocations: 4 kB / 408.4 MB, free: 4.172 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.549e-05/0.0324, allocations: 31.17 kB / 408.4 MB, free: 4.129 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.169e-05/0.03244, allocations: 51 kB / 408.5 MB, free: 4.066 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.03244, allocations: 0 / 408.5 MB, free: 4.066 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 6.909e-05/0.03251, allocations: 69.5 kB / 408.6 MB, free: 3.992 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.03253, allocations: 4 kB / 408.6 MB, free: 3.988 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.03253, allocations: 0 / 408.6 MB, free: 3.988 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.03254, allocations: 4 kB / 408.6 MB, free: 3.984 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.649e-05/0.03259, allocations: 12 kB / 408.6 MB, free: 3.973 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.816e-06/0.03259, allocations: 0 / 408.6 MB, free: 3.973 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.61e-05/0.03261, allocations: 4 kB / 408.6 MB, free: 3.969 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-06/0.03262, allocations: 0 / 408.6 MB, free: 3.969 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.731e-05/0.03268, allocations: 160.6 kB / 408.7 MB, free: 3.801 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.522e-05/0.0327, allocations: 11.92 kB / 408.8 MB, free: 3.789 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001935/0.03289, allocations: 221.3 kB / 409 MB, free: 3.562 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.501e-06/0.0329, allocations: 3.984 kB / 409 MB, free: 3.559 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.953e-06/0.0329, allocations: 0 / 409 MB, free: 3.559 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.0329, allocations: 4 kB / 409 MB, free: 3.555 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000131/0.03303, allocations: 177.8 kB / 409.1 MB, free: 3.355 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.03304, allocations: 0 / 409.1 MB, free: 3.355 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.627e-05/0.03305, allocations: 4 kB / 409.2 MB, free: 3.352 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-06/0.03305, allocations: 0 / 409.2 MB, free: 3.352 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.03306, allocations: 11.94 kB / 409.2 MB, free: 3.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.03306, allocations: 7.938 kB / 409.2 MB, free: 3.332 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.03307, allocations: 0 / 409.2 MB, free: 3.332 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001508/0.03322, allocations: 282.4 kB / 409.4 MB, free: 3.039 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.18e-05/0.03323, allocations: 15.88 kB / 409.5 MB, free: 3.023 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.087e-05/0.03324, allocations: 7.938 kB / 409.5 MB, free: 3.016 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.51e-05/0.03326, allocations: 0 / 409.5 MB, free: 3.016 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.477e-05/0.03328, allocations: 7.984 kB / 409.5 MB, free: 3.008 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.346e-06/0.03328, allocations: 0 / 409.5 MB, free: 3.008 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.384e-05/0.03332, allocations: 123.2 kB / 409.6 MB, free: 2.887 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03332, allocations: 0 / 409.6 MB, free: 2.887 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000618/0.03393, allocations: 451.4 kB / 410 MB, free: 2.445 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.001357/0.03529, allocations: 0.6473 MB / 410.7 MB, free: 1.789 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001018/0.03539, allocations: 59.48 kB / 410.7 MB, free: 1.727 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.03539, allocations: 0 / 410.7 MB, free: 1.727 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.897e-05/0.03544, allocations: 47.78 kB / 410.8 MB, free: 1.676 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002684/0.03571, allocations: 23.86 kB / 410.8 MB, free: 1.652 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007224/0.03643, allocations: 290.9 kB / 411.1 MB, free: 1.336 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.091e-05/0.03648, allocations: 76.08 kB / 411.2 MB, free: 1.238 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.312e-05/0.03655, allocations: 19.97 kB / 411.2 MB, free: 1.219 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.282e-05/0.03661, allocations: 86.19 kB / 411.3 MB, free: 1.133 MB / 378.7 MB Notification: Performance of SimCode: time 7.61e-07/0.03661, allocations: 0 / 411.3 MB, free: 1.133 MB / 378.7 MB Notification: Performance of Templates: time 0.01858/0.05519, allocations: 15.79 MB / 427.1 MB, free: 1.336 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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.5582122206687927]