Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_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_cpp_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_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001407/0.001407, allocations: 196.8 kB / 16.1 MB, free: 5.578 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.5 MB / 243.4 MB, free: 6.48 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007602/0.0007602, allocations: 98.16 kB / 295.5 MB, free: 6.684 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2939/0.2939, allocations: 44.81 MB / 392.3 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003675/0.0003676, allocations: 8 kB / 465.3 MB, free: 12.67 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3528/0.3532, allocations: 62.97 MB / 0.5159 GB, free: 37.31 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.01095/0.3642, allocations: 12.87 MB / 0.5285 GB, free: 28.33 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02137/0.3856, allocations: 24.61 MB / 0.5525 GB, free: 10.91 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003131/0.386, allocations: 1.125 kB / 0.5525 GB, free: 10.91 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003861/0.3864, allocations: 65.7 kB / 0.5526 GB, free: 10.88 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02163/0.408, allocations: 6.63 MB / 0.559 GB, free: 7.676 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008793/0.4089, allocations: 295.8 kB / 0.5593 GB, free: 7.484 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005786/0.4147, allocations: 3.198 MB / 0.5624 GB, free: 6.684 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.938e-05/0.4149, allocations: 28.72 kB / 0.5625 GB, free: 6.672 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005188/0.4154, allocations: 253.3 kB / 0.5627 GB, free: 6.531 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009172/0.4246, allocations: 5.671 MB / 0.5682 GB, free: 3.82 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 7.596e-05/0.4247, allocations: 8 kB / 0.5682 GB, free: 3.812 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02292/0.4476, allocations: 11.17 MB / 0.5792 GB, free: 8.633 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001444/0.4478, allocations: 47.75 kB / 0.5792 GB, free: 8.586 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003101/0.4481, allocations: 157.1 kB / 0.5793 GB, free: 8.426 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01006/0.4582, allocations: 4.541 MB / 0.5838 GB, free: 3.875 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.273e-06/0.4583, allocations: 0 / 0.5838 GB, free: 3.875 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.695e-06/0.4583, allocations: 0 / 0.5838 GB, free: 3.875 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.713e-06/0.4583, allocations: 0 / 0.5838 GB, free: 3.875 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.005199/0.4635, allocations: 1.556 MB / 0.5853 GB, free: 2.27 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.485e-05/0.4636, allocations: 8.031 kB / 0.5853 GB, free: 2.262 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001468/0.465, allocations: 192.5 kB / 0.5855 GB, free: 2.074 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003522/0.4654, allocations: 264 kB / 0.5857 GB, free: 1.777 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.778e-05/0.4654, allocations: 21.03 kB / 0.5858 GB, free: 1.758 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.153e-05/0.4655, allocations: 36.12 kB / 0.5858 GB, free: 1.723 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002065/0.4676, allocations: 0.7525 MB / 0.5865 GB, free: 0.918 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.4676, allocations: 0 / 0.5865 GB, free: 0.918 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.599e-05/0.4677, allocations: 16 kB / 0.5865 GB, free: 0.9023 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.015e-05/0.4677, allocations: 8 kB / 0.5866 GB, free: 0.8945 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002101/0.4698, allocations: 0.8137 MB / 0.5874 GB, free: 80 kB / 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.003395/0.4732, allocations: 2.71 MB / 0.59 GB, free: 13.14 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001181/0.4744, allocations: 346.4 kB / 0.5903 GB, free: 12.79 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000112/0.4745, allocations: 76.77 kB / 0.5904 GB, free: 12.71 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5415/1.016, allocations: 147.4 MB / 0.7343 GB, free: 129.6 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001179/1.017, allocations: 439.6 kB / 0.7347 GB, free: 129.2 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=31): time 3.416e-06/1.017, allocations: 0 / 0.7347 GB, free: 129.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=32): time 0.003507/1.021, allocations: 1.121 MB / 0.7358 GB, free: 128.1 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.618e-05/1.021, allocations: 377.3 kB / 0.7362 GB, free: 127.6 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001523/1.021, allocations: 194.3 kB / 0.7364 GB, free: 127.4 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.087e-05/1.021, allocations: 37.69 kB / 0.7364 GB, free: 127.4 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.814e-05/1.021, allocations: 183.6 kB / 0.7366 GB, free: 127.2 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 8.079e-05/1.021, allocations: 110.3 kB / 0.7367 GB, free: 127.1 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.732e-05/1.021, allocations: 8 kB / 0.7367 GB, free: 127.1 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 6.309e-05/1.021, allocations: 326.8 kB / 0.737 GB, free: 126.7 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00015/1.022, allocations: 81.06 kB / 0.7371 GB, free: 126.7 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002395/1.022, allocations: 345.6 kB / 0.7374 GB, free: 126.2 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004613/1.022, allocations: 488.1 kB / 0.7379 GB, free: 125.6 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/1.022, allocations: 4 kB / 0.7379 GB, free: 125.6 MB / 0.4948 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0007309/1.023, allocations: 469.2 kB / 0.7383 GB, free: 125.1 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/1.023, allocations: 8 kB / 0.7383 GB, free: 125.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.32e-05/1.023, allocations: 8 kB / 0.7383 GB, free: 125.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.412e-05/1.023, allocations: 20.03 kB / 0.7384 GB, free: 125.1 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001418/1.025, allocations: 211.6 kB / 0.7386 GB, free: 124.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003999/1.025, allocations: 1.185 MB / 0.7397 GB, free: 123.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003267/1.025, allocations: 24.09 kB / 0.7397 GB, free: 123.6 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.036e-05/1.025, allocations: 43.97 kB / 0.7398 GB, free: 123.6 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 (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000183/1.026, allocations: 161.6 kB / 0.7399 GB, free: 123.4 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.161e-05/1.026, allocations: 31.8 kB / 0.74 GB, free: 123.4 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002486/1.028, allocations: 2.876 MB / 0.7428 GB, free: 120.5 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.756e-05/1.028, allocations: 27.97 kB / 0.7428 GB, free: 120.5 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.645e-06/1.028, allocations: 7.656 kB / 0.7428 GB, free: 120.5 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.546e-06/1.028, allocations: 4 kB / 0.7428 GB, free: 120.5 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008913/1.029, allocations: 0.9599 MB / 0.7438 GB, free: 119.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.733e-06/1.029, allocations: 4 kB / 0.7438 GB, free: 119.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005379/1.03, allocations: 100.3 kB / 0.7439 GB, free: 119.4 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002366/1.03, allocations: 170.9 kB / 0.744 GB, free: 119.2 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.219e-05/1.03, allocations: 12 kB / 0.744 GB, free: 119.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000277/1.03, allocations: 0.6445 MB / 0.7447 GB, free: 118.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/1.03, allocations: 4 kB / 0.7447 GB, free: 118.5 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009171/1.031, allocations: 0.9663 MB / 0.7456 GB, free: 117.5 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002573/1.031, allocations: 350.9 kB / 0.7459 GB, free: 117.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.826e-05/1.032, allocations: 11.94 kB / 0.746 GB, free: 117.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003548/1.032, allocations: 28.77 kB / 0.746 GB, free: 117.1 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.37e-05/1.032, allocations: 34.42 kB / 0.746 GB, free: 117.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.836e-05/1.032, allocations: 19.98 kB / 0.746 GB, free: 117 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0004558/1.033, allocations: 463 kB / 0.7465 GB, free: 116.6 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.3e-07/1.033, allocations: 0 / 0.7465 GB, free: 116.6 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004868/1.037, allocations: 1.631 MB / 0.7481 GB, free: 115.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.008463/1.046, allocations: 1.88 MB / 0.7499 GB, free: 113.5 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001719/1.048, allocations: 0.5321 MB / 0.7504 GB, free: 113 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.646e-06/1.048, allocations: 0 / 0.7504 GB, free: 113 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004559/1.048, allocations: 361.5 kB / 0.7508 GB, free: 112.6 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001175/1.049, allocations: 130.3 kB / 0.7509 GB, free: 112.5 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7981/1.847, allocations: 348.6 MB / 1.091 GB, free: 177.3 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004437/1.848, allocations: 0.9864 MB / 1.092 GB, free: 176.6 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000224/1.848, allocations: 61.3 kB / 1.092 GB, free: 176.6 MB / 0.5261 GB Notification: Performance of SimCode: time 6.41e-07/1.848, allocations: 3.938 kB / 1.092 GB, free: 176.6 MB / 0.5261 GB Notification: Performance of Templates: time 0.05257/1.901, allocations: 37.8 MB / 1.129 GB, free: 152.5 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_pT/WaterIF97_pT.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches