Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.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_ph,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_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph,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_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001098/0.001098, allocations: 202.8 kB / 15.8 MB, free: 6.332 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.262/1.262, allocations: 226.6 MB / 243.1 MB, free: 14.31 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007824/0.0007822, allocations: 97.41 kB / 295.1 MB, free: 10.06 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.18/0.18, allocations: 44.84 MB / 392 MB, free: 9.328 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002561/0.0002561, allocations: 11.98 kB / 464.7 MB, free: 49.76 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09584/0.09611, allocations: 62.95 MB / 0.5153 GB, free: 2.77 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.2035/0.2996, allocations: 12.85 MB / 0.5279 GB, free: 5.289 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.02928/0.329, allocations: 24.61 MB / 0.5519 GB, free: 3.738 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003597/0.3294, allocations: 1.312 kB / 0.5519 GB, free: 3.738 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004434/0.3298, allocations: 77.45 kB / 0.552 GB, free: 3.672 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02369/0.3535, allocations: 6.578 MB / 0.5584 GB, free: 14.89 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001438/0.355, allocations: 308.1 kB / 0.5587 GB, free: 14.68 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005114/0.3601, allocations: 3.21 MB / 0.5618 GB, free: 13.87 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.829e-05/0.3602, allocations: 15.41 kB / 0.5618 GB, free: 13.87 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006289/0.3609, allocations: 250.3 kB / 0.5621 GB, free: 13.73 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008101/0.369, allocations: 5.672 MB / 0.5676 GB, free: 8.219 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 8.29e-05/0.3691, allocations: 8 kB / 0.5676 GB, free: 8.211 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02278/0.3919, allocations: 10.39 MB / 0.5778 GB, free: 13.81 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001104/0.392, allocations: 43.75 kB / 0.5778 GB, free: 13.77 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001868/0.3922, allocations: 77.58 kB / 0.5779 GB, free: 13.69 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009303/0.4016, allocations: 4.226 MB / 0.582 GB, free: 9.453 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.4016, allocations: 4 kB / 0.582 GB, free: 9.449 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.4016, allocations: 0 / 0.582 GB, free: 9.449 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.069e-05/0.4016, allocations: 0 / 0.582 GB, free: 9.449 MB / 394.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.004614/0.4063, allocations: 1.494 MB / 0.5835 GB, free: 7.906 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.4063, allocations: 16.03 kB / 0.5835 GB, free: 7.891 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00169/0.408, allocations: 220.3 kB / 0.5837 GB, free: 7.676 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003816/0.4084, allocations: 266.7 kB / 0.584 GB, free: 7.375 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.004e-05/0.4085, allocations: 28.66 kB / 0.584 GB, free: 7.348 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.273e-05/0.4085, allocations: 31.95 kB / 0.584 GB, free: 7.316 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002274/0.4108, allocations: 0.8288 MB / 0.5848 GB, free: 6.441 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.4108, allocations: 0 / 0.5848 GB, free: 6.441 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.967e-05/0.4109, allocations: 16 kB / 0.5848 GB, free: 6.426 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.038e-05/0.4109, allocations: 8 kB / 0.5849 GB, free: 6.418 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002327/0.4132, allocations: 0.9503 MB / 0.5858 GB, free: 5.465 MB / 394.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.00325/0.4165, allocations: 2.586 MB / 0.5883 GB, free: 2.66 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00126/0.4178, allocations: 370.2 kB / 0.5887 GB, free: 2.289 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001554/0.418, allocations: 80.81 kB / 0.5887 GB, free: 2.207 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.6936/1.112, allocations: 240.9 MB / 0.824 GB, free: 97.9 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001201/1.113, allocations: 472.8 kB / 0.8244 GB, free: 97.39 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=32): time 2.044e-06/1.113, allocations: 2.062 kB / 0.8244 GB, free: 97.39 MB / 0.5261 GB Notification: Performance of matching and sorting (n=32): time 0.00248/1.115, allocations: 0.7718 MB / 0.8252 GB, free: 96.64 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.6e-05/1.115, allocations: 377.7 kB / 0.8255 GB, free: 96.18 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001163/1.116, allocations: 181.8 kB / 0.8257 GB, free: 96 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.864e-05/1.116, allocations: 29.7 kB / 0.8257 GB, free: 95.96 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.179e-05/1.116, allocations: 196.7 kB / 0.8259 GB, free: 95.77 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.691e-05/1.116, allocations: 113 kB / 0.826 GB, free: 95.67 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.316e-05/1.116, allocations: 12 kB / 0.8261 GB, free: 95.66 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.153e-05/1.116, allocations: 330.8 kB / 0.8264 GB, free: 95.32 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001678/1.116, allocations: 81.06 kB / 0.8264 GB, free: 95.25 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002322/1.116, allocations: 336.7 kB / 0.8268 GB, free: 94.79 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002209/1.116, allocations: 134.5 kB / 0.8269 GB, free: 94.66 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/1.116, allocations: 0 / 0.8269 GB, free: 94.66 MB / 0.5261 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0006909/1.117, allocations: 478.5 kB / 0.8273 GB, free: 94.19 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/1.117, allocations: 9.719 kB / 0.8274 GB, free: 94.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/1.117, allocations: 8 kB / 0.8274 GB, free: 94.17 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/1.117, allocations: 12 kB / 0.8274 GB, free: 94.16 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003825/1.118, allocations: 143.8 kB / 0.8275 GB, free: 94.02 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.34e-05/1.118, allocations: 15.94 kB / 0.8275 GB, free: 94 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002904/1.118, allocations: 51.75 kB / 0.8276 GB, free: 93.95 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.657e-05/1.118, allocations: 51.97 kB / 0.8276 GB, free: 93.9 MB / 0.5261 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001243/1.118, allocations: 161.6 kB / 0.8278 GB, free: 93.73 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.458e-05/1.118, allocations: 31.75 kB / 0.8278 GB, free: 93.7 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001991/1.12, allocations: 2.659 MB / 0.8304 GB, free: 91.04 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.389e-05/1.12, allocations: 19.97 kB / 0.8304 GB, free: 91.02 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/1.12, allocations: 4 kB / 0.8304 GB, free: 91.02 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/1.12, allocations: 4 kB / 0.8304 GB, free: 91.01 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006352/1.121, allocations: 0.9271 MB / 0.8313 GB, free: 90.05 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/1.121, allocations: 8 kB / 0.8313 GB, free: 90.04 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002932/1.121, allocations: 75.88 kB / 0.8314 GB, free: 89.96 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/1.121, allocations: 7.953 kB / 0.8314 GB, free: 89.96 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.062e-05/1.121, allocations: 11.98 kB / 0.8314 GB, free: 89.95 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.636e-06/1.121, allocations: 9.906 kB / 0.8315 GB, free: 89.94 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/1.121, allocations: 7.938 kB / 0.8315 GB, free: 89.93 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006373/1.122, allocations: 0.6901 MB / 0.8321 GB, free: 89.18 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002192/1.122, allocations: 386.7 kB / 0.8325 GB, free: 88.78 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.482e-05/1.122, allocations: 11.95 kB / 0.8325 GB, free: 88.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003187/1.123, allocations: 19.98 kB / 0.8325 GB, free: 88.75 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.512e-05/1.123, allocations: 27.97 kB / 0.8326 GB, free: 88.72 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.886e-05/1.123, allocations: 19.98 kB / 0.8326 GB, free: 88.7 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0004317/1.123, allocations: 0.4923 MB / 0.8331 GB, free: 88.2 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.2e-07/1.123, allocations: 0 / 0.8331 GB, free: 88.2 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003556/1.127, allocations: 1.53 MB / 0.8346 GB, free: 86.79 MB / 0.5261 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005283/1.132, allocations: 1.73 MB / 0.8362 GB, free: 85.2 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0007159/1.133, allocations: 415.6 kB / 0.8366 GB, free: 84.8 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/1.133, allocations: 0 / 0.8366 GB, free: 84.8 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002728/1.133, allocations: 278 kB / 0.8369 GB, free: 84.53 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007766/1.134, allocations: 134 kB / 0.837 GB, free: 84.4 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.243/2.377, allocations: 0.602 GB / 1.439 GB, free: 64.38 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002827/2.377, allocations: 0.9819 MB / 1.44 GB, free: 63.36 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001832/2.377, allocations: 67.39 kB / 1.44 GB, free: 63.29 MB / 0.5261 GB Notification: Performance of SimCode: time 4.61e-07/2.377, allocations: 0 / 1.44 GB, free: 63.29 MB / 0.5261 GB Notification: Performance of Templates: time 0.04064/2.418, allocations: 32.94 MB / 1.472 GB, free: 30.38 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_ph/WaterIF97_ph.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches