Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.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.0009717/0.0009717, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001489/0.00246, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0009813/0.0009813, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001328/0.002309, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.031/1.031, allocations: 177.2 MB / 189.8 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09257/1.124, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.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.2932/0.2932, allocations: 34.25 MB / 278.4 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02598/0.3192, allocations: 13.11 MB / 291.5 MB, free: 7.32 MB / 282.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.TestAllProperties.IncompleteMedia.WaterIF97_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|eps_h_is|eps|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|eps_h_is|eps|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 292.9 MB, free: 6.152 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.007e-05/2.215e-05, allocations: 2.312 kB / 292.9 MB, free: 6.148 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01298/0.013, allocations: 14.04 MB / 306.9 MB, free: 8.055 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.02054/0.03355, allocations: 26.24 MB / 333.2 MB, free: 13.72 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001453/0.03369, allocations: 0 / 333.2 MB, free: 13.72 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002564/0.03395, allocations: 91.41 kB / 333.3 MB, free: 13.63 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0169/0.05085, allocations: 7.909 MB / 341.2 MB, free: 5.684 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00073/0.05158, allocations: 358.7 kB / 341.5 MB, free: 5.332 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003112/0.05469, allocations: 1.704 MB / 343.2 MB, free: 3.617 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.16e-05/0.05475, allocations: 18.56 kB / 343.2 MB, free: 3.602 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000468/0.05522, allocations: 330.8 kB / 343.6 MB, free: 3.277 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004303/0.05952, allocations: 2.549 MB / 346.1 MB, free: 0.7031 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.727e-05/0.05957, allocations: 12 kB / 346.1 MB, free: 0.6914 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0186/0.07817, allocations: 11.16 MB / 357.3 MB, free: 5.52 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001056/0.07827, allocations: 35.88 kB / 357.3 MB, free: 5.484 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001224/0.07839, allocations: 83.88 kB / 357.4 MB, free: 5.402 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01025/0.08864, allocations: 6.109 MB / 363.5 MB, free: 15.28 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.107e-06/0.08865, allocations: 0 / 363.5 MB, free: 15.28 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.08865, allocations: 4 kB / 363.5 MB, free: 15.28 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.137e-05/0.08867, allocations: 3.984 kB / 363.5 MB, free: 15.27 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.004501/0.09317, allocations: 2.067 MB / 365.6 MB, free: 13.16 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.0932, allocations: 12.03 kB / 365.6 MB, free: 13.14 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00169/0.09489, allocations: 380 kB / 366 MB, free: 12.77 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003371/0.09523, allocations: 197.3 kB / 366.1 MB, free: 12.55 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.551e-05/0.09527, allocations: 29.03 kB / 366.2 MB, free: 12.52 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.976e-05/0.09532, allocations: 28.38 kB / 366.2 MB, free: 12.5 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001941/0.09726, allocations: 0.8961 MB / 367.1 MB, free: 11.54 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.09727, allocations: 3.938 kB / 367.1 MB, free: 11.54 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.704e-05/0.09731, allocations: 16 kB / 367.1 MB, free: 11.52 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.197e-05/0.09732, allocations: 19.94 kB / 367.1 MB, free: 11.5 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001702/0.09902, allocations: 0.7131 MB / 367.9 MB, free: 10.79 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002036/0.1011, allocations: 1.797 MB / 369.6 MB, free: 8.934 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001035/0.1021, allocations: 397.2 kB / 370 MB, free: 8.539 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.453e-05/0.1022, allocations: 56.78 kB / 370.1 MB, free: 8.48 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4999/0.6021, allocations: 190.7 MB / 0.5476 GB, free: 3.547 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001072/0.6032, allocations: 484 kB / 0.5481 GB, free: 3.086 MB / 426.7 MB Notification: Performance of pre-optimization done (n=32): time 2.024e-06/0.6032, allocations: 0 / 0.5481 GB, free: 3.086 MB / 426.7 MB Notification: Performance of matching and sorting (n=32): time 0.00203/0.6052, allocations: 0.7991 MB / 0.5489 GB, free: 2.406 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.198e-05/0.6052, allocations: 373.9 kB / 0.5492 GB, free: 1.961 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.994e-05/0.6053, allocations: 194.8 kB / 0.5494 GB, free: 1.797 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.649e-05/0.6054, allocations: 34.58 kB / 0.5494 GB, free: 1.762 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.23e-05/0.6054, allocations: 195 kB / 0.5496 GB, free: 1.586 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.013e-05/0.6055, allocations: 121.3 kB / 0.5497 GB, free: 1.484 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001052/0.6056, allocations: 105.9 kB / 0.5498 GB, free: 1.414 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 4.135e-05/0.6056, allocations: 329.2 kB / 0.5501 GB, free: 1.094 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.268e-05/0.6057, allocations: 82.94 kB / 0.5502 GB, free: 1.02 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000165/0.6059, allocations: 339.2 kB / 0.5505 GB, free: 0.5898 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003488/0.6062, allocations: 0.4953 MB / 0.551 GB, free: 40 kB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/0.6062, allocations: 4 kB / 0.551 GB, free: 36 kB / 426.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005033/0.6068, allocations: 398.2 kB / 0.5514 GB, free: 15.73 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.6068, allocations: 8 kB / 0.5514 GB, free: 15.72 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.6068, allocations: 8.812 kB / 0.5514 GB, free: 15.71 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.423e-05/0.6068, allocations: 15.94 kB / 0.5514 GB, free: 15.7 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003575/0.6072, allocations: 162.4 kB / 0.5516 GB, free: 15.57 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.363e-05/0.6072, allocations: 20.62 kB / 0.5516 GB, free: 15.55 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002183/0.6074, allocations: 53.69 kB / 0.5517 GB, free: 15.51 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.447e-05/0.6074, allocations: 34.72 kB / 0.5517 GB, free: 15.48 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,medium.phase,state2.phase,state3.phase,state4.phase,state5.phase,state_h_is.phase,state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 58 * 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.0001295/0.6076, allocations: 146.8 kB / 0.5518 GB, free: 15.35 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.489e-05/0.6076, allocations: 31.78 kB / 0.5519 GB, free: 15.32 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001532/0.6092, allocations: 1.424 MB / 0.5533 GB, free: 14.11 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.819e-05/0.6092, allocations: 23.41 kB / 0.5533 GB, free: 14.09 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.6092, allocations: 4.375 kB / 0.5533 GB, free: 14.08 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.515e-06/0.6092, allocations: 8 kB / 0.5533 GB, free: 14.07 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005264/0.6097, allocations: 0.5517 MB / 0.5538 GB, free: 13.63 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.343e-06/0.6097, allocations: 4 kB / 0.5538 GB, free: 13.62 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002136/0.6099, allocations: 75.64 kB / 0.5539 GB, free: 13.56 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.758e-05/0.61, allocations: 56.34 kB / 0.554 GB, free: 13.51 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.61, allocations: 8 kB / 0.554 GB, free: 13.5 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.708e-05/0.61, allocations: 11.56 kB / 0.554 GB, free: 13.5 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.584e-06/0.61, allocations: 11.78 kB / 0.554 GB, free: 13.49 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.61, allocations: 4 kB / 0.554 GB, free: 13.48 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000466/0.6105, allocations: 499.5 kB / 0.5545 GB, free: 12.95 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001076/0.6106, allocations: 111.4 kB / 0.5546 GB, free: 12.85 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001857/0.6108, allocations: 15.8 kB / 0.5546 GB, free: 12.84 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.458e-05/0.6108, allocations: 35.33 kB / 0.5546 GB, free: 12.81 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.288e-05/0.6109, allocations: 16.55 kB / 0.5546 GB, free: 12.8 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003019/0.6112, allocations: 334.8 kB / 0.555 GB, free: 12.51 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.6112, allocations: 0 / 0.555 GB, free: 12.51 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003504/0.6147, allocations: 1.53 MB / 0.5565 GB, free: 11.04 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 10 ($cse15.phase,$cse15.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse21.phase,$cse21.region,$whenCondition1,medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.005079/0.6197, allocations: 2.123 MB / 0.5585 GB, free: 9.113 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0004048/0.6201, allocations: 313.9 kB / 0.5588 GB, free: 8.867 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.862e-05/0.6202, allocations: 12 kB / 0.5588 GB, free: 8.855 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000212/0.6204, allocations: 170.8 kB / 0.559 GB, free: 8.715 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001045/0.6214, allocations: 0.9715 MB / 0.56 GB, free: 7.727 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.09/1.712, allocations: 0.5991 GB / 1.159 GB, free: 137.5 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.301e-05/1.712, allocations: 170.2 kB / 1.159 GB, free: 137.4 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0004328/1.712, allocations: 0.5187 MB / 1.16 GB, free: 137.2 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002125/1.712, allocations: 152.6 kB / 1.16 GB, free: 137.1 MB / 474.7 MB Notification: Performance of SimCode: time 1.593e-06/1.712, allocations: 0 / 1.16 GB, free: 137.1 MB / 474.7 MB Notification: Performance of Templates: time 0.03698/1.749, allocations: 54.76 MB / 1.213 GB, free: 86.04 MB / 474.7 MB " [Timeout remaining time 658] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_ph/WaterIF97_ph.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.302861552685499]