Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.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.ReferenceMoistAir,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|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir,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|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001524/0.001524, allocations: 184.6 kB / 15.76 MB, free: 6.367 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.694/1.694, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0009637/0.0009635, allocations: 86.86 kB / 270.2 MB, free: 13.37 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.2387/0.2387, allocations: 43.56 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003714/0.0003714, allocations: 8 kB / 431.4 MB, free: 19.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1529/0.1533, allocations: 58.85 MB / 490.2 MB, free: 8.672 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 15.98/16.13, allocations: 6.606 GB / 7.084 GB, free: 31.92 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002891/16.13, allocations: 79.95 kB / 7.084 GB, free: 31.88 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.887/17.02, allocations: 248.7 MB / 7.327 GB, free: 3.234 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.653e-06/17.02, allocations: 4 kB / 7.327 GB, free: 3.23 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.82e-05/17.02, allocations: 4 kB / 7.327 GB, free: 3.227 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.01034/17.03, allocations: 1.901 MB / 7.329 GB, free: 1.27 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/17.03, allocations: 8.031 kB / 7.329 GB, free: 1.262 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002078/17.03, allocations: 31.72 kB / 7.329 GB, free: 1.23 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002862/17.03, allocations: 254.6 kB / 7.329 GB, free: 0.9414 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.047e-05/17.03, allocations: 20.56 kB / 7.329 GB, free: 0.9219 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.387e-05/17.03, allocations: 24 kB / 7.329 GB, free: 0.8984 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007651/17.03, allocations: 0.5051 MB / 7.33 GB, free: 372 kB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/17.03, allocations: 4 kB / 7.33 GB, free: 368 kB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.83e-05/17.03, allocations: 15.98 kB / 7.33 GB, free: 352 kB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.977e-05/17.03, allocations: 20.5 kB / 7.33 GB, free: 332 kB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3547/17.39, allocations: 0.9061 MB / 7.331 GB, free: 72.7 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002267/17.39, allocations: 1.841 MB / 7.333 GB, free: 71.65 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007694/17.39, allocations: 269.8 kB / 7.333 GB, free: 71.62 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01445/17.41, allocations: 15.24 MB / 7.348 GB, free: 56.3 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004894/17.41, allocations: 240.1 kB / 7.348 GB, free: 56.18 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=34): time 2.585e-06/17.41, allocations: 0.9375 kB / 7.348 GB, free: 56.18 MB / 0.5105 GB Notification: Performance of matching and sorting (n=36): time 0.00228/17.41, allocations: 0.7982 MB / 7.349 GB, free: 55.89 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.817e-05/17.41, allocations: 268.5 kB / 7.349 GB, free: 55.58 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002003/17.41, allocations: 190.3 kB / 7.349 GB, free: 55.48 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.935e-05/17.41, allocations: 32.39 kB / 7.349 GB, free: 55.45 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 9.085e-05/17.41, allocations: 196.2 kB / 7.349 GB, free: 55.31 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 8.014e-05/17.41, allocations: 132.1 kB / 7.35 GB, free: 55.25 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.214e-05/17.41, allocations: 8.594 kB / 7.35 GB, free: 55.25 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.973e-05/17.41, allocations: 342.3 kB / 7.35 GB, free: 54.93 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001513/17.41, allocations: 85.17 kB / 7.35 GB, free: 54.93 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003877/17.41, allocations: 369.5 kB / 7.35 GB, free: 54.6 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003163/17.41, allocations: 155.2 kB / 7.351 GB, free: 54.6 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/17.41, allocations: 3.891 kB / 7.351 GB, free: 54.6 MB / 0.5105 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001026/17.41, allocations: 499.7 kB / 7.351 GB, free: 54.56 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/17.41, allocations: 12.31 kB / 7.351 GB, free: 54.56 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.276e-05/17.41, allocations: 7.875 kB / 7.351 GB, free: 54.56 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.428e-05/17.41, allocations: 14.66 kB / 7.351 GB, free: 54.56 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005971/17.41, allocations: 185.3 kB / 7.351 GB, free: 54.56 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004674/17.41, allocations: 1.192 MB / 7.352 GB, free: 53.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003025/17.41, allocations: 28.25 kB / 7.352 GB, free: 53.39 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.358e-05/17.41, allocations: 53.28 kB / 7.352 GB, free: 53.39 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: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 65 * 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.0001566/17.41, allocations: 170.2 kB / 7.353 GB, free: 53.27 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001511/17.41, allocations: 34.05 kB / 7.353 GB, free: 53.26 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009957/17.41, allocations: 0.5183 MB / 7.353 GB, free: 53.05 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/17.41, allocations: 11.48 kB / 7.353 GB, free: 53.04 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/17.41, allocations: 0 / 7.353 GB, free: 53.04 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/17.41, allocations: 3.516 kB / 7.353 GB, free: 53.04 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007693/17.41, allocations: 0.5672 MB / 7.354 GB, free: 52.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.858e-06/17.41, allocations: 3.938 kB / 7.354 GB, free: 52.73 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003772/17.42, allocations: 80.89 kB / 7.354 GB, free: 52.72 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/17.42, allocations: 2.75 kB / 7.354 GB, free: 52.72 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/17.42, allocations: 10.31 kB / 7.354 GB, free: 52.72 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003645/17.42, allocations: 1.17 MB / 7.355 GB, free: 51.56 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/17.42, allocations: 5.328 kB / 7.355 GB, free: 51.55 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005795/17.42, allocations: 332.9 kB / 7.355 GB, free: 51.33 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001066/17.42, allocations: 137.1 kB / 7.355 GB, free: 51.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.585e-05/17.42, allocations: 2.625 kB / 7.355 GB, free: 51.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002227/17.42, allocations: 13.39 kB / 7.355 GB, free: 51.23 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.461e-05/17.42, allocations: 18.16 kB / 7.355 GB, free: 51.23 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.621e-05/17.42, allocations: 11.78 kB / 7.355 GB, free: 51.23 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001615/17.42, allocations: 178.6 kB / 7.356 GB, free: 51.14 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.5e-07/17.42, allocations: 0 / 7.356 GB, free: 51.14 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01031/17.43, allocations: 1.952 MB / 7.358 GB, free: 51.14 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (21): * Single equations (assignments): 19 * 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 Backend phase and start with SimCode phase: time 0.01972/17.45, allocations: 2.766 MB / 7.36 GB, free: 51.03 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001627/17.45, allocations: 304.2 kB / 7.361 GB, free: 51.03 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.025e-06/17.45, allocations: 1 kB / 7.361 GB, free: 51.03 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0005625/17.45, allocations: 108.4 kB / 7.361 GB, free: 51.03 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005995/17.45, allocations: 56.28 kB / 7.361 GB, free: 51.02 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.838/18.29, allocations: 271.3 MB / 7.626 GB, free: 68.66 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003617/18.29, allocations: 0.7619 MB / 7.626 GB, free: 67.96 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0007451/18.29, allocations: 144.4 kB / 7.627 GB, free: 67.92 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001876/18.29, allocations: 44.83 kB / 7.627 GB, free: 67.92 MB / 0.5261 GB Notification: Performance of SimCode: time 1.844e-06/18.29, allocations: 0 / 7.627 GB, free: 67.92 MB / 0.5261 GB Notification: Performance of Templates: time 0.08653/18.38, allocations: 52.99 MB / 7.678 GB, free: 56.68 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceMoistAir/ReferenceMoistAir.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches