Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.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.001033/0.001033, 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.00173/0.00173, 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 1.04/1.04, allocations: 177 MB / 204.8 MB, free: 5.578 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.307/0.307, allocations: 34.86 MB / 296.3 MB, free: 0.5391 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.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_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 378.8 MB, free: 2.055 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.041e-05/3.227e-05, allocations: 4.844 kB / 378.8 MB, free: 2.051 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01382/0.01386, allocations: 13.97 MB / 392.8 MB, free: 4.016 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.02337/0.03722, allocations: 26.2 MB / 419 MB, free: 9.727 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001987/0.03742, allocations: 0 / 419 MB, free: 9.727 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004026/0.03782, allocations: 87.38 kB / 419.1 MB, free: 9.641 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02446/0.06228, allocations: 8.678 MB / 427.7 MB, free: 0.9219 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008916/0.06318, allocations: 354.8 kB / 428.1 MB, free: 0.5742 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.003112/0.06629, allocations: 2.063 MB / 430.2 MB, free: 14.49 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.117e-05/0.06636, allocations: 16.59 kB / 430.2 MB, free: 14.48 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005472/0.06691, allocations: 326.8 kB / 430.5 MB, free: 14.16 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004126/0.07103, allocations: 3.27 MB / 433.8 MB, free: 10.83 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.281e-05/0.07108, allocations: 11.94 kB / 433.8 MB, free: 10.82 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01991/0.091, allocations: 10.37 MB / 444.1 MB, free: 452 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.953e-05/0.0911, allocations: 51.7 kB / 444.2 MB, free: 400 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001775/0.09128, allocations: 107.8 kB / 444.3 MB, free: 292 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2132/0.3044, allocations: 7.984 MB / 452.3 MB, free: 60.95 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.3045, allocations: 0 / 452.3 MB, free: 60.95 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3045, allocations: 0 / 452.3 MB, free: 60.95 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.243e-05/0.3045, allocations: 0 / 452.3 MB, free: 60.95 MB / 410.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.004483/0.309, allocations: 1.621 MB / 453.9 MB, free: 60.09 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.309, allocations: 10.25 kB / 453.9 MB, free: 60.09 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001107/0.3101, allocations: 338.6 kB / 454.2 MB, free: 60.03 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002783/0.3104, allocations: 225.3 kB / 454.5 MB, free: 59.89 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.55e-05/0.3104, allocations: 26.25 kB / 454.5 MB, free: 59.89 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.775e-05/0.3104, allocations: 33.66 kB / 454.5 MB, free: 59.89 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001438/0.3119, allocations: 0.9528 MB / 455.5 MB, free: 59.63 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.3119, allocations: 5.875 kB / 455.5 MB, free: 59.63 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.216e-05/0.3119, allocations: 18.11 kB / 455.5 MB, free: 59.63 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.415e-05/0.3119, allocations: 8.781 kB / 455.5 MB, free: 59.63 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001317/0.3133, allocations: 0.8361 MB / 456.3 MB, free: 59.62 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00201/0.3153, allocations: 2.479 MB / 458.8 MB, free: 57.88 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007588/0.316, allocations: 410.9 kB / 459.2 MB, free: 57.84 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.426e-05/0.3161, allocations: 69.66 kB / 459.3 MB, free: 57.83 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5333/0.8494, allocations: 161.8 MB / 0.6065 GB, free: 132.1 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008979/0.8503, allocations: 0.5254 MB / 0.6071 GB, free: 131.9 MB / 474.7 MB Notification: Performance of pre-optimization done (n=32): time 1.533e-06/0.8503, allocations: 0 / 0.6071 GB, free: 131.9 MB / 474.7 MB Notification: Performance of matching and sorting (n=32): time 0.001658/0.8519, allocations: 0.8537 MB / 0.6079 GB, free: 131.9 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.755e-05/0.852, allocations: 376.6 kB / 0.6082 GB, free: 131.5 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001206/0.8521, allocations: 256.3 kB / 0.6085 GB, free: 131.3 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.452e-05/0.8521, allocations: 33.3 kB / 0.6085 GB, free: 131.3 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.713e-05/0.8522, allocations: 243.7 kB / 0.6088 GB, free: 131.1 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.4e-05/0.8523, allocations: 121 kB / 0.6089 GB, free: 131 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001055/0.8524, allocations: 133.6 kB / 0.609 GB, free: 131 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 6.672e-05/0.8524, allocations: 0.5014 MB / 0.6095 GB, free: 130.5 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001127/0.8525, allocations: 94.95 kB / 0.6096 GB, free: 130.5 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002204/0.8528, allocations: 482.5 kB / 0.61 GB, free: 130 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003826/0.8531, allocations: 0.613 MB / 0.6106 GB, free: 129.5 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.758e-06/0.8531, allocations: 3.531 kB / 0.6106 GB, free: 129.5 MB / 474.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005562/0.8537, allocations: 0.5111 MB / 0.6111 GB, free: 129.5 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.8537, allocations: 13.38 kB / 0.6112 GB, free: 129.5 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.154e-05/0.8537, allocations: 8.594 kB / 0.6112 GB, free: 129.5 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-05/0.8538, allocations: 11.5 kB / 0.6112 GB, free: 129.5 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002488/0.854, allocations: 141.6 kB / 0.6113 GB, free: 129.5 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.461e-05/0.854, allocations: 26.61 kB / 0.6113 GB, free: 129.5 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000151/0.8542, allocations: 48.12 kB / 0.6114 GB, free: 129.5 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.683e-05/0.8542, allocations: 42.39 kB / 0.6114 GB, free: 129.5 MB / 474.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,state.phase,state_h_is.phase,state5.phase,state4.phase,state3.phase,state2.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.0001134/0.8543, allocations: 200 kB / 0.6116 GB, free: 129.3 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.936e-05/0.8544, allocations: 49.33 kB / 0.6117 GB, free: 129.3 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001068/0.8555, allocations: 1.504 MB / 0.6131 GB, free: 129 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.451e-05/0.8555, allocations: 21.03 kB / 0.6131 GB, free: 129 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.8555, allocations: 2.812 kB / 0.6131 GB, free: 129 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.8555, allocations: 5.562 kB / 0.6132 GB, free: 129 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004646/0.8559, allocations: 0.7443 MB / 0.6139 GB, free: 128.8 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.782e-06/0.8559, allocations: 8.969 kB / 0.6139 GB, free: 128.8 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001471/0.8561, allocations: 73.84 kB / 0.614 GB, free: 128.8 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.8561, allocations: 3.25 kB / 0.614 GB, free: 128.8 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.677e-05/0.8561, allocations: 10.41 kB / 0.614 GB, free: 128.8 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.888e-06/0.8561, allocations: 6.562 kB / 0.614 GB, free: 128.8 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.8561, allocations: 20.11 kB / 0.614 GB, free: 128.8 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004943/0.8566, allocations: 0.6191 MB / 0.6146 GB, free: 128.5 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.527e-05/0.8567, allocations: 59.67 kB / 0.6147 GB, free: 128.4 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.122e-05/0.8567, allocations: 104.4 kB / 0.6148 GB, free: 128.4 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000136/0.8569, allocations: 13.28 kB / 0.6148 GB, free: 128.4 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.381e-05/0.8569, allocations: 36.34 kB / 0.6148 GB, free: 128.4 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.761e-05/0.8569, allocations: 19.92 kB / 0.6148 GB, free: 128.4 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0003374/0.8573, allocations: 0.5182 MB / 0.6153 GB, free: 128.2 MB / 474.7 MB Notification: Performance of sort global known variables: time 9e-08/0.8573, allocations: 3.969 kB / 0.6153 GB, free: 128.2 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004516/0.8618, allocations: 1.526 MB / 0.6168 GB, free: 128.2 MB / 474.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.004321/0.8661, allocations: 1.964 MB / 0.6187 GB, free: 127.8 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0004292/0.8665, allocations: 352.4 kB / 0.6191 GB, free: 127.8 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.8665, allocations: 3.219 kB / 0.6191 GB, free: 127.8 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001551/0.8667, allocations: 179.3 kB / 0.6193 GB, free: 127.8 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005267/0.8672, allocations: 234.9 kB / 0.6195 GB, free: 127.8 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.9665/1.834, allocations: 0.6089 GB / 1.228 GB, free: 84.85 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.307e-05/1.834, allocations: 176.7 kB / 1.229 GB, free: 84.67 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0005001/1.834, allocations: 0.5259 MB / 1.229 GB, free: 84.18 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001198/1.834, allocations: 60.47 kB / 1.229 GB, free: 84.12 MB / 474.7 MB Notification: Performance of SimCode: time 2.184e-06/1.834, allocations: 0 / 1.229 GB, free: 84.12 MB / 474.7 MB Notification: Performance of Templates: time 0.04861/1.883, allocations: 68.12 MB / 1.296 GB, free: 16.32 MB / 474.7 MB " [Timeout remaining time 658] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.031576968729496]