Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_pT") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001169/0.001169, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.313/1.313, allocations: 226.8 MB / 245.5 MB, free: 6.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001065/0.001065, allocations: 93.95 kB / 296.7 MB, free: 6.496 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.34/0.34, allocations: 44.83 MB / 392.7 MB, free: 34.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001862/0.001863, allocations: 67.89 kB / 465.5 MB, free: 12.1 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4282/0.4301, allocations: 62.01 MB / 0.5152 GB, free: 37.86 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.01961/0.4497, allocations: 14.71 MB / 0.5295 GB, free: 27.8 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.03732/0.4871, allocations: 28.31 MB / 0.5572 GB, free: 8.121 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003501/0.4875, allocations: 1.938 kB / 0.5572 GB, free: 8.121 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004912/0.4881, allocations: 85.58 kB / 0.5572 GB, free: 8.082 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03152/0.5196, allocations: 6.838 MB / 0.5639 GB, free: 4.023 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001243/0.5209, allocations: 311.4 kB / 0.5642 GB, free: 3.82 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005747/0.5266, allocations: 2.033 MB / 0.5662 GB, free: 2.582 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.195e-05/0.5267, allocations: 19.7 kB / 0.5662 GB, free: 2.578 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006459/0.5274, allocations: 272.1 kB / 0.5665 GB, free: 2.422 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009551/0.5369, allocations: 3.257 MB / 0.5697 GB, free: 416 kB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 7.837e-05/0.5371, allocations: 8.156 kB / 0.5697 GB, free: 416 kB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03309/0.5702, allocations: 11.51 MB / 0.5809 GB, free: 6.113 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001495/0.5703, allocations: 51.69 kB / 0.581 GB, free: 6.062 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000365/0.5707, allocations: 135.4 kB / 0.5811 GB, free: 5.93 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02466/0.5954, allocations: 6.795 MB / 0.5877 GB, free: 15.12 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.706e-06/0.5955, allocations: 4 kB / 0.5877 GB, free: 15.12 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.404e-06/0.5955, allocations: 0 / 0.5877 GB, free: 15.12 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.153e-06/0.5955, allocations: 0 / 0.5877 GB, free: 15.12 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.007003/0.6025, allocations: 1.615 MB / 0.5893 GB, free: 13.45 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.624e-05/0.6026, allocations: 12.03 kB / 0.5893 GB, free: 13.44 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002632/0.6053, allocations: 188.5 kB / 0.5895 GB, free: 13.26 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000485/0.6058, allocations: 271.9 kB / 0.5898 GB, free: 12.95 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.429e-05/0.6058, allocations: 21.03 kB / 0.5898 GB, free: 12.93 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.625e-05/0.6059, allocations: 32.12 kB / 0.5898 GB, free: 12.9 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003225/0.6091, allocations: 0.7603 MB / 0.5906 GB, free: 12.09 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.059e-05/0.6092, allocations: 7.938 kB / 0.5906 GB, free: 12.09 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.652e-05/0.6092, allocations: 12 kB / 0.5906 GB, free: 12.07 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.398e-05/0.6093, allocations: 11.94 kB / 0.5906 GB, free: 12.06 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003466/0.6127, allocations: 0.8176 MB / 0.5914 GB, free: 11.24 MB / 410.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.004789/0.6176, allocations: 2.703 MB / 0.594 GB, free: 8.312 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00199/0.6196, allocations: 356 kB / 0.5944 GB, free: 7.957 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001742/0.6198, allocations: 68.83 kB / 0.5944 GB, free: 7.887 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.6608/1.281, allocations: 146.1 MB / 0.7371 GB, free: 125.9 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001137/1.282, allocations: 451.3 kB / 0.7375 GB, free: 125.4 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=31): time 2.083e-06/1.282, allocations: 0 / 0.7375 GB, free: 125.4 MB / 0.4948 GB Notification: Performance of matching and sorting (n=32): time 0.003296/1.285, allocations: 1.118 MB / 0.7386 GB, free: 124.3 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.273e-05/1.285, allocations: 380 kB / 0.739 GB, free: 123.9 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001232/1.285, allocations: 182.2 kB / 0.7391 GB, free: 123.7 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.515e-05/1.285, allocations: 37.64 kB / 0.7392 GB, free: 123.7 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.281e-05/1.285, allocations: 189.8 kB / 0.7393 GB, free: 123.5 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.129e-05/1.285, allocations: 114.2 kB / 0.7395 GB, free: 123.4 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000125/1.286, allocations: 122.1 kB / 0.7396 GB, free: 123.2 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 5.237e-05/1.286, allocations: 338.7 kB / 0.7399 GB, free: 122.9 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001433/1.286, allocations: 81.06 kB / 0.74 GB, free: 122.8 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002345/1.286, allocations: 341.6 kB / 0.7403 GB, free: 122.3 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000438/1.286, allocations: 478.5 kB / 0.7408 GB, free: 121.8 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/1.286, allocations: 4 kB / 0.7408 GB, free: 121.8 MB / 0.4948 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0007148/1.287, allocations: 476.8 kB / 0.7412 GB, free: 121.3 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/1.287, allocations: 8 kB / 0.7412 GB, free: 121.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/1.287, allocations: 12 kB / 0.7412 GB, free: 121.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.479e-05/1.287, allocations: 12 kB / 0.7412 GB, free: 121.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001481/1.289, allocations: 211.7 kB / 0.7414 GB, free: 121 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000342/1.289, allocations: 1.189 MB / 0.7426 GB, free: 119.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002825/1.289, allocations: 23.94 kB / 0.7426 GB, free: 119.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.726e-05/1.289, allocations: 43.98 kB / 0.7427 GB, free: 119.7 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,state.phase,state_h_is.phase,medium.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 (59): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001558/1.29, allocations: 161.6 kB / 0.7428 GB, free: 119.6 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.491e-05/1.29, allocations: 31.88 kB / 0.7429 GB, free: 119.5 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002176/1.292, allocations: 2.835 MB / 0.7456 GB, free: 116.7 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.648e-05/1.292, allocations: 19.97 kB / 0.7456 GB, free: 116.7 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.85e-06/1.292, allocations: 4.375 kB / 0.7457 GB, free: 116.7 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/1.292, allocations: 12.86 kB / 0.7457 GB, free: 116.7 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006675/1.293, allocations: 0.9712 MB / 0.7466 GB, free: 115.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/1.293, allocations: 0 / 0.7466 GB, free: 115.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005035/1.293, allocations: 104.2 kB / 0.7467 GB, free: 115.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002035/1.293, allocations: 165.7 kB / 0.7469 GB, free: 115.4 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.362e-05/1.293, allocations: 11.98 kB / 0.7469 GB, free: 115.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002301/1.294, allocations: 0.6431 MB / 0.7475 GB, free: 114.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/1.294, allocations: 7.938 kB / 0.7475 GB, free: 114.7 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001682/1.295, allocations: 2.085 MB / 0.7496 GB, free: 112.5 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.703e-05/1.295, allocations: 132.3 kB / 0.7497 GB, free: 112.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.225e-05/1.296, allocations: 94.75 kB / 0.7498 GB, free: 112.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002957/1.296, allocations: 19.92 kB / 0.7498 GB, free: 112.3 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.428e-05/1.296, allocations: 31.91 kB / 0.7498 GB, free: 112.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-05/1.296, allocations: 23 kB / 0.7498 GB, free: 112.2 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0004311/1.296, allocations: 474.9 kB / 0.7503 GB, free: 111.8 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.4e-07/1.296, allocations: 0 / 0.7503 GB, free: 111.8 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004088/1.3, allocations: 1.643 MB / 0.7519 GB, free: 110.3 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 11 ($cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007309/1.308, allocations: 1.87 MB / 0.7537 GB, free: 108.6 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001598/1.309, allocations: 0.5468 MB / 0.7543 GB, free: 108.1 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/1.309, allocations: 0 / 0.7543 GB, free: 108.1 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003705/1.31, allocations: 366.3 kB / 0.7546 GB, free: 107.7 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008168/1.311, allocations: 134 kB / 0.7547 GB, free: 107.6 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8697/2.18, allocations: 349.3 MB / 1.096 GB, free: 175.8 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006074/2.181, allocations: 1.003 MB / 1.097 GB, free: 175 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.000937/2.182, allocations: 0.5028 MB / 1.097 GB, free: 174.8 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002014/2.182, allocations: 53.75 kB / 1.097 GB, free: 174.8 MB / 0.5261 GB Notification: Performance of SimCode: time 1.152e-06/2.182, allocations: 0 / 1.097 GB, free: 174.8 MB / 0.5261 GB Notification: Performance of Templates: time 0.06665/2.249, allocations: 58.73 MB / 1.155 GB, free: 126.4 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_pT/WaterIF97_pT.csv","../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches