Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.PsychrometricData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000833/0.000833, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003153/0.003153, allocations: 160.4 kB / 24.7 MB, free: 9.43 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8339/0.8339, allocations: 177.1 MB / 205 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Media.Examples.PsychrometricData") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 325.8 MB, free: 15.3 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.027e-05/2.159e-05, allocations: 4.812 kB / 325.8 MB, free: 15.29 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.293/0.293, allocations: 133.6 MB / 459.4 MB, free: 5.906 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001039/0.2941, allocations: 0.6603 MB / 460 MB, free: 5.898 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001058/0.2942, allocations: 5.062 kB / 460 MB, free: 5.898 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004373/0.2946, allocations: 76.31 kB / 460.1 MB, free: 5.898 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006576/0.2953, allocations: 300.7 kB / 460.4 MB, free: 5.895 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002446/0.2977, allocations: 1.157 MB / 461.6 MB, free: 5.848 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003417/0.3011, allocations: 5.69 MB / 467.3 MB, free: 5.531 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000232/0.3014, allocations: 95.09 kB / 467.3 MB, free: 5.469 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003093/0.3045, allocations: 2.961 MB / 470.3 MB, free: 5.344 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002231/0.3067, allocations: 2.108 MB / 472.4 MB, free: 5.227 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007339/0.3074, allocations: 235.6 kB / 472.6 MB, free: 5.227 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002166/0.3096, allocations: 1.529 MB / 474.2 MB, free: 5.168 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007005/0.3103, allocations: 1.275 MB / 475.4 MB, free: 5.062 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009996/0.3113, allocations: 1.268 MB / 476.7 MB, free: 4.98 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003343/0.3146, allocations: 4.966 MB / 481.7 MB, free: 4.648 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.3147, allocations: 0 / 481.7 MB, free: 4.648 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3147, allocations: 0 / 481.7 MB, free: 4.648 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.491e-05/0.3147, allocations: 0 / 481.7 MB, free: 4.648 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.004157/0.3188, allocations: 3.468 MB / 485.1 MB, free: 3.57 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.3189, allocations: 11.22 kB / 485.2 MB, free: 3.57 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009081/0.3198, allocations: 335.2 kB / 485.5 MB, free: 3.449 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001435/0.3212, allocations: 1.331 MB / 486.8 MB, free: 3.168 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.38e-05/0.3213, allocations: 180.9 kB / 487 MB, free: 3.16 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002403/0.3215, allocations: 246.1 kB / 487.2 MB, free: 3.152 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003607/0.3251, allocations: 5.944 MB / 493.2 MB, free: 404 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.146e-05/0.3252, allocations: 0 / 493.2 MB, free: 404 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002306/0.3254, allocations: 115.1 kB / 493.3 MB, free: 400 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.265e-05/0.3254, allocations: 57.84 kB / 493.3 MB, free: 400 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004726/0.3302, allocations: 5.88 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.009353/0.3395, allocations: 7.3 MB / 0.4947 GB, free: 12.12 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004201/0.3437, allocations: 4.776 MB / 0.4993 GB, free: 8.379 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001997/0.3457, allocations: 2.24 MB / 0.5015 GB, free: 6.125 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002762/0.346, allocations: 117.3 kB / 0.5016 GB, free: 6.012 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.52e-05/0.346, allocations: 94.62 kB / 0.5017 GB, free: 5.91 MB / 426.7 MB Notification: Performance of pre-optimization done (n=390): time 4.899e-06/0.346, allocations: 0 / 0.5017 GB, free: 5.91 MB / 426.7 MB Notification: Performance of matching and sorting (n=390): time 0.005719/0.3518, allocations: 5.8 MB / 0.5074 GB, free: 88 kB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.647e-05/0.3518, allocations: 94.52 kB / 0.5075 GB, free: 15.98 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004608/0.3523, allocations: 0.6383 MB / 0.5081 GB, free: 15.33 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001897/0.3525, allocations: 101.7 kB / 0.5082 GB, free: 15.23 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002243/0.3527, allocations: 0.5449 MB / 0.5087 GB, free: 14.68 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00063/0.3533, allocations: 1.352 MB / 0.51 GB, free: 13.35 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005898/0.3539, allocations: 0.6259 MB / 0.5106 GB, free: 12.71 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.839e-05/0.354, allocations: 341.9 kB / 0.511 GB, free: 12.38 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001724/0.3557, allocations: 1.744 MB / 0.5127 GB, free: 10.63 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001935/0.3577, allocations: 2.261 MB / 0.5149 GB, free: 8.219 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003852/0.3615, allocations: 4.329 MB / 0.5191 GB, free: 3.758 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.995e-06/0.3615, allocations: 7.938 kB / 0.5191 GB, free: 3.75 MB / 442.7 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.004365/0.3659, allocations: 4.578 MB / 0.5236 GB, free: 15.21 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.3659, allocations: 12 kB / 0.5236 GB, free: 15.2 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.282e-05/0.3659, allocations: 8.844 kB / 0.5236 GB, free: 15.19 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.752e-05/0.3659, allocations: 28 kB / 0.5236 GB, free: 15.16 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001674/0.3676, allocations: 0.7954 MB / 0.5244 GB, free: 14.41 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.324e-05/0.3676, allocations: 34.38 kB / 0.5244 GB, free: 14.39 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001007/0.3687, allocations: 341.8 kB / 0.5248 GB, free: 14.05 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001763/0.3688, allocations: 151.9 kB / 0.5249 GB, free: 13.9 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.0008289/0.3697, allocations: 0.7541 MB / 0.5257 GB, free: 13.18 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002901/0.3699, allocations: 191.7 kB / 0.5258 GB, free: 13 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004976/0.3749, allocations: 5.161 MB / 0.5309 GB, free: 7.801 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.88e-05/0.3749, allocations: 40 kB / 0.5309 GB, free: 7.762 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.3749, allocations: 0 / 0.5309 GB, free: 7.762 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.013e-05/0.375, allocations: 19.92 kB / 0.5309 GB, free: 7.742 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002135/0.3771, allocations: 2.214 MB / 0.5331 GB, free: 5.598 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/0.3771, allocations: 3.094 kB / 0.5331 GB, free: 5.598 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001557/0.3787, allocations: 0.7308 MB / 0.5338 GB, free: 4.906 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.18e-05/0.3787, allocations: 15.19 kB / 0.5338 GB, free: 4.895 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001298/0.3788, allocations: 87.97 kB / 0.5339 GB, free: 4.809 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.113e-05/0.3788, allocations: 16 kB / 0.5339 GB, free: 4.793 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3788, allocations: 3.938 kB / 0.5339 GB, free: 4.789 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006362/0.3852, allocations: 7.224 MB / 0.541 GB, free: 13.52 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001574/0.3853, allocations: 225.9 kB / 0.5412 GB, free: 13.3 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001905/0.3855, allocations: 83.88 kB / 0.5413 GB, free: 13.21 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001125/0.3867, allocations: 219.8 kB / 0.5415 GB, free: 13 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003319/0.387, allocations: 326.8 kB / 0.5418 GB, free: 12.68 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002054/0.3872, allocations: 179.9 kB / 0.542 GB, free: 12.5 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0003661/0.3876, allocations: 0.4987 MB / 0.5425 GB, free: 12.01 MB / 474.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3876, allocations: 3.094 kB / 0.5425 GB, free: 12.01 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001391/0.389, allocations: 1.112 MB / 0.5436 GB, free: 10.89 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.0006451/0.3896, allocations: 458.8 kB / 0.544 GB, free: 10.49 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003726/0.3933, allocations: 4.124 MB / 0.548 GB, free: 6.426 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.3933, allocations: 5 kB / 0.548 GB, free: 6.422 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001832/0.3952, allocations: 2.11 MB / 0.5501 GB, free: 4.395 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002191/0.3974, allocations: 1.039 MB / 0.5511 GB, free: 3.363 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006215/0.4036, allocations: 6.404 MB / 0.5573 GB, free: 12.92 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007062/0.4043, allocations: 1.263 MB / 0.5586 GB, free: 11.61 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008187/0.4051, allocations: 324.4 kB / 0.5589 GB, free: 11.29 MB / 490.7 MB Notification: Performance of SimCode: time 7.32e-07/0.4051, allocations: 0 / 0.5589 GB, free: 11.29 MB / 490.7 MB Notification: Performance of Templates: time 0.03423/0.4393, allocations: 45.64 MB / 0.6035 GB, free: 13.79 MB / 0.5261 GB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.PsychrometricData.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.PsychrometricData.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.PsychrometricData.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.PsychrometricData.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.PsychrometricData.sim & ./Modelica_4.1.0_Modelica.Media.Examples.PsychrometricData -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.PsychrometricData.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.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: 6.60382388625294]