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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001358/0.001358, allocations: 83.05 kB / 20.49 MB, free: 1.387 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001595/0.001595, allocations: 160.2 kB / 23.74 MB, free: 4.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.44/1.44, allocations: 177.1 MB / 204 MB, free: 9.25 MB / 190.1 MB " [Timeout remaining time 178] 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=1000,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=1000,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00202/0.00202, allocations: 64.92 kB / 324.8 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1032, allocations: 53.38 MB / 378.1 MB, free: 15.76 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.3723/0.4755, allocations: 133.5 MB / 0.4997 GB, free: 15.2 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001074/0.4765, allocations: 0.6534 MB / 0.5003 GB, free: 15.14 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.919e-05/0.4766, allocations: 8.094 kB / 0.5003 GB, free: 15.14 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004096/0.477, allocations: 71.55 kB / 0.5004 GB, free: 15.12 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005946/0.4776, allocations: 296.6 kB / 0.5007 GB, free: 15.05 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00274/0.4804, allocations: 1.141 MB / 0.5018 GB, free: 14.84 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004295/0.4847, allocations: 5.649 MB / 0.5073 GB, free: 14.11 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002693/0.4849, allocations: 101.7 kB / 0.5074 GB, free: 14.04 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005156/0.4901, allocations: 3.019 MB / 0.5103 GB, free: 13.45 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004082/0.4942, allocations: 2.217 MB / 0.5125 GB, free: 12.38 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001049/0.4952, allocations: 237.5 kB / 0.5127 GB, free: 12.38 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00458/0.4998, allocations: 1.523 MB / 0.5142 GB, free: 11.79 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001924/0.5017, allocations: 1.238 MB / 0.5154 GB, free: 10.99 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003077/0.5048, allocations: 1.405 MB / 0.5168 GB, free: 10.28 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005716/0.5105, allocations: 4.544 MB / 0.5212 GB, free: 7.777 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.5105, allocations: 0 / 0.5212 GB, free: 7.777 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.5105, allocations: 0 / 0.5212 GB, free: 7.777 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.825e-05/0.5106, allocations: 0 / 0.5212 GB, free: 7.777 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: 621 * Number of variables: 621 Notification: Performance of Generate backend data structure: time 0.00979/0.5204, allocations: 3.488 MB / 0.5246 GB, free: 5.699 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.5205, allocations: 10.5 kB / 0.5246 GB, free: 5.699 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001934/0.5224, allocations: 341.4 kB / 0.525 GB, free: 5.547 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003216/0.5256, allocations: 1.322 MB / 0.5263 GB, free: 4.871 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001423/0.5257, allocations: 187.8 kB / 0.5264 GB, free: 4.781 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004374/0.5262, allocations: 243.9 kB / 0.5267 GB, free: 4.699 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00791/0.5341, allocations: 5.945 MB / 0.5325 GB, free: 15.98 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.594e-05/0.5341, allocations: 0 / 0.5325 GB, free: 15.98 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003883/0.5345, allocations: 113 kB / 0.5326 GB, free: 15.89 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.541e-05/0.5346, allocations: 58.91 kB / 0.5326 GB, free: 15.89 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01046/0.545, allocations: 5.872 MB / 0.5384 GB, free: 10.68 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.02229/0.5673, allocations: 7.309 MB / 0.5455 GB, free: 3.434 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00782/0.5751, allocations: 4.777 MB / 0.5502 GB, free: 14.63 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003722/0.5788, allocations: 2.236 MB / 0.5524 GB, free: 12.39 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004877/0.5793, allocations: 114.9 kB / 0.5525 GB, free: 12.27 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001039/0.5794, allocations: 94.62 kB / 0.5526 GB, free: 12.17 MB / 478.1 MB Notification: Performance of pre-optimization done (n=390): time 6.522e-06/0.5794, allocations: 8 kB / 0.5526 GB, free: 12.16 MB / 478.1 MB Notification: Performance of matching and sorting (n=390): time 0.0106/0.59, allocations: 5.794 MB / 0.5582 GB, free: 6.348 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.072e-05/0.5901, allocations: 94.47 kB / 0.5583 GB, free: 6.242 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008892/0.591, allocations: 0.6344 MB / 0.5589 GB, free: 5.594 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003908/0.5914, allocations: 105.7 kB / 0.559 GB, free: 5.484 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004107/0.5918, allocations: 0.5525 MB / 0.5596 GB, free: 4.93 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00126/0.5931, allocations: 1.374 MB / 0.5609 GB, free: 3.574 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001041/0.5941, allocations: 0.6255 MB / 0.5615 GB, free: 2.941 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001604/0.5943, allocations: 338 kB / 0.5619 GB, free: 2.605 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00305/0.5973, allocations: 1.74 MB / 0.5636 GB, free: 0.8633 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00362/0.6009, allocations: 2.262 MB / 0.5658 GB, free: 14.45 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007516/0.6085, allocations: 4.329 MB / 0.57 GB, free: 9.945 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-05/0.6085, allocations: 7.938 kB / 0.57 GB, free: 9.938 MB / 494.1 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.009229/0.6177, allocations: 4.575 MB / 0.5745 GB, free: 5.336 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.872e-05/0.6177, allocations: 8 kB / 0.5745 GB, free: 5.328 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.809e-05/0.6178, allocations: 13.12 kB / 0.5745 GB, free: 5.316 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.524e-05/0.6178, allocations: 31.28 kB / 0.5745 GB, free: 5.289 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004142/0.622, allocations: 0.7884 MB / 0.5753 GB, free: 4.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.077e-05/0.622, allocations: 43.81 kB / 0.5753 GB, free: 4.457 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002684/0.6247, allocations: 341.8 kB / 0.5757 GB, free: 4.121 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005021/0.6252, allocations: 143.9 kB / 0.5758 GB, free: 3.98 MB / 494.1 MB 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.002225/0.6275, allocations: 0.7626 MB / 0.5765 GB, free: 3.207 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001129/0.6286, allocations: 198.9 kB / 0.5767 GB, free: 3.012 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01174/0.6403, allocations: 5.153 MB / 0.5818 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-05/0.6404, allocations: 44 kB / 0.5818 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-05/0.6404, allocations: 3.938 kB / 0.5818 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-05/0.6404, allocations: 19.92 kB / 0.5818 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004837/0.6453, allocations: 2.211 MB / 0.584 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-05/0.6453, allocations: 0 / 0.584 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00391/0.6492, allocations: 0.7294 MB / 0.5847 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-05/0.6492, allocations: 16 kB / 0.5847 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004096/0.6496, allocations: 95.95 kB / 0.5848 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.528e-05/0.6497, allocations: 12 kB / 0.5848 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.6497, allocations: 0 / 0.5848 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01291/0.6626, allocations: 7.207 MB / 0.5918 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005316/0.6631, allocations: 233.9 kB / 0.5921 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004616/0.6636, allocations: 79.89 kB / 0.5921 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003042/0.6666, allocations: 223.8 kB / 0.5924 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007515/0.6674, allocations: 326.8 kB / 0.5927 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005101/0.6679, allocations: 179.8 kB / 0.5928 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007412/0.6686, allocations: 0.5026 MB / 0.5933 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.6686, allocations: 0 / 0.5933 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00284/0.6715, allocations: 1.112 MB / 0.5944 GB, free: 0.8828 MB / 0.4981 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.001213/0.6727, allocations: 443.5 kB / 0.5948 GB, free: 468 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007606/0.6803, allocations: 4.122 MB / 0.5989 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.283e-05/0.6803, allocations: 5 kB / 0.5989 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003733/0.684, allocations: 2.115 MB / 0.6009 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004999/0.689, allocations: 1.029 MB / 0.6019 GB, free: 9.191 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01474/0.7038, allocations: 6.65 MB / 0.6084 GB, free: 2.508 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002176/0.7059, allocations: 1.267 MB / 0.6097 GB, free: 1.195 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.006965/0.7129, allocations: 1.746 MB / 0.6114 GB, free: 15.44 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001984/0.7149, allocations: 288.3 kB / 0.6117 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of SimCode: time 1.924e-06/0.7149, allocations: 4 kB / 0.6117 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of Templates: time 0.09635/0.8112, allocations: 59.09 MB / 0.6694 GB, free: 4.695 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Media.Examples.PsychrometricData.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.PsychrometricData_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.865621158853173]