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.001092/0.001092, allocations: 202.2 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.232/1.232, allocations: 226.5 MB / 243.1 MB, free: 14.3 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007173/0.0007174, allocations: 96.48 kB / 295.1 MB, free: 10.07 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1769/0.1769, allocations: 44.84 MB / 392 MB, free: 9.34 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002281/0.0002279, allocations: 4 kB / 464.7 MB, free: 49.77 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08678/0.08702, allocations: 62.96 MB / 0.5153 GB, free: 2.777 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.191/0.278, allocations: 12.84 MB / 0.5279 GB, free: 5.293 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.02556/0.3036, allocations: 24.62 MB / 0.5519 GB, free: 3.777 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003378/0.304, allocations: 1.125 kB / 0.5519 GB, free: 3.777 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000426/0.3044, allocations: 74.91 kB / 0.552 GB, free: 3.715 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02373/0.3282, allocations: 6.574 MB / 0.5584 GB, free: 14.93 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009602/0.3292, allocations: 303.2 kB / 0.5587 GB, free: 14.73 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004793/0.334, allocations: 3.203 MB / 0.5618 GB, free: 13.93 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.636e-05/0.334, allocations: 19.08 kB / 0.5618 GB, free: 13.93 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000417/0.3345, allocations: 248.7 kB / 0.5621 GB, free: 13.79 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006849/0.3413, allocations: 5.665 MB / 0.5676 GB, free: 8.293 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.544e-05/0.3414, allocations: 12 kB / 0.5676 GB, free: 8.281 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02217/0.3636, allocations: 11.11 MB / 0.5785 GB, free: 13.16 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001026/0.3637, allocations: 47.75 kB / 0.5785 GB, free: 13.11 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001644/0.3639, allocations: 73.58 kB / 0.5786 GB, free: 13.04 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009123/0.373, allocations: 4.518 MB / 0.583 GB, free: 8.508 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.373, allocations: 0 / 0.583 GB, free: 8.508 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3731, allocations: 0 / 0.583 GB, free: 8.508 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.3731, allocations: 0 / 0.583 GB, free: 8.508 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.004872/0.3779, allocations: 1.564 MB / 0.5845 GB, free: 6.895 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.378, allocations: 12.03 kB / 0.5845 GB, free: 6.883 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001382/0.3794, allocations: 183.5 kB / 0.5847 GB, free: 6.703 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003293/0.3797, allocations: 262.7 kB / 0.585 GB, free: 6.406 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.144e-05/0.3798, allocations: 20.66 kB / 0.585 GB, free: 6.387 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.763e-05/0.3798, allocations: 39.95 kB / 0.585 GB, free: 6.348 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001908/0.3817, allocations: 0.7525 MB / 0.5858 GB, free: 5.543 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.586e-05/0.3818, allocations: 3.938 kB / 0.5858 GB, free: 5.539 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.139e-05/0.3818, allocations: 12 kB / 0.5858 GB, free: 5.527 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.156e-05/0.3818, allocations: 8 kB / 0.5858 GB, free: 5.52 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00188/0.3837, allocations: 0.8137 MB / 0.5866 GB, free: 4.703 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.002939/0.3867, allocations: 2.715 MB / 0.5892 GB, free: 1.762 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001021/0.3877, allocations: 342.3 kB / 0.5896 GB, free: 1.418 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001022/0.3878, allocations: 68.83 kB / 0.5896 GB, free: 1.348 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5227/0.9105, allocations: 147.4 MB / 0.7335 GB, free: 165 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001075/0.9116, allocations: 451.2 kB / 0.734 GB, free: 164.7 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=31): time 2.374e-06/0.9116, allocations: 0 / 0.734 GB, free: 164.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=32): time 0.003156/0.9148, allocations: 1.114 MB / 0.7351 GB, free: 164.1 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.459e-05/0.9149, allocations: 382.2 kB / 0.7354 GB, free: 163.6 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001347/0.915, allocations: 183.9 kB / 0.7356 GB, free: 163.5 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.994e-05/0.9151, allocations: 31.08 kB / 0.7356 GB, free: 163.5 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/0.9152, allocations: 187.3 kB / 0.7358 GB, free: 163.3 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 9.457e-05/0.9153, allocations: 112.7 kB / 0.7359 GB, free: 163.2 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.405e-05/0.9153, allocations: 6.562 kB / 0.7359 GB, free: 163.2 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.577e-05/0.9154, allocations: 337 kB / 0.7362 GB, free: 162.8 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002182/0.9156, allocations: 74.72 kB / 0.7363 GB, free: 162.8 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003287/0.916, allocations: 345.8 kB / 0.7366 GB, free: 162.4 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003003/0.9163, allocations: 135.3 kB / 0.7368 GB, free: 162.3 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.9163, allocations: 2.875 kB / 0.7368 GB, free: 162.3 MB / 0.5105 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0009685/0.9173, allocations: 473 kB / 0.7372 GB, free: 162.1 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.889e-05/0.9173, allocations: 11.44 kB / 0.7372 GB, free: 162.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.495e-05/0.9173, allocations: 7.625 kB / 0.7372 GB, free: 162.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.398e-05/0.9174, allocations: 15.25 kB / 0.7373 GB, free: 162.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002077/0.9195, allocations: 214.7 kB / 0.7375 GB, free: 162 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004653/0.9199, allocations: 1.181 MB / 0.7386 GB, free: 160.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00029/0.9203, allocations: 27.75 kB / 0.7386 GB, free: 160.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.366e-05/0.9203, allocations: 45.22 kB / 0.7387 GB, free: 160.8 MB / 0.5105 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.0001531/0.9205, allocations: 162.5 kB / 0.7388 GB, free: 160.7 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.29e-05/0.9205, allocations: 20.59 kB / 0.7389 GB, free: 160.6 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00221/0.9228, allocations: 2.886 MB / 0.7417 GB, free: 157.9 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.71e-05/0.9228, allocations: 19.97 kB / 0.7417 GB, free: 157.9 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.9228, allocations: 4 kB / 0.7417 GB, free: 157.9 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.173e-06/0.9228, allocations: 7.984 kB / 0.7417 GB, free: 157.9 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006949/0.9235, allocations: 0.966 MB / 0.7427 GB, free: 156.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.9235, allocations: 6 kB / 0.7427 GB, free: 156.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004822/0.924, allocations: 100.3 kB / 0.7428 GB, free: 156.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002071/0.9242, allocations: 176.6 kB / 0.7429 GB, free: 156.6 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.112e-05/0.9243, allocations: 8 kB / 0.7429 GB, free: 156.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002305/0.9245, allocations: 0.6382 MB / 0.7436 GB, free: 155.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.9245, allocations: 4 kB / 0.7436 GB, free: 155.9 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008087/0.9253, allocations: 0.9663 MB / 0.7445 GB, free: 154.9 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002064/0.9256, allocations: 346.9 kB / 0.7448 GB, free: 154.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.175e-05/0.9256, allocations: 11.95 kB / 0.7448 GB, free: 154.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003161/0.926, allocations: 31.89 kB / 0.7449 GB, free: 154.5 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.023e-05/0.926, allocations: 30.95 kB / 0.7449 GB, free: 154.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.253e-05/0.926, allocations: 19.55 kB / 0.7449 GB, free: 154.4 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003834/0.9264, allocations: 467 kB / 0.7454 GB, free: 154 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9264, allocations: 0 / 0.7454 GB, free: 154 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004124/0.9306, allocations: 1.631 MB / 0.747 GB, free: 152.5 MB / 0.5105 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.005786/0.9364, allocations: 1.877 MB / 0.7488 GB, free: 150.9 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001329/0.9377, allocations: 0.5412 MB / 0.7493 GB, free: 150.3 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.748e-06/0.9377, allocations: 0 / 0.7493 GB, free: 150.3 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003478/0.9381, allocations: 361.5 kB / 0.7497 GB, free: 150 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007488/0.9388, allocations: 123.6 kB / 0.7498 GB, free: 149.9 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7551/1.694, allocations: 348.6 MB / 1.09 GB, free: 188.5 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004655/1.694, allocations: 0.9827 MB / 1.091 GB, free: 187.8 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002302/1.695, allocations: 63.97 kB / 1.091 GB, free: 187.8 MB / 0.5261 GB Notification: Performance of SimCode: time 5.11e-07/1.695, allocations: 0 / 1.091 GB, free: 187.8 MB / 0.5261 GB Notification: Performance of Templates: time 0.0535/1.748, allocations: 37.79 MB / 1.128 GB, free: 169.1 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