Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.PsychrometricData.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) 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(Modelica.Media.Examples.PsychrometricData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|hx_h.1.|hx_h.2.|hx_h.3.|hx_h.4.|hx_h.5.|hx_h.6.|hx_h.7.|hx_h.8.|hx_h.9.|hx_h.10.|hx_h.11.|hx_h.12.|hx_h.13.|hx_h.14.|hx_h.15.|hx_h.16.|x",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.PsychrometricData") translateModel(Modelica.Media.Examples.PsychrometricData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|hx_h.1.|hx_h.2.|hx_h.3.|hx_h.4.|hx_h.5.|hx_h.6.|hx_h.7.|hx_h.8.|hx_h.9.|hx_h.10.|hx_h.11.|hx_h.12.|hx_h.13.|hx_h.14.|hx_h.15.|hx_h.16.|x",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.PsychrometricData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001115/0.001115, allocations: 117.6 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001093/0.001093, allocations: 204.7 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.4/1.4, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001141/0.001141, allocations: 59.91 kB / 358.7 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2371/0.2382, allocations: 50.54 MB / 409.2 MB, free: 1.539 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.3924/0.6307, allocations: 154.7 MB / 0.5508 GB, free: 0.6758 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001009/0.6317, allocations: 0.6937 MB / 0.5514 GB, free: 0.668 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.535e-05/0.6318, allocations: 4.875 kB / 0.5514 GB, free: 0.6641 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003309/0.6321, allocations: 86.5 kB / 0.5515 GB, free: 0.6641 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004907/0.6327, allocations: 289.3 kB / 0.5518 GB, free: 0.6523 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002261/0.6349, allocations: 1.115 MB / 0.5529 GB, free: 0.6172 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003469/0.6384, allocations: 5.599 MB / 0.5584 GB, free: 0.5938 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002737/0.6387, allocations: 260.4 kB / 0.5586 GB, free: 492 kB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002535/0.6412, allocations: 2.239 MB / 0.5608 GB, free: 492 kB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002372/0.6436, allocations: 1.965 MB / 0.5627 GB, free: 484 kB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005842/0.6442, allocations: 240 kB / 0.5629 GB, free: 484 kB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003086/0.6473, allocations: 1.774 MB / 0.5647 GB, free: 464 kB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009672/0.6483, allocations: 1.222 MB / 0.5659 GB, free: 456 kB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001877/0.6502, allocations: 1.562 MB / 0.5674 GB, free: 420 kB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003899/0.6541, allocations: 4.559 MB / 0.5718 GB, free: 15.94 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.6541, allocations: 0 / 0.5718 GB, free: 15.94 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.6541, allocations: 0 / 0.5718 GB, free: 15.94 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.029e-05/0.6542, allocations: 0 / 0.5718 GB, free: 15.94 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 621 * Number of variables: 621 Notification: Performance of Generate backend data structure: time 0.008372/0.6626, allocations: 3.497 MB / 0.5753 GB, free: 14.84 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.314e-05/0.6626, allocations: 10.09 kB / 0.5753 GB, free: 14.84 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001813/0.6644, allocations: 324.9 kB / 0.5756 GB, free: 14.72 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002078/0.6665, allocations: 1.345 MB / 0.5769 GB, free: 14.38 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.859e-05/0.6666, allocations: 180.2 kB / 0.5771 GB, free: 14.37 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000354/0.667, allocations: 239.1 kB / 0.5773 GB, free: 14.37 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005576/0.6726, allocations: 3.829 MB / 0.581 GB, free: 13.95 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.097e-05/0.6726, allocations: 0 / 0.581 GB, free: 13.95 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003435/0.673, allocations: 116.4 kB / 0.5811 GB, free: 13.95 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.318e-05/0.673, allocations: 57.91 kB / 0.5812 GB, free: 13.95 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007511/0.6805, allocations: 5.987 MB / 0.587 GB, free: 12.51 MB / 478.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.01742/0.698, allocations: 11.21 MB / 0.598 GB, free: 2.625 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006482/0.7045, allocations: 5.041 MB / 0.6029 GB, free: 15.22 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003416/0.7079, allocations: 2.411 MB / 0.6053 GB, free: 12.84 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005187/0.7084, allocations: 436.2 kB / 0.6057 GB, free: 12.36 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.117e-05/0.7085, allocations: 101.8 kB / 0.6058 GB, free: 12.25 MB / 494.1 MB Notification: Performance of pre-optimization done (n=390): time 5.169e-06/0.7085, allocations: 4 kB / 0.6058 GB, free: 12.25 MB / 494.1 MB Notification: Performance of matching and sorting (n=390): time 0.009687/0.7182, allocations: 5.804 MB / 0.6115 GB, free: 6.418 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.424e-05/0.7183, allocations: 98.41 kB / 0.6115 GB, free: 6.309 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001022/0.7193, allocations: 0.8674 MB / 0.6124 GB, free: 5.43 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003287/0.7197, allocations: 101.7 kB / 0.6125 GB, free: 5.324 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003209/0.72, allocations: 0.522 MB / 0.613 GB, free: 4.797 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009549/0.7209, allocations: 1.301 MB / 0.6143 GB, free: 3.508 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008883/0.7218, allocations: 0.6293 MB / 0.6149 GB, free: 2.871 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.722, allocations: 357.9 kB / 0.6152 GB, free: 2.516 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002636/0.7246, allocations: 1.739 MB / 0.6169 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002996/0.7276, allocations: 2.263 MB / 0.6191 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005998/0.7336, allocations: 4.331 MB / 0.6234 GB, free: 9.906 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.979e-06/0.7337, allocations: 8 kB / 0.6234 GB, free: 9.898 MB / 0.4981 GB Notification: Performance of matching and sorting (n=450) (initialization): time 0.007167/0.7408, allocations: 4.585 MB / 0.6278 GB, free: 5.352 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/0.7409, allocations: 8 kB / 0.6279 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.79e-05/0.7409, allocations: 12 kB / 0.6279 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.477e-05/0.7409, allocations: 28 kB / 0.6279 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003481/0.7444, allocations: 0.7908 MB / 0.6287 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.82e-05/0.7445, allocations: 32.31 kB / 0.6287 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002214/0.7467, allocations: 364.5 kB / 0.629 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002694/0.747, allocations: 147.9 kB / 0.6292 GB, free: 4.027 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 11 (fog[11],fog[10],fog[9],fog[8],fog[7],fog[6],fog[5],fog[4],fog[3],fog[2],fog[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (450): * Single equations (assignments): 450 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001377/0.7484, allocations: 0.763 MB / 0.6299 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00057/0.7489, allocations: 209.8 kB / 0.6301 GB, free: 3.094 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008548/0.7575, allocations: 5.17 MB / 0.6352 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.4e-05/0.7576, allocations: 43.94 kB / 0.6352 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.1e-05/0.7576, allocations: 0 / 0.6352 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.714e-05/0.7576, allocations: 19.92 kB / 0.6352 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004231/0.7618, allocations: 2.819 MB / 0.638 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.468e-06/0.7619, allocations: 4 kB / 0.638 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003438/0.7653, allocations: 0.7243 MB / 0.6387 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.653e-05/0.7654, allocations: 16 kB / 0.6387 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002309/0.7656, allocations: 91.95 kB / 0.6388 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.25e-05/0.7656, allocations: 22.28 kB / 0.6388 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.7656, allocations: 0 / 0.6388 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01028/0.7759, allocations: 7.21 MB / 0.6459 GB, free: 2.988 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005218/0.7765, allocations: 321.9 kB / 0.6462 GB, free: 2.652 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000387/0.7769, allocations: 87.78 kB / 0.6463 GB, free: 2.566 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003106/0.78, allocations: 233.8 kB / 0.6465 GB, free: 2.34 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006483/0.7806, allocations: 310.9 kB / 0.6468 GB, free: 2.035 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004023/0.781, allocations: 179.9 kB / 0.647 GB, free: 1.859 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0009382/0.782, allocations: 0.6863 MB / 0.6476 GB, free: 1.176 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.5e-07/0.782, allocations: 0 / 0.6476 GB, free: 1.176 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002359/0.7844, allocations: 1.089 MB / 0.6487 GB, free: 88 kB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 17 (x,hx_h[1],hx_h[2],hx_h[3],hx_h[4],hx_h[5],hx_h[6],hx_h[7],hx_h[8],hx_h[9],hx_h[10],hx_h[11],hx_h[12],hx_h[13],hx_h[14],hx_h[15],hx_h[16]) * Number of discrete variables: 11 (fog[1],fog[2],fog[3],fog[4],fog[5],fog[6],fog[7],fog[8],fog[9],fog[10],fog[11]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (431): * Single equations (assignments): 431 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001153/0.7855, allocations: 451.2 kB / 0.6491 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006612/0.7922, allocations: 4.295 MB / 0.6533 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.068e-05/0.7922, allocations: 9 kB / 0.6533 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003197/0.7954, allocations: 2.269 MB / 0.6555 GB, free: 9.273 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005842/0.8012, allocations: 1.25 MB / 0.6568 GB, free: 8.027 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01173/0.813, allocations: 6.646 MB / 0.6632 GB, free: 1.359 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001343/0.8144, allocations: 1.848 MB / 0.665 GB, free: 15.48 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.00491/0.8193, allocations: 1.768 MB / 0.6668 GB, free: 13.7 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001061/0.8204, allocations: 291.3 kB / 0.6671 GB, free: 13.42 MB / 0.545 GB Notification: Performance of SimCode: time 6.72e-07/0.8204, allocations: 0 / 0.6671 GB, free: 13.42 MB / 0.545 GB Notification: Performance of Templates: time 0.0904/0.9108, allocations: 64.4 MB / 0.7299 GB, free: 13.42 MB / 0.6075 GB make -j1 -f Modelica_trunk_Modelica.Media.Examples.PsychrometricData.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.PsychrometricData.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.PsychrometricData.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.PsychrometricData.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.PsychrometricData.sim & ./Modelica_trunk_Modelica.Media.Examples.PsychrometricData -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.PsychrometricData.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.PsychrometricData_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/PsychrometricData/PsychrometricData.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.PsychrometricData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches