Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_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_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_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009901/0.0009901, allocations: 201.5 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.221/1.221, allocations: 227.2 MB / 245 MB, free: 7.609 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008002/0.0008003, allocations: 97.28 kB / 297.3 MB, free: 6.191 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3015/0.3015, allocations: 45.22 MB / 394.7 MB, free: 31.64 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002723/0.0002723, allocations: 11.98 kB / 468.4 MB, free: 7.711 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3432/0.3435, allocations: 63.24 MB / 0.5192 GB, free: 43.91 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.42/0.7636, allocations: 192.2 MB / 0.7069 GB, free: 149.4 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002656/0.7639, allocations: 83.03 kB / 0.7069 GB, free: 149.4 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.08662/0.8505, allocations: 36.08 MB / 0.7422 GB, free: 138.9 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.774e-06/0.8506, allocations: 0 / 0.7422 GB, free: 138.9 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.533e-05/0.8506, allocations: 3.125 kB / 0.7422 GB, free: 138.9 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001268/0.8519, allocations: 0.5982 MB / 0.7428 GB, free: 138.3 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.8519, allocations: 12.66 kB / 0.7428 GB, free: 138.3 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004991/0.8524, allocations: 41.69 kB / 0.7428 GB, free: 138.3 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002463/0.8527, allocations: 209.1 kB / 0.743 GB, free: 138.1 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.033e-05/0.8527, allocations: 11.28 kB / 0.743 GB, free: 138.1 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.889e-05/0.8528, allocations: 14.78 kB / 0.743 GB, free: 138.1 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000415/0.8532, allocations: 244.8 kB / 0.7433 GB, free: 137.9 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.8532, allocations: 1.094 kB / 0.7433 GB, free: 137.9 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.346e-05/0.8532, allocations: 10.52 kB / 0.7433 GB, free: 137.8 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.999e-06/0.8533, allocations: 4.562 kB / 0.7433 GB, free: 137.8 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003769/0.8536, allocations: 234.7 kB / 0.7435 GB, free: 137.7 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001167/0.8548, allocations: 1.33 MB / 0.7448 GB, free: 136.4 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001926/0.855, allocations: 89.77 kB / 0.7449 GB, free: 136.3 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001263/0.8563, allocations: 2.06 MB / 0.7469 GB, free: 134 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001937/0.8565, allocations: 164 kB / 0.7471 GB, free: 133.8 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=17): time 1.693e-06/0.8565, allocations: 0 / 0.7471 GB, free: 133.8 MB / 0.4948 GB Notification: Performance of matching and sorting (n=18): time 0.0009542/0.8575, allocations: 358 kB / 0.7474 GB, free: 133.6 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.072e-05/0.8576, allocations: 265.2 kB / 0.7477 GB, free: 133.3 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001261/0.8577, allocations: 153.5 kB / 0.7478 GB, free: 133.1 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.365e-05/0.8577, allocations: 26.89 kB / 0.7478 GB, free: 133.1 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.792e-05/0.8578, allocations: 147.9 kB / 0.748 GB, free: 133 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.445e-05/0.8579, allocations: 72.59 kB / 0.748 GB, free: 132.9 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.164e-05/0.8579, allocations: 8.562 kB / 0.7481 GB, free: 132.9 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 5.839e-05/0.8579, allocations: 322.1 kB / 0.7484 GB, free: 132.6 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.51e-05/0.858, allocations: 40.25 kB / 0.7484 GB, free: 132.6 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001249/0.8582, allocations: 186.8 kB / 0.7486 GB, free: 132.3 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001265/0.8583, allocations: 73.67 kB / 0.7486 GB, free: 132.3 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.8583, allocations: 1.344 kB / 0.7486 GB, free: 132.3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004187/0.8587, allocations: 251.9 kB / 0.7489 GB, free: 132.2 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.8588, allocations: 7.188 kB / 0.7489 GB, free: 132.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/0.8588, allocations: 4.719 kB / 0.7489 GB, free: 132.2 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.198e-05/0.8588, allocations: 8.156 kB / 0.7489 GB, free: 132.2 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004707/0.8593, allocations: 100.9 kB / 0.749 GB, free: 132.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002385/0.8595, allocations: 0.5956 MB / 0.7496 GB, free: 131.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000172/0.8597, allocations: 17.25 kB / 0.7496 GB, free: 131.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.184e-05/0.8598, allocations: 25.11 kB / 0.7496 GB, free: 131.5 MB / 0.4948 GB 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 0.0001033/0.8599, allocations: 139.6 kB / 0.7498 GB, free: 131.4 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.312e-05/0.8599, allocations: 13.38 kB / 0.7498 GB, free: 131.4 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004252/0.8604, allocations: 225.9 kB / 0.75 GB, free: 131.2 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.8604, allocations: 5.641 kB / 0.75 GB, free: 131.2 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.8604, allocations: 1.25 kB / 0.75 GB, free: 131.2 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.8604, allocations: 1.375 kB / 0.75 GB, free: 131.2 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000218/0.8606, allocations: 219.5 kB / 0.7502 GB, free: 131 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.8606, allocations: 4.844 kB / 0.7502 GB, free: 130.9 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000321/0.861, allocations: 55.7 kB / 0.7503 GB, free: 130.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.861, allocations: 1.562 kB / 0.7503 GB, free: 130.9 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.357e-05/0.861, allocations: 9.844 kB / 0.7503 GB, free: 130.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001718/0.8612, allocations: 0.582 MB / 0.7508 GB, free: 130.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.8612, allocations: 1.344 kB / 0.7508 GB, free: 130.3 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000172/0.8614, allocations: 149.2 kB / 0.751 GB, free: 130.2 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.484e-05/0.8615, allocations: 122.8 kB / 0.7511 GB, free: 130.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.138e-05/0.8615, allocations: 1.969 kB / 0.7511 GB, free: 130.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000119/0.8616, allocations: 6.219 kB / 0.7511 GB, free: 130.1 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.172e-05/0.8617, allocations: 8.359 kB / 0.7511 GB, free: 130.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.756e-05/0.8617, allocations: 5.312 kB / 0.7511 GB, free: 130.1 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 9.288e-05/0.8618, allocations: 133.3 kB / 0.7512 GB, free: 130 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8618, allocations: 1.5 kB / 0.7513 GB, free: 130 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0006673/0.8625, allocations: 159.4 kB / 0.7514 GB, free: 129.9 MB / 0.4948 GB 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.0007605/0.8632, allocations: 260.6 kB / 0.7517 GB, free: 129.7 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004701/0.8637, allocations: 147.1 kB / 0.7518 GB, free: 129.7 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.8637, allocations: 5.094 kB / 0.7518 GB, free: 129.7 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001739/0.8639, allocations: 49.25 kB / 0.7518 GB, free: 129.7 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002507/0.8642, allocations: 32.36 kB / 0.7519 GB, free: 129.6 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0258/0.89, allocations: 12.4 MB / 0.764 GB, free: 119.1 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001359/0.8902, allocations: 0.7206 MB / 0.7647 GB, free: 118.3 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0003241/0.8905, allocations: 76.83 kB / 0.7648 GB, free: 118.2 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.399e-05/0.8906, allocations: 27.36 kB / 0.7648 GB, free: 118.2 MB / 0.4948 GB Notification: Performance of SimCode: time 6.32e-07/0.8906, allocations: 0 / 0.7648 GB, free: 118.2 MB / 0.4948 GB Notification: Performance of Templates: time 0.006519/0.8971, allocations: 3.727 MB / 0.7684 GB, free: 114.5 MB / 0.4948 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/Essotherm650/Essotherm650.csv","../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches