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.001712/0.001712, allocations: 100 kB / 21.18 MB, free: 0.6484 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.002332/0.002332, allocations: 186.8 kB / 24.45 MB, free: 3.961 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.467/1.467, allocations: 225.7 MB / 253.3 MB, free: 12.81 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.001586/0.001586, allocations: 51.92 kB / 371.6 MB, free: 9.168 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2666/0.2682, allocations: 52.16 MB / 423.8 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.4486/0.7168, allocations: 130.6 MB / 0.5414 GB, free: 1.285 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001113/0.7179, allocations: 0.6559 MB / 0.5421 GB, free: 1.285 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.499e-05/0.718, allocations: 2.031 kB / 0.5421 GB, free: 1.285 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000357/0.7183, allocations: 76.11 kB / 0.5422 GB, free: 1.285 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005629/0.7189, allocations: 296.4 kB / 0.5424 GB, free: 1.277 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002539/0.7214, allocations: 1.133 MB / 0.5435 GB, free: 1.246 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003731/0.7252, allocations: 5.645 MB / 0.5491 GB, free: 1.227 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003038/0.7255, allocations: 95.27 kB / 0.5492 GB, free: 17.16 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003169/0.7286, allocations: 2.306 MB / 0.5514 GB, free: 17.16 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003651/0.7323, allocations: 2.206 MB / 0.5536 GB, free: 17.16 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000853/0.7331, allocations: 239 kB / 0.5538 GB, free: 17.16 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003653/0.7368, allocations: 1.486 MB / 0.5552 GB, free: 17.14 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001342/0.7381, allocations: 1.235 MB / 0.5564 GB, free: 17.13 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002787/0.7409, allocations: 1.411 MB / 0.5578 GB, free: 17.13 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004864/0.7458, allocations: 4.52 MB / 0.5622 GB, free: 16.69 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.7458, allocations: 2.906 kB / 0.5622 GB, free: 16.69 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.7458, allocations: 0 / 0.5622 GB, free: 16.69 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.778e-05/0.7459, allocations: 4 kB / 0.5622 GB, free: 16.69 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.008677/0.7546, allocations: 3.476 MB / 0.5656 GB, free: 15.62 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.7546, allocations: 10.88 kB / 0.5656 GB, free: 15.62 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001868/0.7565, allocations: 333.9 kB / 0.566 GB, free: 15.5 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003412/0.7599, allocations: 1.337 MB / 0.5673 GB, free: 15.21 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001159/0.76, allocations: 181.6 kB / 0.5674 GB, free: 15.2 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004271/0.7604, allocations: 245.6 kB / 0.5677 GB, free: 15.2 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007397/0.7678, allocations: 5.946 MB / 0.5735 GB, free: 12.44 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.961e-05/0.7679, allocations: 0 / 0.5735 GB, free: 12.44 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004551/0.7683, allocations: 112.9 kB / 0.5736 GB, free: 12.44 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.636e-05/0.7684, allocations: 56.41 kB / 0.5736 GB, free: 12.44 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008353/0.7767, allocations: 5.879 MB / 0.5794 GB, free: 12.03 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.01934/0.7961, allocations: 7.287 MB / 0.5865 GB, free: 9.852 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007609/0.8037, allocations: 4.773 MB / 0.5912 GB, free: 6.438 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003872/0.8075, allocations: 2.249 MB / 0.5934 GB, free: 4.184 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004615/0.808, allocations: 118.7 kB / 0.5935 GB, free: 4.07 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001323/0.8081, allocations: 98.61 kB / 0.5936 GB, free: 3.965 MB / 462.1 MB Notification: Performance of pre-optimization done (n=390): time 6.362e-06/0.8081, allocations: 0 / 0.5936 GB, free: 3.965 MB / 462.1 MB Notification: Performance of matching and sorting (n=390): time 0.01115/0.8193, allocations: 5.798 MB / 0.5992 GB, free: 14.14 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.536e-05/0.8194, allocations: 97.66 kB / 0.5993 GB, free: 14.04 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009408/0.8203, allocations: 0.642 MB / 0.5999 GB, free: 13.38 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004994/0.8208, allocations: 101.7 kB / 0.6 GB, free: 13.28 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004154/0.8212, allocations: 0.5499 MB / 0.6006 GB, free: 12.72 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001332/0.8226, allocations: 1.368 MB / 0.6019 GB, free: 11.38 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009733/0.8235, allocations: 0.63 MB / 0.6025 GB, free: 10.74 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.8237, allocations: 337.9 kB / 0.6029 GB, free: 10.4 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002958/0.8267, allocations: 1.74 MB / 0.6046 GB, free: 8.66 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003458/0.8301, allocations: 2.262 MB / 0.6068 GB, free: 6.25 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007167/0.8373, allocations: 4.328 MB / 0.611 GB, free: 1.793 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-05/0.8373, allocations: 4 kB / 0.611 GB, free: 1.789 MB / 478.1 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.008456/0.8458, allocations: 4.571 MB / 0.6155 GB, free: 13.26 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.438e-05/0.8458, allocations: 12 kB / 0.6155 GB, free: 13.25 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.349e-05/0.8458, allocations: 20.06 kB / 0.6155 GB, free: 13.23 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.277e-05/0.8459, allocations: 24 kB / 0.6155 GB, free: 13.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00374/0.8496, allocations: 0.7955 MB / 0.6163 GB, free: 12.45 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.115e-05/0.8497, allocations: 42.11 kB / 0.6163 GB, free: 12.42 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002478/0.8521, allocations: 341.8 kB / 0.6167 GB, free: 12.08 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003493/0.8525, allocations: 143.9 kB / 0.6168 GB, free: 11.94 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.001631/0.8541, allocations: 0.7619 MB / 0.6175 GB, free: 11.21 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000647/0.8548, allocations: 194.9 kB / 0.6177 GB, free: 11.02 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009521/0.8643, allocations: 5.146 MB / 0.6227 GB, free: 5.844 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.86e-05/0.8643, allocations: 43.98 kB / 0.6228 GB, free: 5.801 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-05/0.8643, allocations: 3.938 kB / 0.6228 GB, free: 5.797 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.292e-05/0.8644, allocations: 27.91 kB / 0.6228 GB, free: 5.77 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004434/0.8688, allocations: 2.203 MB / 0.625 GB, free: 3.637 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-05/0.8688, allocations: 4 kB / 0.625 GB, free: 3.633 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003656/0.8725, allocations: 0.7269 MB / 0.6257 GB, free: 2.945 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.546e-05/0.8725, allocations: 16 kB / 0.6257 GB, free: 2.93 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003966/0.8729, allocations: 83.97 kB / 0.6258 GB, free: 2.848 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.815e-05/0.8729, allocations: 16 kB / 0.6258 GB, free: 2.832 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.8729, allocations: 0 / 0.6258 GB, free: 2.832 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0124/0.8853, allocations: 7.214 MB / 0.6328 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006903/0.886, allocations: 225.9 kB / 0.6331 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006642/0.8867, allocations: 87.88 kB / 0.6331 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002999/0.8897, allocations: 223.8 kB / 0.6334 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006863/0.8904, allocations: 330.7 kB / 0.6337 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004459/0.8908, allocations: 175.9 kB / 0.6338 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007067/0.8915, allocations: 0.5026 MB / 0.6343 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8915, allocations: 0 / 0.6343 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002976/0.8945, allocations: 1.108 MB / 0.6354 GB, free: 8.941 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.001292/0.8958, allocations: 456.2 kB / 0.6358 GB, free: 8.551 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007917/0.9037, allocations: 4.12 MB / 0.6399 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.38e-05/0.9037, allocations: 8.094 kB / 0.6399 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00374/0.9075, allocations: 2.11 MB / 0.6419 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005524/0.913, allocations: 1.037 MB / 0.6429 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01322/0.9262, allocations: 6.758 MB / 0.6495 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001328/0.9275, allocations: 1.278 MB / 0.6508 GB, free: 9.309 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001748/0.9293, allocations: 315.3 kB / 0.6511 GB, free: 9 MB / 0.5137 GB Notification: Performance of SimCode: time 1.072e-06/0.9293, allocations: 0 / 0.6511 GB, free: 9 MB / 0.5137 GB Notification: Performance of Templates: time 0.07475/1.004, allocations: 45.42 MB / 0.6955 GB, free: 11.68 MB / 0.5606 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/PsychrometricData/PsychrometricData.csv","/var/lib/jenkins1/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: 11.426037076860666]