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.0008124/0.0008124, allocations: 88.28 kB / 21.43 MB, free: 3.133 MB / 18.57 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.004219/0.004219, allocations: 157.5 kB / 24.7 MB, free: 9.422 MB / 18.57 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 0.833/0.833, allocations: 177 MB / 204.9 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] 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 1.122e-06/1.122e-06, allocations: 0 / 325.8 MB, free: 15.41 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.905e-05/2.017e-05, allocations: 2.281 kB / 325.8 MB, free: 15.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.2577/0.2577, allocations: 133.5 MB / 459.3 MB, free: 5.875 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007445/0.2584, allocations: 0.6644 MB / 460 MB, free: 5.859 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.955e-05/0.2585, allocations: 1.312 kB / 460 MB, free: 5.859 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000316/0.2588, allocations: 77.62 kB / 460 MB, free: 5.859 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004054/0.2592, allocations: 300.4 kB / 460.3 MB, free: 5.855 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001673/0.2609, allocations: 1.158 MB / 461.5 MB, free: 5.809 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002551/0.2634, allocations: 5.687 MB / 467.2 MB, free: 5.496 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001667/0.2636, allocations: 101 kB / 467.3 MB, free: 5.43 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002141/0.2657, allocations: 2.962 MB / 470.2 MB, free: 5.305 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001601/0.2673, allocations: 2.103 MB / 472.4 MB, free: 5.188 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000344/0.2677, allocations: 235.8 kB / 472.6 MB, free: 5.188 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001683/0.2694, allocations: 1.53 MB / 474.1 MB, free: 5.129 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007161/0.2701, allocations: 1.28 MB / 475.4 MB, free: 5.023 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009944/0.2711, allocations: 1.267 MB / 476.7 MB, free: 4.941 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003274/0.2744, allocations: 4.967 MB / 481.6 MB, free: 4.609 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.319e-06/0.2744, allocations: 0 / 481.6 MB, free: 4.609 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.2744, allocations: 0 / 481.6 MB, free: 4.609 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.666e-05/0.2744, allocations: 0 / 481.6 MB, free: 4.609 MB / 410.7 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.004204/0.2786, allocations: 3.458 MB / 485.1 MB, free: 3.539 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.2786, allocations: 8.656 kB / 485.1 MB, free: 3.539 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009212/0.2796, allocations: 338.3 kB / 485.4 MB, free: 3.414 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001454/0.281, allocations: 1.333 MB / 486.8 MB, free: 3.133 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.204e-05/0.2811, allocations: 178.8 kB / 486.9 MB, free: 3.125 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002518/0.2813, allocations: 245.1 kB / 487.2 MB, free: 3.121 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003855/0.2852, allocations: 5.943 MB / 493.1 MB, free: 368 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.297e-05/0.2852, allocations: 0 / 493.1 MB, free: 368 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002425/0.2855, allocations: 116.7 kB / 493.2 MB, free: 368 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.678e-05/0.2855, allocations: 58.34 kB / 493.3 MB, free: 368 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00506/0.2906, allocations: 5.886 MB / 499.2 MB, free: 15.1 MB / 426.7 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.009433/0.3, allocations: 7.31 MB / 0.4946 GB, free: 12.15 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004442/0.3044, allocations: 4.772 MB / 0.4993 GB, free: 8.348 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002013/0.3064, allocations: 2.237 MB / 0.5015 GB, free: 6.105 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000275/0.3067, allocations: 111.6 kB / 0.5016 GB, free: 5.996 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.312e-05/0.3068, allocations: 94.62 kB / 0.5016 GB, free: 5.895 MB / 426.7 MB Notification: Performance of pre-optimization done (n=390): time 4.599e-06/0.3068, allocations: 4 kB / 0.5017 GB, free: 5.891 MB / 426.7 MB Notification: Performance of matching and sorting (n=390): time 0.005998/0.3128, allocations: 5.804 MB / 0.5073 GB, free: 64 kB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.203e-05/0.3128, allocations: 94.47 kB / 0.5074 GB, free: 15.96 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004885/0.3133, allocations: 0.6305 MB / 0.508 GB, free: 15.32 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000207/0.3135, allocations: 105.7 kB / 0.5081 GB, free: 15.21 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002427/0.3138, allocations: 0.5493 MB / 0.5087 GB, free: 14.66 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006492/0.3144, allocations: 1.347 MB / 0.51 GB, free: 13.33 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006018/0.315, allocations: 0.6294 MB / 0.5106 GB, free: 12.69 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002722/0.3153, allocations: 341.9 kB / 0.5109 GB, free: 12.35 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001943/0.3172, allocations: 1.744 MB / 0.5126 GB, free: 10.61 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00201/0.3193, allocations: 2.261 MB / 0.5148 GB, free: 8.195 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004187/0.3234, allocations: 4.336 MB / 0.5191 GB, free: 3.734 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.859e-06/0.3235, allocations: 7.938 kB / 0.5191 GB, free: 3.727 MB / 442.7 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.004659/0.3281, allocations: 4.574 MB / 0.5235 GB, free: 15.19 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.311e-05/0.3281, allocations: 12 kB / 0.5236 GB, free: 15.18 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.426e-05/0.3282, allocations: 8 kB / 0.5236 GB, free: 15.17 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.935e-05/0.3282, allocations: 28 kB / 0.5236 GB, free: 15.14 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001733/0.3299, allocations: 0.7883 MB / 0.5244 GB, free: 14.4 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.596e-05/0.33, allocations: 39.08 kB / 0.5244 GB, free: 14.37 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001154/0.3311, allocations: 341.8 kB / 0.5247 GB, free: 14.03 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003383/0.3314, allocations: 147.9 kB / 0.5249 GB, free: 13.89 MB / 458.7 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.0009991/0.3324, allocations: 0.758 MB / 0.5256 GB, free: 13.16 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003003/0.3327, allocations: 191 kB / 0.5258 GB, free: 12.98 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005227/0.338, allocations: 5.164 MB / 0.5308 GB, free: 7.781 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-05/0.338, allocations: 40 kB / 0.5309 GB, free: 7.742 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.338, allocations: 0 / 0.5309 GB, free: 7.742 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.131e-05/0.338, allocations: 19.92 kB / 0.5309 GB, free: 7.723 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002468/0.3405, allocations: 2.21 MB / 0.533 GB, free: 5.582 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.564e-06/0.3405, allocations: 4 kB / 0.533 GB, free: 5.578 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001563/0.3421, allocations: 0.7307 MB / 0.5338 GB, free: 4.887 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.702e-05/0.3421, allocations: 12 kB / 0.5338 GB, free: 4.875 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001641/0.3422, allocations: 91.97 kB / 0.5339 GB, free: 4.785 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.227e-05/0.3423, allocations: 16 kB / 0.5339 GB, free: 4.77 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3423, allocations: 0 / 0.5339 GB, free: 4.77 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006703/0.349, allocations: 7.218 MB / 0.5409 GB, free: 13.51 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002091/0.3492, allocations: 229.9 kB / 0.5411 GB, free: 13.28 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001856/0.3494, allocations: 83.88 kB / 0.5412 GB, free: 13.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001155/0.3505, allocations: 223.8 kB / 0.5414 GB, free: 12.98 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003406/0.3509, allocations: 326.8 kB / 0.5417 GB, free: 12.66 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002132/0.3511, allocations: 183.8 kB / 0.5419 GB, free: 12.48 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0003876/0.3515, allocations: 0.4993 MB / 0.5424 GB, free: 11.98 MB / 474.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3515, allocations: 0 / 0.5424 GB, free: 11.98 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00159/0.353, allocations: 1.112 MB / 0.5435 GB, free: 10.87 MB / 474.7 MB 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.0007508/0.3538, allocations: 461 kB / 0.5439 GB, free: 10.46 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004133/0.3579, allocations: 4.113 MB / 0.548 GB, free: 6.41 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/0.3579, allocations: 9 kB / 0.548 GB, free: 6.402 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001869/0.3598, allocations: 2.11 MB / 0.55 GB, free: 4.375 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002249/0.3621, allocations: 1.044 MB / 0.551 GB, free: 3.34 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006653/0.3687, allocations: 6.413 MB / 0.5573 GB, free: 12.89 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000705/0.3694, allocations: 1.261 MB / 0.5585 GB, free: 11.58 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008197/0.3702, allocations: 320.4 kB / 0.5588 GB, free: 11.27 MB / 490.7 MB Notification: Performance of SimCode: time 9.52e-07/0.3702, allocations: 7.188 kB / 0.5588 GB, free: 11.27 MB / 490.7 MB Notification: Performance of Templates: time 0.03658/0.4068, allocations: 45.63 MB / 0.6034 GB, free: 13.75 MB / 0.5261 GB " [Timeout remaining time 660] 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: 6.893150303512812]