Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001346/0.001346, allocations: 109.5 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001483/0.001483, allocations: 181.5 kB / 23.71 MB, free: 4.695 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 225.6 MB / 252.5 MB, free: 12.99 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(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_4.0.0_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_4.0.0_Modelica.Media.Examples.PsychrometricData") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001601/0.001601, allocations: 47.92 kB / 370.9 MB, free: 9.336 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2188/0.2204, allocations: 52.19 MB / 423.1 MB, free: 14.64 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.3766/0.597, allocations: 152.4 MB / 0.562 GB, free: 13.69 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001044/0.598, allocations: 0.7029 MB / 0.5627 GB, free: 13.63 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.114e-05/0.5981, allocations: 7.062 kB / 0.5627 GB, free: 13.63 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003599/0.5985, allocations: 81.77 kB / 0.5628 GB, free: 13.61 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005258/0.599, allocations: 297.4 kB / 0.563 GB, free: 13.54 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002683/0.6017, allocations: 1.144 MB / 0.5642 GB, free: 13.33 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003883/0.6056, allocations: 5.662 MB / 0.5697 GB, free: 12.6 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002044/0.6058, allocations: 100.5 kB / 0.5698 GB, free: 12.53 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002771/0.6086, allocations: 2.266 MB / 0.572 GB, free: 12.47 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002683/0.6112, allocations: 2.052 MB / 0.574 GB, free: 12.42 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006162/0.6118, allocations: 238.4 kB / 0.5742 GB, free: 12.42 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003269/0.6151, allocations: 1.793 MB / 0.576 GB, free: 12.29 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001298/0.6164, allocations: 1.24 MB / 0.5772 GB, free: 11.9 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002067/0.6185, allocations: 1.566 MB / 0.5787 GB, free: 11.52 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004919/0.6234, allocations: 4.556 MB / 0.5832 GB, free: 9.613 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.6234, allocations: 0 / 0.5832 GB, free: 9.613 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.6234, allocations: 0 / 0.5832 GB, free: 9.613 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.814e-05/0.6235, allocations: 0 / 0.5832 GB, free: 9.613 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: 621 * Number of variables: 621 Notification: Performance of Generate backend data structure: time 0.009562/0.6331, allocations: 3.474 MB / 0.5866 GB, free: 7.902 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.6331, allocations: 10.28 kB / 0.5866 GB, free: 7.902 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001962/0.6351, allocations: 335.6 kB / 0.5869 GB, free: 7.758 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003128/0.6382, allocations: 1.332 MB / 0.5882 GB, free: 7.227 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001067/0.6383, allocations: 177 kB / 0.5884 GB, free: 7.219 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004084/0.6387, allocations: 247.8 kB / 0.5886 GB, free: 7.211 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006606/0.6453, allocations: 3.828 MB / 0.5923 GB, free: 5.809 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.443e-05/0.6454, allocations: 3.938 kB / 0.5923 GB, free: 5.805 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004012/0.6458, allocations: 110.1 kB / 0.5924 GB, free: 5.777 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-05/0.6458, allocations: 60 kB / 0.5925 GB, free: 5.719 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009702/0.6555, allocations: 5.983 MB / 0.5983 GB, free: 0.8945 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.02374/0.6793, allocations: 11.25 MB / 0.6093 GB, free: 5.113 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007985/0.6872, allocations: 4.777 MB / 0.614 GB, free: 316 kB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003803/0.691, allocations: 2.244 MB / 0.6162 GB, free: 14.06 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004691/0.6915, allocations: 139.5 kB / 0.6163 GB, free: 13.95 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001028/0.6916, allocations: 98.61 kB / 0.6164 GB, free: 13.84 MB / 494.1 MB Notification: Performance of pre-optimization done (n=390): time 5.41e-06/0.6916, allocations: 0 / 0.6164 GB, free: 13.84 MB / 494.1 MB Notification: Performance of matching and sorting (n=390): time 0.01093/0.7026, allocations: 5.825 MB / 0.6221 GB, free: 7.996 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.32e-05/0.7026, allocations: 94.41 kB / 0.6222 GB, free: 7.891 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001228/0.7039, allocations: 0.8713 MB / 0.623 GB, free: 7.012 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005925/0.7045, allocations: 101.7 kB / 0.6231 GB, free: 6.906 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004272/0.7049, allocations: 0.5402 MB / 0.6237 GB, free: 6.363 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001503/0.7064, allocations: 1.367 MB / 0.625 GB, free: 5.016 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001073/0.7075, allocations: 0.6293 MB / 0.6256 GB, free: 4.379 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001865/0.7076, allocations: 361.9 kB / 0.626 GB, free: 4.02 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003084/0.7107, allocations: 1.744 MB / 0.6277 GB, free: 2.273 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003691/0.7144, allocations: 2.258 MB / 0.6299 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007431/0.7219, allocations: 4.325 MB / 0.6341 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.407e-05/0.7219, allocations: 8 kB / 0.6341 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of matching and sorting (n=450) (initialization): time 0.008412/0.7303, allocations: 4.591 MB / 0.6386 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.493e-05/0.7303, allocations: 15.98 kB / 0.6386 GB, free: 6.723 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.076e-05/0.7303, allocations: 8 kB / 0.6386 GB, free: 6.715 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.427e-05/0.7304, allocations: 28 kB / 0.6386 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004012/0.7344, allocations: 0.7922 MB / 0.6394 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.348e-05/0.7344, allocations: 31.92 kB / 0.6394 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002667/0.7371, allocations: 373.5 kB / 0.6398 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000487/0.7376, allocations: 143.9 kB / 0.6399 GB, free: 5.355 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.001808/0.7394, allocations: 0.7582 MB / 0.6407 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007391/0.7401, allocations: 218.8 kB / 0.6409 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01055/0.7507, allocations: 5.163 MB / 0.6459 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.77e-05/0.7507, allocations: 47.92 kB / 0.646 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.288e-05/0.7508, allocations: 0 / 0.646 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.944e-05/0.7508, allocations: 19.92 kB / 0.646 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005312/0.7561, allocations: 2.802 MB / 0.6487 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.638e-06/0.7561, allocations: 0 / 0.6487 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003752/0.7599, allocations: 0.7294 MB / 0.6494 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.261e-05/0.7599, allocations: 12 kB / 0.6494 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000294/0.7602, allocations: 99.95 kB / 0.6495 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.469e-05/0.7602, allocations: 20.94 kB / 0.6496 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.7602, allocations: 0 / 0.6496 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01233/0.7726, allocations: 7.227 MB / 0.6566 GB, free: 4.227 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006423/0.7732, allocations: 249.8 kB / 0.6569 GB, free: 3.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005058/0.7737, allocations: 83.88 kB / 0.6569 GB, free: 3.898 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003244/0.777, allocations: 227.7 kB / 0.6572 GB, free: 3.676 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006536/0.7776, allocations: 322.8 kB / 0.6575 GB, free: 3.359 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004483/0.7781, allocations: 179.9 kB / 0.6576 GB, free: 3.184 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0009799/0.779, allocations: 0.6863 MB / 0.6583 GB, free: 2.5 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.11e-07/0.779, allocations: 0 / 0.6583 GB, free: 2.5 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002636/0.7817, allocations: 1.085 MB / 0.6594 GB, free: 1.414 MB / 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.0012/0.7829, allocations: 445.3 kB / 0.6598 GB, free: 0.9883 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007448/0.7903, allocations: 4.125 MB / 0.6638 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.145e-05/0.7903, allocations: 9 kB / 0.6638 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003784/0.7941, allocations: 2.107 MB / 0.6659 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006455/0.8006, allocations: 1.252 MB / 0.6671 GB, free: 9.492 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01365/0.8142, allocations: 6.709 MB / 0.6737 GB, free: 2.746 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001581/0.8158, allocations: 1.841 MB / 0.6755 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.005285/0.8211, allocations: 1.775 MB / 0.6772 GB, free: 15.09 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001162/0.8222, allocations: 291.3 kB / 0.6775 GB, free: 14.8 MB / 0.545 GB Notification: Performance of SimCode: time 1.102e-06/0.8222, allocations: 0 / 0.6775 GB, free: 14.8 MB / 0.545 GB Notification: Performance of Templates: time 0.1083/0.9306, allocations: 67.16 MB / 0.7431 GB, free: 12.07 MB / 0.6075 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.sim & ./Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_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_4.0.0_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: 8.268200310878456]