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.001656/0.001656, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.001628/0.001628, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 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.52/1.52, allocations: 177.1 MB / 204.6 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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.3475/0.3475, allocations: 34.27 MB / 295.3 MB, free: 0.6875 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.373e-06/1.373e-06, allocations: 0 / 377.3 MB, free: 3.012 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.661e-05/2.798e-05, allocations: 2.312 kB / 377.3 MB, free: 3.008 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy): time 0.01796/0.01799, allocations: 11.46 MB / 388.7 MB, free: 7.492 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001724/0.01971, allocations: 1.226 MB / 390 MB, free: 6.262 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.408e-05/0.01974, allocations: 0 / 390 MB, free: 6.262 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001692/0.01991, allocations: 35.83 kB / 390 MB, free: 6.227 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005942/0.02585, allocations: 2.222 MB / 392.2 MB, free: 3.996 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.679e-06/0.02585, allocations: 0 / 392.2 MB, free: 3.996 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 9.908e-05/0.02595, allocations: 43.67 kB / 392.3 MB, free: 3.953 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.128e-05/0.02599, allocations: 0 / 392.3 MB, free: 3.953 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001034/0.02609, allocations: 27.91 kB / 392.3 MB, free: 3.926 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.352e-05/0.02613, allocations: 11.94 kB / 392.3 MB, free: 3.914 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.136e-05/0.02614, allocations: 0 / 392.3 MB, free: 3.914 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007154/0.0333, allocations: 3.71 MB / 396 MB, free: 204 kB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 1.566e-05/0.03331, allocations: 4 kB / 396 MB, free: 200 kB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.161e-05/0.03336, allocations: 15.94 kB / 396 MB, free: 184 kB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004444/0.0378, allocations: 2.569 MB / 398.6 MB, free: 13.61 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.0378, allocations: 0 / 398.6 MB, free: 13.61 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.03781, allocations: 0 / 398.6 MB, free: 13.61 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.03781, allocations: 0 / 398.6 MB, free: 13.61 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.001271/0.03908, allocations: 0.4889 MB / 399.1 MB, free: 13.09 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.373e-05/0.03913, allocations: 12.03 kB / 399.1 MB, free: 13.07 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001874/0.03932, allocations: 20.86 kB / 399.1 MB, free: 13.05 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001286/0.03945, allocations: 109.8 kB / 399.2 MB, free: 12.92 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.03946, allocations: 384 / 399.2 MB, free: 12.92 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.413e-05/0.03948, allocations: 8.375 kB / 399.2 MB, free: 12.91 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002508/0.03973, allocations: 83.92 kB / 399.3 MB, free: 12.82 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.03974, allocations: 4.125 kB / 399.3 MB, free: 12.82 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/0.03975, allocations: 8.125 kB / 399.3 MB, free: 12.81 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.03976, allocations: 7.984 kB / 399.3 MB, free: 12.8 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001672/0.03993, allocations: 47.95 kB / 399.4 MB, free: 12.75 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.0004796/0.04041, allocations: 296.7 kB / 399.7 MB, free: 12.43 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001914/0.0406, allocations: 62.41 kB / 399.7 MB, free: 12.36 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.116e-05/0.04063, allocations: 8.859 kB / 399.7 MB, free: 12.35 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02086/0.06149, allocations: 5.668 MB / 405.4 MB, free: 6.68 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.371e-05/0.06154, allocations: 38.55 kB / 405.4 MB, free: 6.633 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.573e-06/0.06155, allocations: 0 / 405.4 MB, free: 6.633 MB / 378.7 MB Notification: Performance of matching and sorting (n=4): time 0.0005462/0.06209, allocations: 117.4 kB / 405.6 MB, free: 6.512 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.808e-05/0.06214, allocations: 51.41 kB / 405.6 MB, free: 6.449 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001111/0.06225, allocations: 97.86 kB / 405.7 MB, free: 6.344 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.233e-05/0.06227, allocations: 25.7 kB / 405.7 MB, free: 6.312 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.692e-05/0.06235, allocations: 96.08 kB / 405.8 MB, free: 6.215 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.672e-05/0.06237, allocations: 11.84 kB / 405.8 MB, free: 6.203 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.892e-05/0.06242, allocations: 21.72 kB / 405.9 MB, free: 6.176 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001909/0.06261, allocations: 322.8 kB / 406.2 MB, free: 5.852 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.46e-05/0.06263, allocations: 8 kB / 406.2 MB, free: 5.844 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.591e-05/0.06268, allocations: 30.52 kB / 406.2 MB, free: 5.805 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.885e-05/0.06276, allocations: 42.5 kB / 406.2 MB, free: 5.754 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.167e-06/0.06276, allocations: 3.938 kB / 406.3 MB, free: 5.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001246/0.06288, allocations: 69.58 kB / 406.3 MB, free: 5.676 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.0629, allocations: 4 kB / 406.3 MB, free: 5.672 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.06291, allocations: 0 / 406.3 MB, free: 5.672 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.985e-05/0.06294, allocations: 8.062 kB / 406.3 MB, free: 5.664 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.54e-05/0.06302, allocations: 15.92 kB / 406.3 MB, free: 5.648 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.06303, allocations: 0 / 406.3 MB, free: 5.648 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.266e-05/0.06306, allocations: 0 / 406.3 MB, free: 5.648 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.319e-05/0.06308, allocations: 4 kB / 406.4 MB, free: 5.645 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 0.0001255/0.0632, allocations: 117.8 kB / 406.5 MB, free: 5.52 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.519e-05/0.06323, allocations: 0 / 406.5 MB, free: 5.52 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005516/0.06378, allocations: 393.5 kB / 406.9 MB, free: 5.125 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.234e-05/0.06379, allocations: 4.406 kB / 406.9 MB, free: 5.121 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.0638, allocations: 4 kB / 406.9 MB, free: 5.117 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.706e-06/0.0638, allocations: 4 kB / 406.9 MB, free: 5.113 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003044/0.0641, allocations: 225.9 kB / 407.1 MB, free: 4.863 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.229e-06/0.06411, allocations: 7.875 kB / 407.1 MB, free: 4.855 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.665e-05/0.06415, allocations: 11.97 kB / 407.1 MB, free: 4.844 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.06415, allocations: 0 / 407.1 MB, free: 4.844 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/0.06416, allocations: 0 / 407.1 MB, free: 4.844 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.06416, allocations: 0 / 407.1 MB, free: 4.844 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.596e-06/0.06416, allocations: 4 kB / 407.1 MB, free: 4.84 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003322/0.06449, allocations: 290.1 kB / 407.4 MB, free: 4.543 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.258e-05/0.06451, allocations: 15.83 kB / 407.4 MB, free: 4.527 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.65e-05/0.06453, allocations: 4 kB / 407.4 MB, free: 4.523 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.16e-05/0.06458, allocations: 4 kB / 407.4 MB, free: 4.52 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.904e-05/0.0646, allocations: 7.984 kB / 407.4 MB, free: 4.512 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.466e-06/0.06461, allocations: 0 / 407.4 MB, free: 4.512 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.776e-05/0.06466, allocations: 79.28 kB / 407.5 MB, free: 4.434 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.06466, allocations: 0 / 407.5 MB, free: 4.434 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001417/0.06608, allocations: 455.3 kB / 407.9 MB, free: 3.988 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.002001/0.06808, allocations: 0.6233 MB / 408.6 MB, free: 3.355 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001852/0.06827, allocations: 83.91 kB / 408.6 MB, free: 3.273 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.06827, allocations: 0 / 408.6 MB, free: 3.273 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.965e-05/0.06837, allocations: 71.91 kB / 408.7 MB, free: 3.203 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003247/0.06869, allocations: 16.12 kB / 408.7 MB, free: 3.188 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005888/0.06928, allocations: 301.6 kB / 409 MB, free: 2.863 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000108/0.06939, allocations: 94.05 kB / 409.1 MB, free: 2.75 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.567e-05/0.06948, allocations: 31.89 kB / 409.2 MB, free: 2.719 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.187e-05/0.06951, allocations: 12.5 kB / 409.2 MB, free: 2.707 MB / 378.7 MB Notification: Performance of SimCode: time 3.8e-07/0.06951, allocations: 0 / 409.2 MB, free: 2.707 MB / 378.7 MB Notification: Performance of Templates: time 0.02352/0.09302, allocations: 13.86 MB / 423 MB, free: 4.844 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.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: 5.319854486966506]