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.001202/0.001202, allocations: 84 kB / 21.43 MB, free: 3.129 MB / 18.57 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.004707/0.004707, allocations: 149.5 kB / 24.68 MB, free: 9.426 MB / 18.57 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 0.8409/0.8409, allocations: 173.4 MB / 201.2 MB, free: 9.074 MB / 186.7 MB " [Timeout remaining time 179] 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 1.372e-06/1.372e-06, allocations: 0 / 319.7 MB, free: 5.852 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.349e-05/2.487e-05, allocations: 6.281 kB / 319.7 MB, free: 5.844 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.1124/0.1124, allocations: 130.6 MB / 450.3 MB, free: 2.684 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.000847/0.1132, allocations: 0.6556 MB / 451 MB, free: 2.023 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.118e-05/0.1133, allocations: 7.938 kB / 451 MB, free: 2.016 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003248/0.1136, allocations: 75.45 kB / 451.1 MB, free: 1.941 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003996/0.114, allocations: 310.3 kB / 451.4 MB, free: 1.637 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002194/0.1162, allocations: 1.147 MB / 452.5 MB, free: 500 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.1845/0.3007, allocations: 5.688 MB / 458.2 MB, free: 6.867 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001457/0.3008, allocations: 92.94 kB / 458.3 MB, free: 6.809 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002079/0.3029, allocations: 2.956 MB / 461.2 MB, free: 6.777 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001584/0.3045, allocations: 2.105 MB / 463.4 MB, free: 6.668 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002804/0.3048, allocations: 239.3 kB / 463.6 MB, free: 6.668 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001768/0.3065, allocations: 1.489 MB / 465.1 MB, free: 6.629 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006325/0.3072, allocations: 1.274 MB / 466.3 MB, free: 6.539 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008768/0.308, allocations: 1.261 MB / 467.6 MB, free: 6.457 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002984/0.311, allocations: 4.946 MB / 472.6 MB, free: 6.148 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.311, allocations: 0 / 472.6 MB, free: 6.148 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.311, allocations: 0.9688 kB / 472.6 MB, free: 6.148 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.866e-05/0.3111, allocations: 2.812 kB / 472.6 MB, free: 6.148 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.004043/0.3151, allocations: 3.451 MB / 476 MB, free: 5.129 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.3151, allocations: 12.14 kB / 476 MB, free: 5.129 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009352/0.3161, allocations: 338.2 kB / 476.4 MB, free: 5.008 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001453/0.3175, allocations: 1.321 MB / 477.7 MB, free: 4.742 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.384e-05/0.3176, allocations: 180.9 kB / 477.9 MB, free: 4.734 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002517/0.3179, allocations: 252.6 kB / 478.1 MB, free: 4.727 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003641/0.3215, allocations: 5.945 MB / 484 MB, free: 1.965 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.361e-05/0.3215, allocations: 0 / 484 MB, free: 1.965 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002354/0.3218, allocations: 110.4 kB / 484.1 MB, free: 1.965 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.293e-05/0.3218, allocations: 58.38 kB / 484.2 MB, free: 1.965 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004837/0.3266, allocations: 5.879 MB / 490.1 MB, free: 1.934 MB / 410.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.008897/0.3355, allocations: 7.301 MB / 497.4 MB, free: 0.6445 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004042/0.3396, allocations: 4.776 MB / 0.4904 GB, free: 15.15 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002038/0.3416, allocations: 2.243 MB / 0.4926 GB, free: 13.47 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002836/0.3419, allocations: 111.9 kB / 0.4927 GB, free: 13.38 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.813e-05/0.3419, allocations: 93.19 kB / 0.4928 GB, free: 13.31 MB / 426.7 MB Notification: Performance of pre-optimization done (n=390): time 4.449e-06/0.3419, allocations: 0.6875 kB / 0.4928 GB, free: 13.31 MB / 426.7 MB Notification: Performance of matching and sorting (n=390): time 0.006311/0.3483, allocations: 5.794 MB / 0.4984 GB, free: 7.766 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.045e-05/0.3483, allocations: 97.56 kB / 0.4985 GB, free: 7.66 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004889/0.3488, allocations: 0.643 MB / 0.4992 GB, free: 7.008 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002003/0.349, allocations: 105.7 kB / 0.4993 GB, free: 6.898 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002201/0.3492, allocations: 0.5435 MB / 0.4998 GB, free: 6.352 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006673/0.3499, allocations: 1.353 MB / 0.5011 GB, free: 5.02 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008705/0.3508, allocations: 0.6318 MB / 0.5017 GB, free: 4.383 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.448e-05/0.3508, allocations: 342.9 kB / 0.5021 GB, free: 4.043 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001692/0.3525, allocations: 1.741 MB / 0.5038 GB, free: 2.297 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002/0.3545, allocations: 2.254 MB / 0.506 GB, free: 15.89 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004205/0.3587, allocations: 4.339 MB / 0.5102 GB, free: 11.43 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.488e-06/0.3587, allocations: 4 kB / 0.5102 GB, free: 11.43 MB / 442.7 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.004638/0.3634, allocations: 4.569 MB / 0.5147 GB, free: 6.914 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.423e-05/0.3634, allocations: 15.98 kB / 0.5147 GB, free: 6.898 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.444e-05/0.3634, allocations: 8.875 kB / 0.5147 GB, free: 6.891 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.693e-05/0.3635, allocations: 28 kB / 0.5147 GB, free: 6.863 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00202/0.3655, allocations: 0.7925 MB / 0.5155 GB, free: 6.121 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.64e-05/0.3655, allocations: 38.36 kB / 0.5155 GB, free: 6.09 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001119/0.3666, allocations: 338.9 kB / 0.5158 GB, free: 5.762 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001889/0.3668, allocations: 148.8 kB / 0.516 GB, free: 5.617 MB / 442.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.001027/0.3678, allocations: 0.7626 MB / 0.5167 GB, free: 4.891 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003202/0.3682, allocations: 195.9 kB / 0.5169 GB, free: 4.699 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005216/0.3734, allocations: 5.152 MB / 0.5219 GB, free: 15.54 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.936e-05/0.3734, allocations: 40.94 kB / 0.522 GB, free: 15.5 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.3734, allocations: 0 / 0.522 GB, free: 15.5 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.143e-05/0.3734, allocations: 19.92 kB / 0.522 GB, free: 15.48 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002496/0.3759, allocations: 2.211 MB / 0.5242 GB, free: 13.34 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-05/0.3759, allocations: 0.875 kB / 0.5242 GB, free: 13.34 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001667/0.3776, allocations: 0.7316 MB / 0.5249 GB, free: 12.66 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.664e-05/0.3776, allocations: 13.06 kB / 0.5249 GB, free: 12.64 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001461/0.3778, allocations: 87.97 kB / 0.525 GB, free: 12.56 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.24e-05/0.3778, allocations: 16 kB / 0.525 GB, free: 12.54 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.3778, allocations: 4.031 kB / 0.525 GB, free: 12.54 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006883/0.3847, allocations: 7.21 MB / 0.532 GB, free: 5.289 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003392/0.385, allocations: 233.1 kB / 0.5323 GB, free: 5.062 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002002/0.3852, allocations: 84.72 kB / 0.5323 GB, free: 4.98 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001281/0.3865, allocations: 222.8 kB / 0.5326 GB, free: 4.77 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003545/0.3868, allocations: 327.4 kB / 0.5329 GB, free: 4.453 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000223/0.3871, allocations: 183.9 kB / 0.533 GB, free: 4.273 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0005491/0.3876, allocations: 0.4909 MB / 0.5335 GB, free: 3.785 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3876, allocations: 0.9375 kB / 0.5335 GB, free: 3.785 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001754/0.3894, allocations: 1.112 MB / 0.5346 GB, free: 2.672 MB / 458.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.0008329/0.3902, allocations: 464.9 kB / 0.5351 GB, free: 2.277 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004596/0.3948, allocations: 4.114 MB / 0.5391 GB, free: 14.23 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.009e-05/0.3948, allocations: 10.03 kB / 0.5391 GB, free: 14.21 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001937/0.3967, allocations: 2.107 MB / 0.5411 GB, free: 12.19 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002502/0.3992, allocations: 1.038 MB / 0.5421 GB, free: 11.21 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00717/0.4064, allocations: 6.411 MB / 0.5484 GB, free: 4.844 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007344/0.4071, allocations: 1.283 MB / 0.5497 GB, free: 3.516 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009242/0.4081, allocations: 320.4 kB / 0.55 GB, free: 3.203 MB / 474.7 MB Notification: Performance of SimCode: time 1.302e-06/0.4081, allocations: 0 / 0.55 GB, free: 3.203 MB / 474.7 MB Notification: Performance of Templates: time 0.04427/0.4523, allocations: 45.51 MB / 0.5944 GB, free: 5.805 MB / 0.5105 GB " [Timeout remaining time 660] 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: 6.305533180944622]