Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir.conf.json 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/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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) 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_3.2.3_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_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00141/0.00141, allocations: 112.6 kB / 17.04 MB, free: 6.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001643/0.001643, allocations: 195 kB / 17.97 MB, free: 5.16 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.642/1.642, allocations: 205.1 MB / 223.8 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2329/0.2329, allocations: 43.51 MB / 314.7 MB, free: 484 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001702/0.001702, allocations: 66.83 kB / 384.2 MB, free: 56.42 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1189, allocations: 57.79 MB / 442 MB, free: 6.168 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.MoistAir): time 0.4603/0.5792, allocations: 153.5 MB / 0.5815 GB, free: 12.49 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01472/0.594, allocations: 13.27 MB / 0.5944 GB, free: 10.71 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001847/0.5942, allocations: 4 kB / 0.5944 GB, free: 10.71 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004036/0.5947, allocations: 78.75 kB / 0.5945 GB, free: 10.66 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009773/0.6045, allocations: 3.448 MB / 0.5979 GB, free: 9.172 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004087/0.6049, allocations: 162.4 kB / 0.598 GB, free: 9.133 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007181/0.6056, allocations: 0.5284 MB / 0.5985 GB, free: 8.945 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.187e-05/0.6057, allocations: 18.5 kB / 0.5986 GB, free: 8.938 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003498/0.606, allocations: 229.4 kB / 0.5988 GB, free: 8.863 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006773/0.6067, allocations: 375.6 kB / 0.5991 GB, free: 8.754 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.776e-05/0.6068, allocations: 12.53 kB / 0.5991 GB, free: 8.754 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01047/0.6172, allocations: 5.025 MB / 0.604 GB, free: 7.434 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002502/0.6175, allocations: 99.22 kB / 0.6041 GB, free: 7.391 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003817/0.6179, allocations: 152.2 kB / 0.6043 GB, free: 7.344 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008254/0.6262, allocations: 2.591 MB / 0.6068 GB, free: 6.445 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.6262, allocations: 0 / 0.6068 GB, free: 6.445 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.6263, allocations: 0 / 0.6068 GB, free: 6.445 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.545e-05/0.6263, allocations: 0 / 0.6068 GB, free: 6.445 MB / 430.1 MB 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.00345/0.6297, allocations: 1.122 MB / 0.6079 GB, free: 5.66 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.621e-05/0.6298, allocations: 13.86 kB / 0.6079 GB, free: 5.656 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002779/0.6301, allocations: 37.02 kB / 0.608 GB, free: 5.641 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005228/0.6306, allocations: 255 kB / 0.6082 GB, free: 5.398 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001702/0.6308, allocations: 128.5 kB / 0.6083 GB, free: 5.273 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.788e-05/0.6309, allocations: 27.28 kB / 0.6084 GB, free: 5.273 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009358/0.6318, allocations: 0.5773 MB / 0.6089 GB, free: 5.062 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.976e-05/0.6318, allocations: 3.938 kB / 0.6089 GB, free: 5.059 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.311e-05/0.6319, allocations: 11.28 kB / 0.6089 GB, free: 5.059 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.868e-05/0.632, allocations: 32.17 kB / 0.609 GB, free: 5.051 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001408/0.6334, allocations: 1.26 MB / 0.6102 GB, free: 4.766 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002686/0.6361, allocations: 2.009 MB / 0.6122 GB, free: 3.172 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007901/0.6369, allocations: 278.6 kB / 0.6124 GB, free: 3.035 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002145/0.6371, allocations: 125.4 kB / 0.6125 GB, free: 2.953 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004144/0.6413, allocations: 3.342 MB / 0.6158 GB, free: 15.08 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.892e-05/0.6413, allocations: 34.56 kB / 0.6158 GB, free: 15.04 MB / 446.1 MB Notification: Performance of pre-optimization done (n=42): time 2.725e-06/0.6413, allocations: 0 / 0.6158 GB, free: 15.04 MB / 446.1 MB Notification: Performance of matching and sorting (n=44): time 0.002211/0.6436, allocations: 0.7311 MB / 0.6165 GB, free: 14.29 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.554e-05/0.6436, allocations: 59.41 kB / 0.6166 GB, free: 14.21 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002378/0.6439, allocations: 206.7 kB / 0.6168 GB, free: 14 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.793e-05/0.6439, allocations: 29.7 kB / 0.6168 GB, free: 13.97 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001349/0.6441, allocations: 202.7 kB / 0.617 GB, free: 13.77 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001367/0.6442, allocations: 148 kB / 0.6172 GB, free: 13.62 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002013/0.6444, allocations: 141.2 kB / 0.6173 GB, free: 13.48 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.6446, allocations: 334.8 kB / 0.6176 GB, free: 13.15 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002252/0.6448, allocations: 109.2 kB / 0.6177 GB, free: 13.04 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004667/0.6453, allocations: 421.4 kB / 0.6181 GB, free: 12.48 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007852/0.6461, allocations: 0.5805 MB / 0.6187 GB, free: 11.76 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.584e-06/0.6461, allocations: 4 kB / 0.6187 GB, free: 11.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001076/0.6472, allocations: 0.5602 MB / 0.6192 GB, free: 11.19 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.612e-05/0.6473, allocations: 15.94 kB / 0.6193 GB, free: 11.17 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.715e-05/0.6473, allocations: 11.94 kB / 0.6193 GB, free: 11.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.924e-05/0.6473, allocations: 16 kB / 0.6193 GB, free: 11.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006677/0.648, allocations: 197.4 kB / 0.6195 GB, free: 10.95 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007289/0.6487, allocations: 1.2 MB / 0.6206 GB, free: 9.707 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003407/0.6491, allocations: 20 kB / 0.6207 GB, free: 9.688 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001122/0.6492, allocations: 63.98 kB / 0.6207 GB, free: 9.625 MB / 446.1 MB 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 (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002186/0.6494, allocations: 177.4 kB / 0.6209 GB, free: 9.441 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001004/0.6495, allocations: 31.91 kB / 0.6209 GB, free: 9.41 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001251/0.6508, allocations: 0.6435 MB / 0.6216 GB, free: 8.73 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.476e-05/0.6508, allocations: 4 kB / 0.6216 GB, free: 8.727 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.6508, allocations: 0 / 0.6216 GB, free: 8.727 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.276e-06/0.6508, allocations: 3.984 kB / 0.6216 GB, free: 8.723 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001077/0.6519, allocations: 0.6468 MB / 0.6222 GB, free: 8.027 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.652, allocations: 3.938 kB / 0.6222 GB, free: 8.023 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004611/0.6524, allocations: 105.9 kB / 0.6223 GB, free: 7.922 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.484e-06/0.6524, allocations: 0 / 0.6223 GB, free: 7.922 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.942e-05/0.6525, allocations: 15.98 kB / 0.6223 GB, free: 7.906 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007179/0.6532, allocations: 1.172 MB / 0.6235 GB, free: 6.688 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.6532, allocations: 0 / 0.6235 GB, free: 6.688 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004785/0.6537, allocations: 349.2 kB / 0.6238 GB, free: 6.328 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001847/0.6539, allocations: 120.8 kB / 0.6239 GB, free: 6.191 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.988e-05/0.654, allocations: 4 kB / 0.6239 GB, free: 6.188 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002507/0.6542, allocations: 15.98 kB / 0.6239 GB, free: 6.172 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.45e-05/0.6543, allocations: 27.22 kB / 0.624 GB, free: 6.148 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.277e-05/0.6543, allocations: 23.98 kB / 0.624 GB, free: 6.125 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001543/0.6545, allocations: 172.5 kB / 0.6241 GB, free: 5.957 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.6545, allocations: 0 / 0.6241 GB, free: 5.957 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001837/0.6563, allocations: 0.5542 MB / 0.6247 GB, free: 5.402 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (35): * Single equations (assignments): 32 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002608/0.6589, allocations: 0.8839 MB / 0.6255 GB, free: 4.57 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001206/0.6602, allocations: 378.9 kB / 0.6259 GB, free: 4.203 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.6602, allocations: 0 / 0.6259 GB, free: 4.203 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004589/0.6606, allocations: 148 kB / 0.626 GB, free: 4.059 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008702/0.6615, allocations: 135.2 kB / 0.6262 GB, free: 3.934 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01423/0.6758, allocations: 8.303 MB / 0.6343 GB, free: 12.47 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004562/0.6763, allocations: 0.7659 MB / 0.635 GB, free: 11.68 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000853/0.6772, allocations: 190.8 kB / 0.6352 GB, free: 11.49 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002733/0.6775, allocations: 71.41 kB / 0.6353 GB, free: 11.43 MB / 462.1 MB Notification: Performance of SimCode: time 9.52e-07/0.6775, allocations: 3.938 kB / 0.6353 GB, free: 11.42 MB / 462.1 MB Notification: Performance of Templates: time 0.03004/0.7075, allocations: 16.84 MB / 0.6517 GB, free: 10.63 MB / 478.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches