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/ModelicaServices trunk/package.mo", uses=false) 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/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 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_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/ModelicaServices trunk/package.mo): time 0.001341/0.001341, allocations: 112.9 kB / 18.45 MB, free: 4.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001191/0.001191, allocations: 208.9 kB / 19.4 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.431/1.431, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2382/0.2382, allocations: 46.1 MB / 345 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001669/0.001669, allocations: 71.81 kB / 482 MB, free: 4.02 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4344/0.4361, allocations: 62.44 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.01983/0.456, allocations: 13.92 MB / 0.5453 GB, free: 2.477 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03102/0.4871, allocations: 26.6 MB / 0.5713 GB, free: 9.082 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003194/0.4874, allocations: 4 kB / 0.5713 GB, free: 9.078 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000454/0.488, allocations: 99.38 kB / 0.5714 GB, free: 8.98 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02727/0.5152, allocations: 8.528 MB / 0.5797 GB, free: 460 kB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00109/0.5163, allocations: 349.9 kB / 0.58 GB, free: 116 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004856/0.5212, allocations: 1.998 MB / 0.582 GB, free: 14.09 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.427e-05/0.5213, allocations: 20.39 kB / 0.582 GB, free: 14.07 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005674/0.5219, allocations: 270.8 kB / 0.5823 GB, free: 13.8 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007219/0.5291, allocations: 3.258 MB / 0.5854 GB, free: 10.49 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.446e-05/0.5293, allocations: 12 kB / 0.5855 GB, free: 10.48 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02288/0.5522, allocations: 11.63 MB / 0.5968 GB, free: 14.84 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001259/0.5523, allocations: 47.77 kB / 0.5969 GB, free: 14.79 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000235/0.5526, allocations: 139.3 kB / 0.597 GB, free: 14.65 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02229/0.5749, allocations: 6.757 MB / 0.6036 GB, free: 7.883 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/0.5749, allocations: 0 / 0.6036 GB, free: 7.883 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.5749, allocations: 0 / 0.6036 GB, free: 7.883 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.478e-06/0.575, allocations: 0 / 0.6036 GB, free: 7.883 MB / 462.1 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.005275/0.5802, allocations: 1.615 MB / 0.6052 GB, free: 6.219 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.5803, allocations: 8.031 kB / 0.6052 GB, free: 6.211 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001626/0.5819, allocations: 192.5 kB / 0.6054 GB, free: 6.023 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000443/0.5824, allocations: 275.8 kB / 0.6056 GB, free: 5.715 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.454e-05/0.5824, allocations: 25.03 kB / 0.6056 GB, free: 5.691 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.073e-05/0.5825, allocations: 32.12 kB / 0.6057 GB, free: 5.66 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002162/0.5847, allocations: 0.7564 MB / 0.6064 GB, free: 4.855 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.732e-05/0.5847, allocations: 3.938 kB / 0.6064 GB, free: 4.852 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.274e-05/0.5847, allocations: 16 kB / 0.6064 GB, free: 4.836 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.253e-05/0.5848, allocations: 11.94 kB / 0.6064 GB, free: 4.824 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002143/0.5869, allocations: 0.8176 MB / 0.6072 GB, free: 4.004 MB / 462.1 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.00335/0.5903, allocations: 2.695 MB / 0.6099 GB, free: 1.09 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001313/0.5916, allocations: 350.4 kB / 0.6102 GB, free: 0.7383 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001237/0.5918, allocations: 72.83 kB / 0.6103 GB, free: 0.6641 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.6759/1.268, allocations: 147.8 MB / 0.7546 GB, free: 172.6 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001224/1.269, allocations: 452.6 kB / 0.7551 GB, free: 172.1 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 2.655e-06/1.269, allocations: 0 / 0.7551 GB, free: 172.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=32): time 0.003596/1.273, allocations: 1.119 MB / 0.7562 GB, free: 171 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.946e-05/1.273, allocations: 376 kB / 0.7565 GB, free: 170.6 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001413/1.273, allocations: 185.5 kB / 0.7567 GB, free: 170.4 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.546e-05/1.273, allocations: 29.7 kB / 0.7567 GB, free: 170.3 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.857e-05/1.273, allocations: 193.5 kB / 0.7569 GB, free: 170.1 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.844e-05/1.273, allocations: 117.4 kB / 0.757 GB, free: 170 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001302/1.273, allocations: 122.1 kB / 0.7571 GB, free: 169.9 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.301e-05/1.273, allocations: 334.8 kB / 0.7575 GB, free: 169.6 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001428/1.273, allocations: 77.06 kB / 0.7575 GB, free: 169.5 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000244/1.274, allocations: 345.6 kB / 0.7579 GB, free: 169 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004762/1.274, allocations: 485.4 kB / 0.7583 GB, free: 168.4 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/1.274, allocations: 4 kB / 0.7583 GB, free: 168.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0007411/1.275, allocations: 469.2 kB / 0.7588 GB, free: 168 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/1.275, allocations: 8 kB / 0.7588 GB, free: 168 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/1.275, allocations: 12 kB / 0.7588 GB, free: 167.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.579e-05/1.275, allocations: 12 kB / 0.7588 GB, free: 167.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001487/1.276, allocations: 211.6 kB / 0.759 GB, free: 167.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003879/1.277, allocations: 1.186 MB / 0.7602 GB, free: 166.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002848/1.277, allocations: 25.72 kB / 0.7602 GB, free: 166.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.228e-05/1.277, allocations: 43.97 kB / 0.7602 GB, free: 166.4 MB / 0.5762 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.0001572/1.277, allocations: 161.6 kB / 0.7604 GB, free: 166.3 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.695e-05/1.277, allocations: 31.66 kB / 0.7604 GB, free: 166.2 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002135/1.28, allocations: 2.829 MB / 0.7632 GB, free: 163.4 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.981e-05/1.28, allocations: 23.97 kB / 0.7632 GB, free: 163.4 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/1.28, allocations: 4 kB / 0.7632 GB, free: 163.4 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/1.28, allocations: 3.984 kB / 0.7632 GB, free: 163.4 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007716/1.28, allocations: 0.9696 MB / 0.7642 GB, free: 162.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.356e-06/1.28, allocations: 11.42 kB / 0.7642 GB, free: 162.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005355/1.281, allocations: 92.28 kB / 0.7643 GB, free: 162.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001745/1.281, allocations: 166.7 kB / 0.7644 GB, free: 162.1 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.698e-05/1.281, allocations: 8 kB / 0.7644 GB, free: 162.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002581/1.281, allocations: 0.6442 MB / 0.7651 GB, free: 161.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/1.281, allocations: 4 kB / 0.7651 GB, free: 161.4 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009457/1.282, allocations: 0.9752 MB / 0.766 GB, free: 160.4 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.828e-05/1.282, allocations: 132.4 kB / 0.7661 GB, free: 160.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.204e-05/1.283, allocations: 90.81 kB / 0.7662 GB, free: 160.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002865/1.283, allocations: 22.31 kB / 0.7663 GB, free: 160.1 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.014e-05/1.283, allocations: 34.69 kB / 0.7663 GB, free: 160.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.566e-05/1.283, allocations: 23.98 kB / 0.7663 GB, free: 160.1 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000426/1.283, allocations: 467 kB / 0.7668 GB, free: 159.6 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.31e-07/1.283, allocations: 0 / 0.7668 GB, free: 159.6 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00438/1.288, allocations: 1.616 MB / 0.7683 GB, free: 158.1 MB / 0.5762 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.007102/1.295, allocations: 1.867 MB / 0.7702 GB, free: 156.5 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001613/1.297, allocations: 0.5426 MB / 0.7707 GB, free: 156 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 9.688e-06/1.297, allocations: 0 / 0.7707 GB, free: 156 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003901/1.297, allocations: 362.4 kB / 0.771 GB, free: 155.6 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008198/1.298, allocations: 123.6 kB / 0.7711 GB, free: 155.5 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7219/2.02, allocations: 348.5 MB / 1.111 GB, free: 73.38 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003383/2.02, allocations: 0.982 MB / 1.112 GB, free: 72.37 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002159/2.02, allocations: 59.41 kB / 1.112 GB, free: 72.31 MB / 0.6075 GB Notification: Performance of SimCode: time 1.312e-06/2.02, allocations: 4 kB / 1.112 GB, free: 72.3 MB / 0.6075 GB Notification: Performance of Templates: time 0.05387/2.074, allocations: 37.8 MB / 1.149 GB, free: 34.54 MB / 0.6075 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_pT/WaterIF97_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches