Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001561/0.001561, allocations: 169.7 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.446/1.446, allocations: 221.5 MB / 230.7 MB, free: 7.598 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000893/0.000893, allocations: 93.88 kB / 281.6 MB, free: 5.352 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2193/0.2193, allocations: 44.15 MB / 376.5 MB, free: 3.082 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.523e-05/1.526e-05, allocations: 224 / 444.6 MB, free: 15.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1513/0.1513, allocations: 61.92 MB / 0.4947 GB, free: 1.289 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5678/0.7192, allocations: 190.4 MB / 0.6806 GB, free: 1.996 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002532/0.7195, allocations: 83.94 kB / 0.6807 GB, free: 1.914 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3647/1.084, allocations: 35.3 MB / 0.7152 GB, free: 169.8 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.044e-06/1.084, allocations: 0 / 0.7152 GB, free: 169.8 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.336e-05/1.084, allocations: 3.031 kB / 0.7152 GB, free: 169.8 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.001262/1.085, allocations: 0.5785 MB / 0.7157 GB, free: 169.3 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/1.086, allocations: 9.406 kB / 0.7157 GB, free: 169.3 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004708/1.086, allocations: 52.34 kB / 0.7158 GB, free: 169.3 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00022/1.086, allocations: 208.5 kB / 0.716 GB, free: 169.1 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.68e-05/1.086, allocations: 4.594 kB / 0.716 GB, free: 169.1 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.308e-05/1.086, allocations: 13.75 kB / 0.716 GB, free: 169.1 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003167/1.087, allocations: 205.7 kB / 0.7162 GB, free: 169.1 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002837/1.087, allocations: 208.4 kB / 0.7164 GB, free: 168.9 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/1.087, allocations: 1 kB / 0.7164 GB, free: 168.9 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.505e-05/1.087, allocations: 1.062 kB / 0.7164 GB, free: 168.9 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.058e-05/1.087, allocations: 5.281 kB / 0.7164 GB, free: 168.9 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00163/1.089, allocations: 2.39 MB / 0.7187 GB, free: 166.5 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001174/1.089, allocations: 62.67 kB / 0.7188 GB, free: 166.4 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.865e-05/1.089, allocations: 23.02 kB / 0.7188 GB, free: 166.4 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002382/1.089, allocations: 496.1 kB / 0.7193 GB, free: 165.8 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001542/1.089, allocations: 110 kB / 0.7194 GB, free: 165.8 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=12): time 1.413e-06/1.089, allocations: 0 / 0.7194 GB, free: 165.8 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13): time 0.0008329/1.09, allocations: 215.5 kB / 0.7196 GB, free: 165.6 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.487e-05/1.09, allocations: 108.8 kB / 0.7197 GB, free: 165.5 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001372/1.09, allocations: 145.7 kB / 0.7198 GB, free: 165.4 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.992e-05/1.09, allocations: 29.7 kB / 0.7199 GB, free: 165.4 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.073e-05/1.09, allocations: 157.6 kB / 0.72 GB, free: 165.2 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.292e-05/1.09, allocations: 54.16 kB / 0.7201 GB, free: 165.2 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.051e-05/1.09, allocations: 0 / 0.7201 GB, free: 165.2 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 6.681e-05/1.091, allocations: 325.4 kB / 0.7204 GB, free: 164.9 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.385e-05/1.091, allocations: 41.2 kB / 0.7204 GB, free: 164.9 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001259/1.091, allocations: 175 kB / 0.7206 GB, free: 164.7 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007476/1.091, allocations: 134 kB / 0.7207 GB, free: 164.6 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/1.091, allocations: 1.469 kB / 0.7207 GB, free: 164.6 MB / 0.4948 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0009319/1.092, allocations: 288.7 kB / 0.721 GB, free: 164.5 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.25e-05/1.092, allocations: 7.312 kB / 0.721 GB, free: 164.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/1.092, allocations: 5.406 kB / 0.721 GB, free: 164.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.592e-05/1.093, allocations: 6.594 kB / 0.721 GB, free: 164.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005392/1.093, allocations: 109.2 kB / 0.7211 GB, free: 164.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003228/1.093, allocations: 0.5997 MB / 0.7217 GB, free: 163.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001613/1.094, allocations: 12.38 kB / 0.7217 GB, free: 163.9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.42e-05/1.094, allocations: 24.11 kB / 0.7217 GB, free: 163.9 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 () * 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 8.548e-05/1.094, allocations: 116.9 kB / 0.7219 GB, free: 163.8 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.271e-05/1.094, allocations: 16.23 kB / 0.7219 GB, free: 163.8 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004305/1.094, allocations: 149.4 kB / 0.722 GB, free: 163.7 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/1.094, allocations: 9.203 kB / 0.722 GB, free: 163.7 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/1.094, allocations: 1.281 kB / 0.722 GB, free: 163.7 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/1.094, allocations: 0 / 0.722 GB, free: 163.7 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004777/1.095, allocations: 378.9 kB / 0.7224 GB, free: 163.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/1.095, allocations: 1.375 kB / 0.7224 GB, free: 163.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003542/1.095, allocations: 49.3 kB / 0.7224 GB, free: 163.4 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.07e-06/1.095, allocations: 4.25 kB / 0.7224 GB, free: 163.4 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/1.095, allocations: 9.188 kB / 0.7224 GB, free: 163.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002499/1.095, allocations: 0.5863 MB / 0.723 GB, free: 162.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.773e-06/1.095, allocations: 5.016 kB / 0.723 GB, free: 162.8 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002989/1.096, allocations: 231.9 kB / 0.7232 GB, free: 162.6 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.445e-05/1.096, allocations: 112.9 kB / 0.7233 GB, free: 162.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.091e-05/1.096, allocations: 4.938 kB / 0.7234 GB, free: 162.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001439/1.096, allocations: 2 kB / 0.7234 GB, free: 162.5 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.731e-05/1.096, allocations: 8.234 kB / 0.7234 GB, free: 162.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.907e-05/1.096, allocations: 10 kB / 0.7234 GB, free: 162.5 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.986e-05/1.096, allocations: 114.2 kB / 0.7235 GB, free: 162.4 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.3e-07/1.096, allocations: 4 kB / 0.7235 GB, free: 162.4 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0007228/1.097, allocations: 141.7 kB / 0.7236 GB, free: 162.4 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 () * 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.0005791/1.097, allocations: 261.3 kB / 0.7239 GB, free: 162.2 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004816/1.098, allocations: 135.3 kB / 0.724 GB, free: 162.2 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/1.098, allocations: 0 / 0.724 GB, free: 162.2 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001682/1.098, allocations: 47.33 kB / 0.724 GB, free: 162.2 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000317/1.098, allocations: 31.98 kB / 0.7241 GB, free: 162.1 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02481/1.123, allocations: 11.49 MB / 0.7353 GB, free: 156.1 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002368/1.124, allocations: 0.7151 MB / 0.736 GB, free: 155.4 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0003325/1.124, allocations: 74.14 kB / 0.7361 GB, free: 155.3 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.996e-05/1.124, allocations: 30.3 kB / 0.7361 GB, free: 155.3 MB / 0.4948 GB Notification: Performance of SimCode: time 1.072e-06/1.124, allocations: 7.938 kB / 0.7361 GB, free: 155.3 MB / 0.4948 GB Notification: Performance of Templates: time 0.00688/1.131, allocations: 3.507 MB / 0.7395 GB, free: 151.9 MB / 0.4948 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches