Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_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_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001523/0.001523, allocations: 181.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.228/2.228, allocations: 205.2 MB / 219.4 MB, free: 14.22 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00109/0.00109, allocations: 86.64 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2787/0.2787, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.275e-05/3.277e-05, allocations: 4 kB / 425.3 MB, free: 23.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.117, allocations: 58.86 MB / 484.1 MB, free: 12.48 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.953/8.07, allocations: 2.75 GB / 3.223 GB, free: 92.32 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002812/8.07, allocations: 78.73 kB / 3.223 GB, free: 92.29 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.284/9.354, allocations: 215.2 MB / 3.433 GB, free: 95.06 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.834e-06/9.354, allocations: 2.812 kB / 3.433 GB, free: 95.06 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.574e-05/9.354, allocations: 4 kB / 3.433 GB, free: 95.05 MB / 0.5105 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.008869/9.363, allocations: 1.741 MB / 3.435 GB, free: 93.47 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.924e-05/9.363, allocations: 12.03 kB / 3.435 GB, free: 93.46 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00215/9.365, allocations: 185.7 kB / 3.435 GB, free: 93.35 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004168/9.366, allocations: 273.6 kB / 3.435 GB, free: 93.1 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.944e-05/9.366, allocations: 27.22 kB / 3.435 GB, free: 93.09 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.354e-05/9.366, allocations: 31.88 kB / 3.435 GB, free: 93.07 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002953/9.369, allocations: 0.8047 MB / 3.436 GB, free: 92.5 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.21e-05/9.369, allocations: 7.938 kB / 3.436 GB, free: 92.5 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.522e-05/9.369, allocations: 12.94 kB / 3.436 GB, free: 92.49 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.424e-05/9.369, allocations: 11.95 kB / 3.436 GB, free: 92.48 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003017/9.372, allocations: 0.8557 MB / 3.437 GB, free: 91.81 MB / 0.5105 GB Warning: The model contains alias variables with conflicting start and/or 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.005157/9.377, allocations: 2.901 MB / 3.44 GB, free: 88.94 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001703/9.379, allocations: 390.9 kB / 3.44 GB, free: 88.63 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001733/9.379, allocations: 72.97 kB / 3.44 GB, free: 88.58 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.142/10.52, allocations: 140.6 MB / 3.577 GB, free: 79.45 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001681/10.52, allocations: 488.4 kB / 3.578 GB, free: 79.29 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=31): time 3.045e-06/10.52, allocations: 0 / 3.578 GB, free: 79.29 MB / 0.5105 GB Notification: Performance of matching and sorting (n=32): time 0.005202/10.53, allocations: 1.133 MB / 3.579 GB, free: 79.06 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001052/10.53, allocations: 374 kB / 3.579 GB, free: 78.62 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001863/10.53, allocations: 172.3 kB / 3.58 GB, free: 78.52 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.055e-05/10.53, allocations: 29.2 kB / 3.58 GB, free: 78.48 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/10.53, allocations: 267 kB / 3.58 GB, free: 78.29 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001127/10.53, allocations: 107.2 kB / 3.58 GB, free: 78.23 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.883e-05/10.53, allocations: 11.69 kB / 3.58 GB, free: 78.23 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.299e-05/10.53, allocations: 329.4 kB / 3.58 GB, free: 77.92 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000214/10.53, allocations: 77.3 kB / 3.58 GB, free: 77.91 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003352/10.53, allocations: 341 kB / 3.581 GB, free: 77.57 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003237/10.53, allocations: 131.3 kB / 3.581 GB, free: 77.55 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/10.53, allocations: 3.781 kB / 3.581 GB, free: 77.55 MB / 0.5105 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001121/10.53, allocations: 450.3 kB / 3.581 GB, free: 77.51 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.393e-05/10.53, allocations: 11.8 kB / 3.581 GB, free: 77.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.535e-05/10.53, allocations: 12.94 kB / 3.581 GB, free: 77.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.376e-05/10.53, allocations: 17.84 kB / 3.581 GB, free: 77.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002569/10.53, allocations: 201.6 kB / 3.581 GB, free: 77.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000499/10.53, allocations: 1.188 MB / 3.583 GB, free: 76.33 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005956/10.53, allocations: 25.16 kB / 3.583 GB, free: 76.33 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.21e-05/10.53, allocations: 39.53 kB / 3.583 GB, free: 76.33 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 () * 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.0001849/10.53, allocations: 152.4 kB / 3.583 GB, free: 76.22 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.429e-05/10.54, allocations: 23.31 kB / 3.583 GB, free: 76.21 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002561/10.54, allocations: 1.879 MB / 3.585 GB, free: 75.95 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-05/10.54, allocations: 20.34 kB / 3.585 GB, free: 75.95 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.247e-06/10.54, allocations: 7.578 kB / 3.585 GB, free: 75.95 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.111e-05/10.54, allocations: 7.969 kB / 3.585 GB, free: 75.95 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001336/10.54, allocations: 0.8923 MB / 3.586 GB, free: 75.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.534e-06/10.54, allocations: 3.969 kB / 3.586 GB, free: 75.71 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00109/10.54, allocations: 106.5 kB / 3.586 GB, free: 75.71 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00038/10.54, allocations: 229.3 kB / 3.586 GB, free: 75.69 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.057e-05/10.54, allocations: 20.03 kB / 3.586 GB, free: 75.69 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003811/10.54, allocations: 0.6369 MB / 3.587 GB, free: 75.16 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/10.54, allocations: 6.594 kB / 3.587 GB, free: 75.16 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00155/10.54, allocations: 1.168 MB / 3.588 GB, free: 74.68 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003044/10.54, allocations: 276.2 kB / 3.588 GB, free: 74.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000128/10.54, allocations: 7.281 kB / 3.588 GB, free: 74.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006033/10.54, allocations: 22.42 kB / 3.588 GB, free: 74.54 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.013e-05/10.54, allocations: 45.83 kB / 3.588 GB, free: 74.54 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.187e-05/10.54, allocations: 26.67 kB / 3.588 GB, free: 74.54 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.000493/10.54, allocations: 332.6 kB / 3.588 GB, free: 74.44 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.11e-07/10.54, allocations: 0 / 3.588 GB, free: 74.44 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007686/10.55, allocations: 1.616 MB / 3.59 GB, free: 74.43 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 ($cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$whenCondition1) * Number of discrete 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.01475/10.57, allocations: 2.033 MB / 3.592 GB, free: 74.08 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002107/10.57, allocations: 0.5179 MB / 3.592 GB, free: 74.04 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/10.57, allocations: 0.8125 kB / 3.592 GB, free: 74.04 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.000631/10.57, allocations: 375.9 kB / 3.593 GB, free: 74.02 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001091/10.57, allocations: 112.3 kB / 3.593 GB, free: 74.01 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.934/12.5, allocations: 495.2 MB / 4.076 GB, free: 19.21 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003728/12.51, allocations: 0.9347 MB / 4.077 GB, free: 18.25 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003486/12.51, allocations: 83.36 kB / 4.077 GB, free: 18.18 MB / 0.5105 GB Notification: Performance of SimCode: time 2.275e-06/12.51, allocations: 0 / 4.077 GB, free: 18.18 MB / 0.5105 GB Notification: Performance of Templates: time 0.4765/12.98, allocations: 38.49 MB / 4.115 GB, free: 78.8 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_pT/WaterIF97_pT.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches