Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_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.ReferenceAir_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.ReferenceAir_pT") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_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.ReferenceAir_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002405/0.002405, allocations: 185.7 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.952/1.952, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.001115/0.001115, allocations: 88.42 kB / 270.9 MB, free: 8.371 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5066/0.5066, allocations: 43.55 MB / 362.7 MB, free: 52.21 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005012/0.000501, allocations: 8 kB / 431.4 MB, free: 6.176 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1577/0.1582, allocations: 58.85 MB / 490.2 MB, free: 11.24 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.172/2.331, allocations: 0.6458 GB / 1.125 GB, free: 107.6 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003087/2.331, allocations: 85.08 kB / 1.125 GB, free: 107.6 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.3157/2.647, allocations: 111.5 MB / 1.234 GB, free: 1.508 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.535e-06/2.647, allocations: 0 / 1.234 GB, free: 1.508 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.77e-05/2.647, allocations: 7.984 kB / 1.234 GB, free: 1.5 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.003823/2.651, allocations: 1.049 MB / 1.235 GB, free: 412 kB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/2.651, allocations: 12.03 kB / 1.235 GB, free: 400 kB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008093/2.652, allocations: 79.09 kB / 1.235 GB, free: 324 kB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003333/2.652, allocations: 242.7 kB / 1.235 GB, free: 40 kB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.496e-05/2.652, allocations: 20.56 kB / 1.235 GB, free: 20 kB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.334/2.986, allocations: 22.83 kB / 1.235 GB, free: 119.4 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001619/2.988, allocations: 472.6 kB / 1.235 GB, free: 119.3 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.344e-05/2.988, allocations: 3.578 kB / 1.235 GB, free: 119.3 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.839e-05/2.988, allocations: 13.38 kB / 1.235 GB, free: 119.3 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.041e-05/2.988, allocations: 11.08 kB / 1.235 GB, free: 119.3 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001841/2.99, allocations: 0.6762 MB / 1.236 GB, free: 119.3 MB / 0.4948 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.01509/3.005, allocations: 4.19 MB / 1.24 GB, free: 117.7 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008876/3.006, allocations: 211 kB / 1.24 GB, free: 117.7 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1412/3.147, allocations: 39.83 MB / 1.279 GB, free: 98.19 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001506/3.149, allocations: 317 kB / 1.28 GB, free: 98.02 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=33): time 5.971e-06/3.149, allocations: 0 / 1.28 GB, free: 98.02 MB / 0.4948 GB Notification: Performance of matching and sorting (n=34): time 0.005357/3.154, allocations: 0.7873 MB / 1.28 GB, free: 97.78 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001612/3.154, allocations: 429.4 kB / 1.281 GB, free: 97.28 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002191/3.154, allocations: 144.8 kB / 1.281 GB, free: 97.19 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.928e-05/3.155, allocations: 32.36 kB / 1.281 GB, free: 97.16 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001302/3.155, allocations: 248.4 kB / 1.281 GB, free: 96.96 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000155/3.155, allocations: 114.5 kB / 1.281 GB, free: 96.9 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.433e-05/3.155, allocations: 11.5 kB / 1.281 GB, free: 96.9 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.205e-05/3.155, allocations: 332 kB / 1.282 GB, free: 96.59 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000261/3.155, allocations: 65.53 kB / 1.282 GB, free: 96.59 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004207/3.156, allocations: 307.5 kB / 1.282 GB, free: 96.28 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004084/3.156, allocations: 112.9 kB / 1.282 GB, free: 96.27 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.12e-05/3.156, allocations: 3.062 kB / 1.282 GB, free: 96.27 MB / 0.4948 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001527/3.158, allocations: 391.6 kB / 1.282 GB, free: 96.22 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.58e-05/3.158, allocations: 8.906 kB / 1.282 GB, free: 96.22 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.289e-05/3.158, allocations: 9.656 kB / 1.282 GB, free: 96.22 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.11e-05/3.158, allocations: 13.38 kB / 1.282 GB, free: 96.22 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004904/3.163, allocations: 260.6 kB / 1.283 GB, free: 96.21 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007406/3.164, allocations: 1.186 MB / 1.284 GB, free: 95.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007121/3.164, allocations: 24.53 kB / 1.284 GB, free: 95.04 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000103/3.164, allocations: 34.64 kB / 1.284 GB, free: 95.04 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 53 * 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.0002986/3.165, allocations: 153.2 kB / 1.284 GB, free: 94.93 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001273/3.165, allocations: 26.92 kB / 1.284 GB, free: 94.92 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00295/3.168, allocations: 0.9929 MB / 1.285 GB, free: 94.7 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.947e-05/3.168, allocations: 13.36 kB / 1.285 GB, free: 94.7 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.228e-05/3.168, allocations: 3.344 kB / 1.285 GB, free: 94.7 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.124e-05/3.168, allocations: 0 / 1.285 GB, free: 94.7 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07129/3.239, allocations: 12.3 MB / 1.297 GB, free: 88.63 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.778e-05/3.239, allocations: 2.625 kB / 1.297 GB, free: 88.63 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002614/3.242, allocations: 131.2 kB / 1.297 GB, free: 88.63 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-05/3.242, allocations: 9.938 kB / 1.297 GB, free: 88.63 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.363e-05/3.242, allocations: 8.125 kB / 1.297 GB, free: 88.63 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000394/3.243, allocations: 0.587 MB / 1.298 GB, free: 88.04 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.875e-06/3.243, allocations: 2.344 kB / 1.298 GB, free: 88.04 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001447/3.244, allocations: 0.628 MB / 1.298 GB, free: 87.67 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003061/3.244, allocations: 195.6 kB / 1.299 GB, free: 87.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001247/3.245, allocations: 9.188 kB / 1.299 GB, free: 87.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006841/3.245, allocations: 19.34 kB / 1.299 GB, free: 87.55 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.148e-05/3.245, allocations: 25.61 kB / 1.299 GB, free: 87.55 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.545e-05/3.246, allocations: 9.031 kB / 1.299 GB, free: 87.55 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0005104/3.246, allocations: 214.2 kB / 1.299 GB, free: 87.46 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6.81e-07/3.246, allocations: 0 / 1.299 GB, free: 87.46 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.003707/3.25, allocations: 478.9 kB / 1.299 GB, free: 87.46 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005558/3.255, allocations: 0.8331 MB / 1.3 GB, free: 87.25 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.00327/3.259, allocations: 390.6 kB / 1.3 GB, free: 87.25 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.119e-05/3.259, allocations: 5.438 kB / 1.3 GB, free: 87.24 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001784/3.261, allocations: 243.8 kB / 1.301 GB, free: 87.24 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001343/3.262, allocations: 78.08 kB / 1.301 GB, free: 87.23 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.921/6.183, allocations: 0.6797 GB / 1.981 GB, free: 110.5 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003952/6.183, allocations: 0.8219 MB / 1.981 GB, free: 109.8 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002154/6.183, allocations: 49.53 kB / 1.981 GB, free: 109.8 MB / 0.4948 GB Notification: Performance of SimCode: time 1.893e-06/6.183, allocations: 0 / 1.981 GB, free: 109.8 MB / 0.4948 GB Notification: Performance of Templates: time 0.03035/6.214, allocations: 12.99 MB / 1.994 GB, free: 109.2 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_pT/ReferenceAir_pT.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches