Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_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_ModelicaTest.Media.TestAllProperties.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009491/0.0009494, allocations: 94.39 kB / 17 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009605/0.0009605, allocations: 192.9 kB / 17.91 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.514/1.514, allocations: 227.7 MB / 246.4 MB, free: 11.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.229/0.229, allocations: 46.19 MB / 344.8 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002698/0.0002698, allocations: 12.22 kB / 418.8 MB, free: 20.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1336, allocations: 63.57 MB / 482.4 MB, free: 4.559 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.MoistAir): time 0.4901/0.6237, allocations: 140.9 MB / 0.6087 GB, free: 8.098 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01323/0.637, allocations: 9.739 MB / 0.6182 GB, free: 14.36 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003149/0.6374, allocations: 0 / 0.6182 GB, free: 14.36 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003606/0.6378, allocations: 55.69 kB / 0.6183 GB, free: 14.3 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007353/0.6451, allocations: 2.12 MB / 0.6204 GB, free: 12.18 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004/0.6455, allocations: 150.9 kB / 0.6205 GB, free: 12.04 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009431/0.6465, allocations: 0.6426 MB / 0.6211 GB, free: 11.39 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.487e-05/0.6466, allocations: 16.41 kB / 0.6212 GB, free: 11.38 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003496/0.6469, allocations: 219.2 kB / 0.6214 GB, free: 11.16 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007857/0.6477, allocations: 417 kB / 0.6218 GB, free: 10.75 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 4.662e-05/0.6478, allocations: 12 kB / 0.6218 GB, free: 10.74 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008823/0.6566, allocations: 3.694 MB / 0.6254 GB, free: 7.043 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001608/0.6568, allocations: 99.66 kB / 0.6255 GB, free: 6.945 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001473/0.657, allocations: 81.58 kB / 0.6256 GB, free: 6.859 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004023/0.661, allocations: 1.481 MB / 0.627 GB, free: 5.375 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.566e-06/0.661, allocations: 0 / 0.627 GB, free: 5.375 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.006e-06/0.661, allocations: 0 / 0.627 GB, free: 5.375 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.906e-06/0.6611, allocations: 0 / 0.627 GB, free: 5.375 MB / 462.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.003314/0.6644, allocations: 0.9943 MB / 0.628 GB, free: 4.332 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.659e-05/0.6645, allocations: 8.031 kB / 0.628 GB, free: 4.324 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002122/0.6647, allocations: 39.66 kB / 0.628 GB, free: 4.285 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004669/0.6652, allocations: 258.6 kB / 0.6283 GB, free: 3.992 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001747/0.6653, allocations: 127.5 kB / 0.6284 GB, free: 3.844 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.915e-05/0.6654, allocations: 28 kB / 0.6284 GB, free: 3.816 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009135/0.6663, allocations: 0.5603 MB / 0.629 GB, free: 3.227 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.6664, allocations: 4 kB / 0.629 GB, free: 3.223 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.654e-05/0.6664, allocations: 15.98 kB / 0.629 GB, free: 3.207 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.084e-05/0.6665, allocations: 36.44 kB / 0.629 GB, free: 3.172 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001496/0.668, allocations: 1.243 MB / 0.6302 GB, free: 1.926 MB / 462.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.002552/0.6706, allocations: 1.992 MB / 0.6322 GB, free: 15.79 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006544/0.6712, allocations: 248.8 kB / 0.6324 GB, free: 15.54 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001902/0.6714, allocations: 118 kB / 0.6325 GB, free: 15.42 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003701/0.6751, allocations: 3.099 MB / 0.6355 GB, free: 11.79 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.012e-05/0.6752, allocations: 38.56 kB / 0.6356 GB, free: 11.74 MB / 478.1 MB Notification: Performance of pre-optimization done (n=42): time 1.744e-06/0.6752, allocations: 0 / 0.6356 GB, free: 11.74 MB / 478.1 MB Notification: Performance of matching and sorting (n=44): time 0.001789/0.677, allocations: 0.7106 MB / 0.6363 GB, free: 11.01 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.634e-05/0.677, allocations: 55.41 kB / 0.6363 GB, free: 10.94 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000197/0.6772, allocations: 213.8 kB / 0.6365 GB, free: 10.72 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.405e-05/0.6773, allocations: 29.7 kB / 0.6366 GB, free: 10.69 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001301/0.6774, allocations: 199.8 kB / 0.6368 GB, free: 10.48 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001209/0.6775, allocations: 145.8 kB / 0.6369 GB, free: 10.34 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.941e-05/0.6776, allocations: 15.98 kB / 0.6369 GB, free: 10.32 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.6777, allocations: 338.8 kB / 0.6372 GB, free: 9.984 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001717/0.6779, allocations: 101.2 kB / 0.6373 GB, free: 9.887 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004231/0.6783, allocations: 409.6 kB / 0.6377 GB, free: 9.336 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003464/0.6787, allocations: 180.2 kB / 0.6379 GB, free: 9.16 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.287e-06/0.6787, allocations: 4 kB / 0.6379 GB, free: 9.156 MB / 478.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008669/0.6796, allocations: 0.535 MB / 0.6384 GB, free: 8.617 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.924e-05/0.6796, allocations: 19.98 kB / 0.6384 GB, free: 8.598 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.407e-05/0.6797, allocations: 8 kB / 0.6384 GB, free: 8.59 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.875e-05/0.6797, allocations: 16 kB / 0.6385 GB, free: 8.574 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006527/0.6803, allocations: 195.7 kB / 0.6386 GB, free: 8.383 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009221/0.6813, allocations: 1.192 MB / 0.6398 GB, free: 7.145 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003059/0.6816, allocations: 39.88 kB / 0.6398 GB, free: 7.105 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.613e-05/0.6817, allocations: 51.98 kB / 0.6399 GB, free: 7.055 MB / 478.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 (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.0002186/0.6819, allocations: 169.6 kB / 0.6401 GB, free: 6.879 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.764e-05/0.682, allocations: 27.72 kB / 0.6401 GB, free: 6.852 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00124/0.6833, allocations: 0.6494 MB / 0.6407 GB, free: 6.168 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.214e-05/0.6833, allocations: 4 kB / 0.6407 GB, free: 6.164 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.6833, allocations: 0 / 0.6407 GB, free: 6.164 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.6833, allocations: 3.984 kB / 0.6407 GB, free: 6.16 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001087/0.6844, allocations: 0.8171 MB / 0.6415 GB, free: 5.242 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/0.6844, allocations: 3.938 kB / 0.6415 GB, free: 5.242 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004184/0.6848, allocations: 103.8 kB / 0.6416 GB, free: 5.141 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.6848, allocations: 0 / 0.6416 GB, free: 5.141 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.284e-05/0.6849, allocations: 12 kB / 0.6416 GB, free: 5.129 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006362/0.6855, allocations: 1.172 MB / 0.6428 GB, free: 3.91 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.562e-06/0.6855, allocations: 0 / 0.6428 GB, free: 3.91 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004748/0.686, allocations: 359.4 kB / 0.6431 GB, free: 3.535 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001461/0.6862, allocations: 136.7 kB / 0.6433 GB, free: 3.383 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.342e-05/0.6862, allocations: 8 kB / 0.6433 GB, free: 3.375 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002413/0.6865, allocations: 11.98 kB / 0.6433 GB, free: 3.363 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.063e-05/0.6865, allocations: 23.97 kB / 0.6433 GB, free: 3.34 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.017e-05/0.6866, allocations: 19.92 kB / 0.6433 GB, free: 3.32 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.000164/0.6868, allocations: 172.4 kB / 0.6435 GB, free: 3.152 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6868, allocations: 0 / 0.6435 GB, free: 3.152 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001743/0.6885, allocations: 0.4918 MB / 0.644 GB, free: 2.66 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (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.001689/0.6902, allocations: 0.7097 MB / 0.6447 GB, free: 1.949 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00082/0.691, allocations: 365 kB / 0.645 GB, free: 1.598 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.6911, allocations: 0 / 0.645 GB, free: 1.598 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003542/0.6914, allocations: 152.6 kB / 0.6451 GB, free: 1.449 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000626/0.6921, allocations: 102 kB / 0.6452 GB, free: 1.352 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00979/0.7019, allocations: 6.031 MB / 0.6511 GB, free: 11.28 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004581/0.7024, allocations: 0.7775 MB / 0.6519 GB, free: 10.47 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0008889/0.7033, allocations: 206.9 kB / 0.6521 GB, free: 10.27 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002357/0.7035, allocations: 67.41 kB / 0.6522 GB, free: 10.2 MB / 494.1 MB Notification: Performance of SimCode: time 6.72e-07/0.7035, allocations: 0 / 0.6522 GB, free: 10.2 MB / 494.1 MB Notification: Performance of Templates: time 0.0249/0.7284, allocations: 14.13 MB / 0.666 GB, free: 12.13 MB / 0.4981 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/MoistAir/MoistAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches