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.0009725/0.0009725, allocations: 194.6 kB / 16.79 MB, free: 5.035 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.276/1.276, allocations: 226.5 MB / 244.1 MB, free: 8.207 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008461/0.000846, allocations: 105.4 kB / 296.1 MB, free: 6.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3208/0.3208, allocations: 44.83 MB / 393 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003461/0.0003462, allocations: 8 kB / 465.9 MB, free: 12.72 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3203/0.3207, allocations: 62.96 MB / 0.5165 GB, free: 36.97 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.98/6.301, allocations: 2.757 GB / 3.273 GB, free: 11.35 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002662/6.301, allocations: 80.98 kB / 3.273 GB, free: 11.27 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.763/7.064, allocations: 215.4 MB / 3.484 GB, free: 26.74 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.575e-06/7.064, allocations: 4 kB / 3.484 GB, free: 26.74 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.875e-05/7.065, allocations: 0 / 3.484 GB, free: 26.74 MB / 0.5417 GB 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.009411/7.074, allocations: 1.746 MB / 3.485 GB, free: 24.94 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.455e-05/7.074, allocations: 8.031 kB / 3.485 GB, free: 24.93 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00169/7.076, allocations: 188.5 kB / 3.485 GB, free: 24.75 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004725/7.076, allocations: 271.8 kB / 3.486 GB, free: 24.44 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.829e-05/7.076, allocations: 29.03 kB / 3.486 GB, free: 24.41 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.464e-05/7.076, allocations: 28.38 kB / 3.486 GB, free: 24.39 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002112/7.078, allocations: 0.7491 MB / 3.487 GB, free: 23.59 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.823e-05/7.078, allocations: 4.188 kB / 3.487 GB, free: 23.58 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.378e-05/7.079, allocations: 15.94 kB / 3.487 GB, free: 23.57 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.75e-05/7.079, allocations: 8 kB / 3.487 GB, free: 23.56 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001972/7.081, allocations: 0.8059 MB / 3.487 GB, free: 22.75 MB / 0.5417 GB 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.003842/7.084, allocations: 2.933 MB / 3.49 GB, free: 19.59 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001163/7.086, allocations: 342.4 kB / 3.491 GB, free: 19.25 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001093/7.086, allocations: 68.83 kB / 3.491 GB, free: 19.18 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.7562/7.842, allocations: 144.8 MB / 3.632 GB, free: 37.69 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001305/7.843, allocations: 441.3 kB / 3.632 GB, free: 37.54 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=31): time 4.408e-06/7.843, allocations: 0 / 3.632 GB, free: 37.54 MB / 0.5417 GB Notification: Performance of matching and sorting (n=32): time 0.003969/7.847, allocations: 1.106 MB / 3.633 GB, free: 37.29 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.833e-05/7.847, allocations: 375.6 kB / 3.634 GB, free: 36.84 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001629/7.848, allocations: 184.9 kB / 3.634 GB, free: 36.74 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 4.721e-05/7.848, allocations: 32.02 kB / 3.634 GB, free: 36.71 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 8.771e-05/7.848, allocations: 186.5 kB / 3.634 GB, free: 36.57 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 8.941e-05/7.848, allocations: 111.6 kB / 3.634 GB, free: 36.52 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.02e-05/7.848, allocations: 13.92 kB / 3.634 GB, free: 36.52 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 7.585e-05/7.848, allocations: 339.8 kB / 3.635 GB, free: 36.2 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001513/7.848, allocations: 73.89 kB / 3.635 GB, free: 36.2 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002446/7.848, allocations: 349 kB / 3.635 GB, free: 35.85 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004818/7.849, allocations: 477.7 kB / 3.636 GB, free: 35.5 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/7.849, allocations: 3.719 kB / 3.636 GB, free: 35.5 MB / 0.5417 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0007828/7.85, allocations: 459.1 kB / 3.636 GB, free: 35.46 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.724e-05/7.85, allocations: 17.56 kB / 3.636 GB, free: 35.46 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.588e-05/7.85, allocations: 8.406 kB / 3.636 GB, free: 35.46 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.566e-05/7.85, allocations: 13.19 kB / 3.636 GB, free: 35.46 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001472/7.851, allocations: 199.7 kB / 3.636 GB, free: 35.46 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004081/7.852, allocations: 1.19 MB / 3.637 GB, free: 34.28 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003634/7.852, allocations: 25.14 kB / 3.637 GB, free: 34.28 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.009e-05/7.852, allocations: 48.27 kB / 3.637 GB, free: 34.28 MB / 0.5417 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.0001961/7.852, allocations: 160.2 kB / 3.638 GB, free: 34.16 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.497e-05/7.852, allocations: 29.41 kB / 3.638 GB, free: 34.15 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002683/7.855, allocations: 2.828 MB / 3.64 GB, free: 33.84 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.43e-05/7.855, allocations: 23.22 kB / 3.64 GB, free: 33.84 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/7.855, allocations: 3.219 kB / 3.64 GB, free: 33.84 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.708e-06/7.855, allocations: 6.766 kB / 3.64 GB, free: 33.84 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001013/7.856, allocations: 0.9679 MB / 3.641 GB, free: 33.59 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/7.856, allocations: 6.812 kB / 3.641 GB, free: 33.59 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006094/7.857, allocations: 105 kB / 3.641 GB, free: 33.59 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002539/7.857, allocations: 159.3 kB / 3.642 GB, free: 33.57 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.64e-05/7.857, allocations: 13.08 kB / 3.642 GB, free: 33.57 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003/7.857, allocations: 0.6383 MB / 3.642 GB, free: 33.04 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/7.858, allocations: 10.88 kB / 3.642 GB, free: 33.04 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001074/7.859, allocations: 0.9633 MB / 3.643 GB, free: 32.76 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003156/7.859, allocations: 357 kB / 3.644 GB, free: 32.61 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001124/7.859, allocations: 11.12 kB / 3.644 GB, free: 32.61 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003767/7.859, allocations: 21.66 kB / 3.644 GB, free: 32.61 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.816e-05/7.859, allocations: 29.16 kB / 3.644 GB, free: 32.61 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.974e-05/7.86, allocations: 21.66 kB / 3.644 GB, free: 32.61 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0004927/7.86, allocations: 460.5 kB / 3.644 GB, free: 32.5 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.2e-07/7.86, allocations: 4 kB / 3.644 GB, free: 32.5 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.007952/7.868, allocations: 1.66 MB / 3.646 GB, free: 32.5 MB / 0.5417 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 ($cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.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.01374/7.882, allocations: 2.046 MB / 3.648 GB, free: 32.21 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001751/7.884, allocations: 0.5325 MB / 3.648 GB, free: 32.17 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 7.525e-06/7.884, allocations: 0 / 3.648 GB, free: 32.17 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0005302/7.884, allocations: 363.6 kB / 3.649 GB, free: 32.14 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001279/7.885, allocations: 130.6 kB / 3.649 GB, free: 32.14 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.9948/8.88, allocations: 365.3 MB / 4.005 GB, free: 100.9 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003624/8.881, allocations: 0.9832 MB / 4.006 GB, free: 100.1 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002205/8.881, allocations: 60.7 kB / 4.006 GB, free: 100.1 MB / 0.5574 GB Notification: Performance of SimCode: time 1.052e-06/8.881, allocations: 1.859 kB / 4.006 GB, free: 100.1 MB / 0.5574 GB Notification: Performance of Templates: time 0.04517/8.926, allocations: 36.37 MB / 4.042 GB, free: 95.45 MB / 0.5574 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/jenkins1/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