Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.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.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_4.0.0_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_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009864/0.0009865, allocations: 180.6 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.337/1.337, allocations: 221.3 MB / 236 MB, free: 2.969 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.0008722/0.0008725, allocations: 102.7 kB / 287 MB, free: 252 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1937/0.1937, allocations: 44.15 MB / 382 MB, free: 14.69 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.316e-05/3.317e-05, allocations: 0 / 451.8 MB, free: 9.445 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.1313, allocations: 61.91 MB / 0.5017 GB, free: 11.47 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 13.4/13.53, allocations: 6.131 GB / 6.633 GB, free: 27.24 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002684/13.53, allocations: 85.88 kB / 6.633 GB, free: 27.2 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.263/14.79, allocations: 260.5 MB / 6.888 GB, free: 99.58 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.715e-06/14.79, allocations: 1.344 kB / 6.888 GB, free: 99.58 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.775e-05/14.79, allocations: 5.125 kB / 6.888 GB, free: 99.58 MB / 0.5417 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.009268/14.8, allocations: 1.916 MB / 6.889 GB, free: 98.76 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.898e-05/14.8, allocations: 11.47 kB / 6.889 GB, free: 98.76 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002198/14.8, allocations: 34.47 kB / 6.89 GB, free: 98.74 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000339/14.8, allocations: 243.6 kB / 6.89 GB, free: 98.55 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.037e-05/14.8, allocations: 26.75 kB / 6.89 GB, free: 98.55 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.26e-05/14.8, allocations: 25.03 kB / 6.89 GB, free: 98.55 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009269/14.8, allocations: 0.4952 MB / 6.89 GB, free: 98.45 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/14.8, allocations: 1.406 kB / 6.89 GB, free: 98.45 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.933e-05/14.8, allocations: 18.09 kB / 6.89 GB, free: 98.45 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.24e-05/14.8, allocations: 30.34 kB / 6.89 GB, free: 98.44 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001173/14.81, allocations: 0.899 MB / 6.891 GB, free: 98.44 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00189/14.81, allocations: 1.83 MB / 6.893 GB, free: 97.38 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000682/14.81, allocations: 270.8 kB / 6.893 GB, free: 97.35 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001554/14.81, allocations: 99.55 kB / 6.893 GB, free: 97.34 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01429/14.82, allocations: 15.33 MB / 6.908 GB, free: 82 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000511/14.82, allocations: 242.4 kB / 6.909 GB, free: 81.88 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=34): time 2.945e-06/14.82, allocations: 0 / 6.909 GB, free: 81.88 MB / 0.5417 GB Notification: Performance of matching and sorting (n=36): time 0.002334/14.83, allocations: 0.7157 MB / 6.909 GB, free: 81.6 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.367e-05/14.83, allocations: 270.7 kB / 6.909 GB, free: 81.29 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002204/14.83, allocations: 181.8 kB / 6.91 GB, free: 81.19 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.145e-05/14.83, allocations: 31.45 kB / 6.91 GB, free: 81.16 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001159/14.83, allocations: 203.2 kB / 6.91 GB, free: 81.02 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001041/14.83, allocations: 133.2 kB / 6.91 GB, free: 80.96 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.419e-05/14.83, allocations: 12.16 kB / 6.91 GB, free: 80.96 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 9.759e-05/14.83, allocations: 333.7 kB / 6.91 GB, free: 80.64 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002099/14.83, allocations: 86.39 kB / 6.91 GB, free: 80.64 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004375/14.83, allocations: 358.7 kB / 6.911 GB, free: 80.31 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00041/14.83, allocations: 156.2 kB / 6.911 GB, free: 80.31 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.067e-06/14.83, allocations: 3.438 kB / 6.911 GB, free: 80.31 MB / 0.5417 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001268/14.83, allocations: 499.1 kB / 6.911 GB, free: 80.26 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 3.031e-05/14.83, allocations: 13.8 kB / 6.911 GB, free: 80.26 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.911e-05/14.83, allocations: 12.45 kB / 6.911 GB, free: 80.26 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.527e-05/14.83, allocations: 14.12 kB / 6.911 GB, free: 80.26 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006865/14.83, allocations: 180.6 kB / 6.912 GB, free: 80.26 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004887/14.83, allocations: 1.188 MB / 6.913 GB, free: 79.09 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003348/14.83, allocations: 28.81 kB / 6.913 GB, free: 79.09 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.179e-05/14.83, allocations: 51.75 kB / 6.913 GB, free: 79.09 MB / 0.5417 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 () * 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.0001225/14.83, allocations: 148.2 kB / 6.913 GB, free: 78.98 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001743/14.83, allocations: 29.44 kB / 6.913 GB, free: 78.97 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001169/14.83, allocations: 0.523 MB / 6.914 GB, free: 78.76 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.097e-06/14.83, allocations: 6.719 kB / 6.914 GB, free: 78.76 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/14.83, allocations: 1.031 kB / 6.914 GB, free: 78.76 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.163e-06/14.83, allocations: 3.891 kB / 6.914 GB, free: 78.76 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008748/14.83, allocations: 0.5697 MB / 6.914 GB, free: 78.44 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/14.83, allocations: 3.844 kB / 6.914 GB, free: 78.44 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003645/14.83, allocations: 76.64 kB / 6.914 GB, free: 78.44 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/14.83, allocations: 0 / 6.914 GB, free: 78.44 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.965e-05/14.83, allocations: 10.8 kB / 6.914 GB, free: 78.44 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003927/14.83, allocations: 1.168 MB / 6.915 GB, free: 77.27 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/14.83, allocations: 2.188 kB / 6.915 GB, free: 77.27 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005154/14.83, allocations: 337.9 kB / 6.916 GB, free: 77.05 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001038/14.83, allocations: 138.7 kB / 6.916 GB, free: 76.95 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.85e-05/14.83, allocations: 11.39 kB / 6.916 GB, free: 76.94 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002101/14.83, allocations: 14.56 kB / 6.916 GB, free: 76.94 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.053e-05/14.83, allocations: 15.22 kB / 6.916 GB, free: 76.94 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.883e-05/14.83, allocations: 20.66 kB / 6.916 GB, free: 76.94 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001821/14.83, allocations: 171.8 kB / 6.916 GB, free: 76.86 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.5e-07/14.83, allocations: 0 / 6.916 GB, free: 76.86 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01148/14.85, allocations: 2.008 MB / 6.918 GB, free: 76.53 MB / 0.5417 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 () * 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.01641/14.86, allocations: 2.738 MB / 6.921 GB, free: 75.98 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.00146/14.86, allocations: 302.4 kB / 6.921 GB, free: 75.98 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/14.86, allocations: 3.438 kB / 6.921 GB, free: 75.98 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0004128/14.86, allocations: 110.9 kB / 6.921 GB, free: 75.98 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005445/14.86, allocations: 52.72 kB / 6.921 GB, free: 75.98 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8115/15.68, allocations: 286.5 MB / 7.201 GB, free: 70.58 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002352/15.68, allocations: 0.7593 MB / 7.202 GB, free: 69.88 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0006304/15.68, allocations: 138.2 kB / 7.202 GB, free: 69.85 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001474/15.68, allocations: 49.66 kB / 7.202 GB, free: 69.84 MB / 0.5417 GB Notification: Performance of SimCode: time 8.62e-07/15.68, allocations: 0 / 7.202 GB, free: 69.84 MB / 0.5417 GB Notification: Performance of Templates: time 0.06452/15.74, allocations: 50.7 MB / 7.251 GB, free: 41.7 MB / 0.5417 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceMoistAir/ReferenceMoistAir.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches