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.001175/0.001175, allocations: 98.84 kB / 16.99 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.00149/0.00149, allocations: 198.7 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.455/1.455, allocations: 227.2 MB / 245.9 MB, free: 12.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2232/0.2232, allocations: 45.91 MB / 344 MB, free: 12.36 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002725/0.0002729, allocations: 4 kB / 417.9 MB, free: 20.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1432/0.1435, allocations: 63.46 MB / 481.4 MB, free: 5.449 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.MoistAir): time 0.4547/0.5982, allocations: 127.9 MB / 0.595 GB, free: 5.453 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01187/0.6102, allocations: 8.798 MB / 0.6036 GB, free: 12.64 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002765/0.6105, allocations: 0 / 0.6036 GB, free: 12.64 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003876/0.6109, allocations: 55.7 kB / 0.6037 GB, free: 12.59 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006738/0.6177, allocations: 2.146 MB / 0.6058 GB, free: 10.44 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003672/0.618, allocations: 143.3 kB / 0.6059 GB, free: 10.3 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005525/0.6186, allocations: 336.8 kB / 0.6062 GB, free: 9.973 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.663e-05/0.6187, allocations: 20.41 kB / 0.6062 GB, free: 9.953 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004093/0.6191, allocations: 227.2 kB / 0.6065 GB, free: 9.73 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006365/0.6197, allocations: 331.3 kB / 0.6068 GB, free: 9.406 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.207e-05/0.6198, allocations: 12 kB / 0.6068 GB, free: 9.395 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007605/0.6274, allocations: 3.917 MB / 0.6106 GB, free: 5.473 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001385/0.6276, allocations: 87.77 kB / 0.6107 GB, free: 5.387 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001135/0.6277, allocations: 77.58 kB / 0.6108 GB, free: 5.305 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003482/0.6312, allocations: 1.456 MB / 0.6122 GB, free: 3.855 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.6312, allocations: 3.938 kB / 0.6122 GB, free: 3.852 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.6312, allocations: 0 / 0.6122 GB, free: 3.852 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.783e-06/0.6312, allocations: 0 / 0.6122 GB, free: 3.852 MB / 446.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.002687/0.6339, allocations: 0.9988 MB / 0.6132 GB, free: 2.805 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.634, allocations: 8.031 kB / 0.6132 GB, free: 2.797 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001816/0.6342, allocations: 31.72 kB / 0.6132 GB, free: 2.766 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003658/0.6345, allocations: 254.7 kB / 0.6135 GB, free: 2.477 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001724/0.6347, allocations: 127.5 kB / 0.6136 GB, free: 2.328 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.645e-05/0.6348, allocations: 31.94 kB / 0.6136 GB, free: 2.297 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008307/0.6356, allocations: 0.5526 MB / 0.6141 GB, free: 1.715 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.6e-05/0.6357, allocations: 3.938 kB / 0.6142 GB, free: 1.711 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.745e-05/0.6357, allocations: 15.95 kB / 0.6142 GB, free: 1.695 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-05/0.6358, allocations: 32.48 kB / 0.6142 GB, free: 1.664 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001453/0.6372, allocations: 1.255 MB / 0.6154 GB, free: 416 kB / 446.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.00276/0.64, allocations: 2.035 MB / 0.6174 GB, free: 14.22 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006744/0.6407, allocations: 263.2 kB / 0.6177 GB, free: 13.96 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003518/0.6442, allocations: 3.169 MB / 0.6208 GB, free: 10.26 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.048e-05/0.6443, allocations: 42.52 kB / 0.6208 GB, free: 10.21 MB / 462.1 MB Notification: Performance of pre-optimization done (n=42): time 2.284e-06/0.6443, allocations: 3.938 kB / 0.6208 GB, free: 10.21 MB / 462.1 MB Notification: Performance of matching and sorting (n=44): time 0.001919/0.6462, allocations: 0.7849 MB / 0.6216 GB, free: 9.379 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.191e-05/0.6463, allocations: 59.41 kB / 0.6216 GB, free: 9.309 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002038/0.6465, allocations: 198.1 kB / 0.6218 GB, free: 9.105 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.086e-05/0.6465, allocations: 37.7 kB / 0.6218 GB, free: 9.062 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001433/0.6467, allocations: 191.8 kB / 0.622 GB, free: 8.867 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001507/0.6468, allocations: 153.8 kB / 0.6222 GB, free: 8.715 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.76e-05/0.6469, allocations: 8 kB / 0.6222 GB, free: 8.707 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.647, allocations: 342.8 kB / 0.6225 GB, free: 8.363 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000168/0.6472, allocations: 97.23 kB / 0.6226 GB, free: 8.27 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004188/0.6477, allocations: 417.6 kB / 0.623 GB, free: 7.711 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002939/0.648, allocations: 176.1 kB / 0.6232 GB, free: 7.539 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.648, allocations: 0 / 0.6232 GB, free: 7.539 MB / 462.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009213/0.6489, allocations: 0.5359 MB / 0.6237 GB, free: 6.996 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.911e-05/0.6489, allocations: 15.95 kB / 0.6237 GB, free: 6.98 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.643e-05/0.649, allocations: 8 kB / 0.6237 GB, free: 6.973 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.631e-05/0.649, allocations: 16.81 kB / 0.6237 GB, free: 6.957 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007014/0.6497, allocations: 204.5 kB / 0.6239 GB, free: 6.758 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007607/0.6505, allocations: 1.188 MB / 0.6251 GB, free: 5.523 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003626/0.6509, allocations: 28.19 kB / 0.6251 GB, free: 5.496 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.211e-05/0.6509, allocations: 63.91 kB / 0.6252 GB, free: 5.434 MB / 462.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.0002215/0.6512, allocations: 169.6 kB / 0.6253 GB, free: 5.258 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.776e-05/0.6512, allocations: 27.72 kB / 0.6254 GB, free: 5.23 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001279/0.6525, allocations: 0.6438 MB / 0.626 GB, free: 4.555 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.515e-05/0.6526, allocations: 4 kB / 0.626 GB, free: 4.551 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.6526, allocations: 0 / 0.626 GB, free: 4.551 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.017e-06/0.6526, allocations: 7.938 kB / 0.626 GB, free: 4.543 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001122/0.6537, allocations: 0.8328 MB / 0.6268 GB, free: 3.609 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.6537, allocations: 0 / 0.6268 GB, free: 3.609 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004419/0.6542, allocations: 95.88 kB / 0.6269 GB, free: 3.516 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.597e-06/0.6542, allocations: 4 kB / 0.6269 GB, free: 3.512 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.879e-05/0.6542, allocations: 11.95 kB / 0.6269 GB, free: 3.5 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007541/0.655, allocations: 1.176 MB / 0.6281 GB, free: 2.277 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.089e-06/0.655, allocations: 4.031 kB / 0.6281 GB, free: 2.273 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004805/0.6555, allocations: 388.5 kB / 0.6284 GB, free: 1.852 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001736/0.6557, allocations: 152.6 kB / 0.6286 GB, free: 1.684 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.435e-05/0.6557, allocations: 11.94 kB / 0.6286 GB, free: 1.672 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000255/0.656, allocations: 15.73 kB / 0.6286 GB, free: 1.66 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.535e-05/0.6561, allocations: 23.97 kB / 0.6286 GB, free: 1.637 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.037e-05/0.6561, allocations: 19.98 kB / 0.6287 GB, free: 1.617 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001743/0.6563, allocations: 172.5 kB / 0.6288 GB, free: 1.445 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.6563, allocations: 0 / 0.6288 GB, free: 1.445 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001805/0.6581, allocations: 495.5 kB / 0.6293 GB, free: 0.9609 MB / 462.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.001766/0.6599, allocations: 0.7156 MB / 0.63 GB, free: 248 kB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0009666/0.6609, allocations: 368.8 kB / 0.6303 GB, free: 15.88 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.6609, allocations: 1.75 kB / 0.6304 GB, free: 15.88 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00036/0.6612, allocations: 147.8 kB / 0.6305 GB, free: 15.74 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005657/0.6618, allocations: 96.97 kB / 0.6306 GB, free: 15.64 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001291/0.6631, allocations: 0.7522 MB / 0.6313 GB, free: 14.86 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003621/0.6635, allocations: 0.7737 MB / 0.6321 GB, free: 14.05 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0006941/0.6642, allocations: 186.8 kB / 0.6323 GB, free: 13.87 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001784/0.6644, allocations: 67.39 kB / 0.6323 GB, free: 13.8 MB / 478.1 MB Notification: Performance of SimCode: time 4.11e-07/0.6644, allocations: 0 / 0.6323 GB, free: 13.8 MB / 478.1 MB Notification: Performance of Templates: time 0.02515/0.6895, allocations: 14.03 MB / 0.646 GB, free: 15.83 MB / 494.1 MB 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","../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches