Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.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.Essotherm650,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|cp|cp2|cv|cv2|h2|d2|err_T|err_d|err_u|eps",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|cp|cp2|cv|cv2|h2|d2|err_T|err_d|err_u|eps",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001066/0.001066, allocations: 190.9 kB / 16.78 MB, free: 4.918 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.278/1.278, allocations: 226.5 MB / 244.1 MB, free: 6.477 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007859/0.0007859, allocations: 95.12 kB / 296.1 MB, free: 6.695 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3025/0.3025, allocations: 44.83 MB / 393 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002666/0.0002666, allocations: 8 kB / 465.9 MB, free: 12.72 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2926/0.2929, allocations: 62.96 MB / 0.5165 GB, free: 37.23 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3915/0.6844, allocations: 192.1 MB / 0.704 GB, free: 139.1 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000266/0.6848, allocations: 82 kB / 0.7041 GB, free: 139.1 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07138/0.7562, allocations: 33.83 MB / 0.7371 GB, free: 113.4 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.635e-06/0.7562, allocations: 0 / 0.7371 GB, free: 113.4 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.329e-05/0.7562, allocations: 7.938 kB / 0.7372 GB, free: 113.4 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001038/0.7573, allocations: 0.5885 MB / 0.7377 GB, free: 112.8 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.7573, allocations: 15.97 kB / 0.7377 GB, free: 112.8 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000435/0.7577, allocations: 44.72 kB / 0.7378 GB, free: 112.7 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000168/0.7579, allocations: 212.1 kB / 0.738 GB, free: 112.5 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/0.758, allocations: 12.38 kB / 0.738 GB, free: 112.5 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.25e-05/0.758, allocations: 16.38 kB / 0.738 GB, free: 112.5 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003414/0.7583, allocations: 246.4 kB / 0.7382 GB, free: 112.2 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.7583, allocations: 192 / 0.7383 GB, free: 112.2 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.127e-05/0.7584, allocations: 15.92 kB / 0.7383 GB, free: 112.2 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.7584, allocations: 8 kB / 0.7383 GB, free: 112.2 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002746/0.7587, allocations: 233.4 kB / 0.7385 GB, free: 111.9 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009684/0.7597, allocations: 1.314 MB / 0.7398 GB, free: 110.5 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001677/0.7598, allocations: 86.48 kB / 0.7399 GB, free: 110.4 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.719e-05/0.7599, allocations: 44.84 kB / 0.7399 GB, free: 110.4 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00107/0.761, allocations: 2.055 MB / 0.7419 GB, free: 107.9 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001815/0.7612, allocations: 162 kB / 0.7421 GB, free: 107.7 MB / 490.7 MB Notification: Performance of pre-optimization done (n=17): time 1.392e-06/0.7612, allocations: 0 / 0.7421 GB, free: 107.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=18): time 0.0008509/0.7621, allocations: 351.5 kB / 0.7424 GB, free: 107.3 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.15e-05/0.7621, allocations: 268.9 kB / 0.7427 GB, free: 107 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/0.7622, allocations: 157.6 kB / 0.7428 GB, free: 106.9 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.646e-05/0.7623, allocations: 29.7 kB / 0.7428 GB, free: 106.8 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.985e-05/0.7623, allocations: 159.6 kB / 0.743 GB, free: 106.7 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.065e-05/0.7623, allocations: 59.28 kB / 0.743 GB, free: 106.6 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.182e-05/0.7624, allocations: 11.94 kB / 0.7431 GB, free: 106.6 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 4.842e-05/0.7624, allocations: 322.8 kB / 0.7434 GB, free: 106.3 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.181e-05/0.7625, allocations: 35.98 kB / 0.7434 GB, free: 106.2 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001007/0.7626, allocations: 186.4 kB / 0.7436 GB, free: 106 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000192/0.7628, allocations: 254.1 kB / 0.7438 GB, free: 105.7 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.7628, allocations: 0 / 0.7438 GB, free: 105.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003201/0.7631, allocations: 268.9 kB / 0.7441 GB, free: 105.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.7631, allocations: 8 kB / 0.7441 GB, free: 105.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.7632, allocations: 4 kB / 0.7441 GB, free: 105.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.006e-05/0.7632, allocations: 8 kB / 0.7441 GB, free: 105.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004353/0.7636, allocations: 100.5 kB / 0.7442 GB, free: 105.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002045/0.7638, allocations: 0.5899 MB / 0.7448 GB, free: 104.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001432/0.764, allocations: 19.84 kB / 0.7448 GB, free: 104.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.378e-05/0.764, allocations: 20 kB / 0.7448 GB, free: 104.6 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 prepare postOptimizeDAE: time 9.486e-05/0.7641, allocations: 145.6 kB / 0.7449 GB, free: 104.5 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.444e-05/0.7642, allocations: 11.91 kB / 0.745 GB, free: 104.5 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003732/0.7646, allocations: 223.2 kB / 0.7452 GB, free: 104.2 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.7646, allocations: 4 kB / 0.7452 GB, free: 104.2 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.7646, allocations: 0 / 0.7452 GB, free: 104.2 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.7646, allocations: 3.984 kB / 0.7452 GB, free: 104.2 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001767/0.7648, allocations: 225.5 kB / 0.7454 GB, free: 103.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.7648, allocations: 0 / 0.7454 GB, free: 103.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003087/0.7651, allocations: 51.95 kB / 0.7454 GB, free: 103.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.279e-06/0.7651, allocations: 4.031 kB / 0.7454 GB, free: 103.9 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.7651, allocations: 4 kB / 0.7454 GB, free: 103.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001611/0.7653, allocations: 0.5898 MB / 0.746 GB, free: 103.3 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.7653, allocations: 0 / 0.746 GB, free: 103.3 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001339/0.7654, allocations: 137.8 kB / 0.7462 GB, free: 103.1 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.004e-05/0.7655, allocations: 108.9 kB / 0.7463 GB, free: 103 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.698e-05/0.7656, allocations: 4.078 kB / 0.7463 GB, free: 103 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.7657, allocations: 11.88 kB / 0.7463 GB, free: 103 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.343e-05/0.7657, allocations: 15.92 kB / 0.7463 GB, free: 103 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.493e-05/0.7657, allocations: 4 kB / 0.7463 GB, free: 103 MB / 490.7 MB Notification: Performance of sorting global known variables: time 7.519e-05/0.7658, allocations: 133.6 kB / 0.7464 GB, free: 102.8 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7658, allocations: 0 / 0.7464 GB, free: 102.8 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0005956/0.7664, allocations: 151.9 kB / 0.7466 GB, free: 102.7 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0005432/0.767, allocations: 266 kB / 0.7468 GB, free: 102.4 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004307/0.7674, allocations: 156.4 kB / 0.747 GB, free: 102.3 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.7674, allocations: 0 / 0.747 GB, free: 102.3 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001627/0.7676, allocations: 56.03 kB / 0.747 GB, free: 102.2 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002904/0.7679, allocations: 23.98 kB / 0.747 GB, free: 102.2 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01422/0.7821, allocations: 8.764 MB / 0.7556 GB, free: 93.34 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001184/0.7823, allocations: 0.7128 MB / 0.7563 GB, free: 92.6 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000123/0.7824, allocations: 39.41 kB / 0.7563 GB, free: 92.56 MB / 490.7 MB Notification: Performance of SimCode: time 5.1e-07/0.7824, allocations: 0 / 0.7563 GB, free: 92.56 MB / 490.7 MB Notification: Performance of Templates: time 0.00586/0.7883, allocations: 4.69 MB / 0.7609 GB, free: 87.88 MB / 490.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/Essotherm650/Essotherm650.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches