Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.MoistAir.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.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|dddX.2.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.MoistAir") translateModel(ModelicaTest.Media.TestAllProperties.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|dddX.2.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001017/0.001023, allocations: 199.4 kB / 16.79 MB, free: 5.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.316/1.316, allocations: 226.5 MB / 244.1 MB, free: 8.188 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007629/0.000763, allocations: 98.78 kB / 296.1 MB, free: 6.906 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3508/0.3508, allocations: 44.82 MB / 393 MB, free: 35.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002783/0.0002783, allocations: 8 kB / 465.9 MB, free: 12.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3131/0.3134, allocations: 62.95 MB / 0.5165 GB, free: 36.97 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.34/7.653, allocations: 3.513 GB / 4.029 GB, free: 97.39 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002651/7.654, allocations: 75.95 kB / 4.029 GB, free: 97.31 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.2031/7.857, allocations: 87.72 MB / 4.115 GB, free: 8.758 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.114e-06/7.857, allocations: 8 kB / 4.115 GB, free: 8.75 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 2.488e-05/7.857, allocations: 8 kB / 4.115 GB, free: 8.742 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.004132/7.861, allocations: 1.037 MB / 4.116 GB, free: 7.652 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.159e-05/7.861, allocations: 12.03 kB / 4.116 GB, free: 7.641 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002758/7.861, allocations: 36.56 kB / 4.116 GB, free: 7.605 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000412/7.862, allocations: 248 kB / 4.116 GB, free: 7.324 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001348/7.862, allocations: 139.9 kB / 4.116 GB, free: 7.164 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.202e-05/7.862, allocations: 28.38 kB / 4.116 GB, free: 7.137 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008423/7.863, allocations: 0.5609 MB / 4.117 GB, free: 6.547 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.665e-05/7.863, allocations: 3.938 kB / 4.117 GB, free: 6.543 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.608e-05/7.863, allocations: 15.94 kB / 4.117 GB, free: 6.527 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.291e-05/7.863, allocations: 28.55 kB / 4.117 GB, free: 6.496 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001229/7.864, allocations: 1.243 MB / 4.118 GB, free: 5.25 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002251/7.867, allocations: 1.852 MB / 4.12 GB, free: 3.277 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006705/7.867, allocations: 260 kB / 4.12 GB, free: 3.016 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001817/7.867, allocations: 126 kB / 4.12 GB, free: 2.891 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.408/8.275, allocations: 3.299 MB / 4.123 GB, free: 132.4 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.711e-05/8.276, allocations: 42.53 kB / 4.123 GB, free: 132.4 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=42): time 3.827e-06/8.276, allocations: 3.031 kB / 4.123 GB, free: 132.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=44): time 0.00242/8.278, allocations: 0.7374 MB / 4.124 GB, free: 132.2 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.155e-05/8.278, allocations: 54.47 kB / 4.124 GB, free: 132.1 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002336/8.278, allocations: 204.4 kB / 4.124 GB, free: 132 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.955e-05/8.278, allocations: 32.48 kB / 4.124 GB, free: 132 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001114/8.278, allocations: 196.2 kB / 4.125 GB, free: 131.9 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001291/8.279, allocations: 152.9 kB / 4.125 GB, free: 131.8 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.742e-05/8.279, allocations: 9.906 kB / 4.125 GB, free: 131.8 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.42e-05/8.279, allocations: 337.7 kB / 4.125 GB, free: 131.5 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000221/8.279, allocations: 101.6 kB / 4.125 GB, free: 131.5 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004206/8.279, allocations: 420.7 kB / 4.126 GB, free: 131.1 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007849/8.28, allocations: 0.5788 MB / 4.126 GB, free: 130.7 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.137e-06/8.28, allocations: 3.75 kB / 4.126 GB, free: 130.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.00105/8.281, allocations: 0.5551 MB / 4.127 GB, free: 130.7 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.466e-05/8.281, allocations: 9.906 kB / 4.127 GB, free: 130.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.551e-05/8.281, allocations: 12.42 kB / 4.127 GB, free: 130.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.842e-05/8.281, allocations: 14.31 kB / 4.127 GB, free: 130.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006788/8.282, allocations: 204.2 kB / 4.127 GB, free: 130.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005083/8.283, allocations: 1.196 MB / 4.128 GB, free: 129.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003433/8.283, allocations: 32.05 kB / 4.128 GB, free: 129.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001034/8.283, allocations: 66.38 kB / 4.128 GB, free: 129.5 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 70 * Array equations: 1 * 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.0001879/8.283, allocations: 171.4 kB / 4.128 GB, free: 129.4 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.5e-05/8.283, allocations: 32.31 kB / 4.128 GB, free: 129.4 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001273/8.285, allocations: 0.6847 MB / 4.129 GB, free: 129.2 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.488e-05/8.285, allocations: 5.719 kB / 4.129 GB, free: 129.2 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/8.285, allocations: 0 / 4.129 GB, free: 129.2 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/8.285, allocations: 3.141 kB / 4.129 GB, free: 129.2 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007859/8.285, allocations: 0.6261 MB / 4.13 GB, free: 128.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/8.285, allocations: 0 / 4.13 GB, free: 128.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003988/8.286, allocations: 99.11 kB / 4.13 GB, free: 128.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/8.286, allocations: 6.281 kB / 4.13 GB, free: 128.9 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.958e-05/8.286, allocations: 6.688 kB / 4.13 GB, free: 128.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003583/8.286, allocations: 1.175 MB / 4.131 GB, free: 127.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/8.286, allocations: 0 / 4.131 GB, free: 127.7 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00035/8.287, allocations: 331.4 kB / 4.131 GB, free: 127.5 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001294/8.287, allocations: 144.2 kB / 4.131 GB, free: 127.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.056e-05/8.287, allocations: 9.188 kB / 4.131 GB, free: 127.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002344/8.287, allocations: 12.86 kB / 4.131 GB, free: 127.4 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.48e-05/8.287, allocations: 18.36 kB / 4.131 GB, free: 127.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.778e-05/8.287, allocations: 17.97 kB / 4.131 GB, free: 127.4 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001576/8.287, allocations: 181 kB / 4.132 GB, free: 127.3 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.2e-07/8.287, allocations: 0 / 4.132 GB, free: 127.3 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002278/8.29, allocations: 0.5736 MB / 4.132 GB, free: 127.3 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 30 * Array equations: 1 * 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.002479/8.292, allocations: 1.187 MB / 4.133 GB, free: 127.2 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000908/8.293, allocations: 372.2 kB / 4.134 GB, free: 127.2 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.571e-06/8.293, allocations: 2.5 kB / 4.134 GB, free: 127.2 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003343/8.293, allocations: 131.5 kB / 4.134 GB, free: 127.2 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000626/8.294, allocations: 101.4 kB / 4.134 GB, free: 127.2 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08891/8.383, allocations: 39.69 MB / 4.173 GB, free: 122.9 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003854/8.383, allocations: 0.7663 MB / 4.173 GB, free: 122.2 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005549/8.384, allocations: 90.44 kB / 4.174 GB, free: 122.2 MB / 0.5261 GB Notification: Performance of SimCode: time 1.834e-06/8.384, allocations: 0 / 4.174 GB, free: 122.2 MB / 0.5261 GB Notification: Performance of Templates: time 0.03192/8.416, allocations: 16.23 MB / 4.189 GB, free: 120.4 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.MoistAir.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.MoistAir.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.MoistAir.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.MoistAir.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.MoistAir.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.MoistAir --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.MoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/MoistAir/MoistAir.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches