Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.0009403/0.0009403, allocations: 84.98 kB / 22.99 MB, free: 1.508 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.0009572/0.0009572, allocations: 173.4 kB / 26.4 MB, free: 7.984 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9018/0.9018, allocations: 158.6 MB / 188.3 MB, free: 2.82 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.[0-9,]+.|x",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData") translateModel(Modelica.Media.Examples.PsychrometricData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|hx_h.[0-9,]+.|x",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 3.938 kB / 252.2 MB, free: 7.266 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.422e-05/1.565e-05, allocations: 6.25 kB / 252.3 MB, free: 7.258 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.2358/0.2358, allocations: 143.3 MB / 395.5 MB, free: 10.53 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001064/0.2369, allocations: 0.9334 MB / 396.5 MB, free: 10.44 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.113e-05/0.2369, allocations: 7.375 kB / 396.5 MB, free: 10.43 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003304/0.2373, allocations: 76.25 kB / 396.5 MB, free: 10.41 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004535/0.2377, allocations: 301.2 kB / 396.8 MB, free: 10.38 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002123/0.2399, allocations: 1.341 MB / 398.2 MB, free: 10.21 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002549/0.2424, allocations: 5.688 MB / 403.9 MB, free: 8.648 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001579/0.2426, allocations: 91.22 kB / 403.9 MB, free: 8.594 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002904/0.2455, allocations: 3.156 MB / 407.1 MB, free: 7.812 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002059/0.2475, allocations: 2.014 MB / 409.1 MB, free: 7.254 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005932/0.2481, allocations: 236.5 kB / 409.3 MB, free: 7.254 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002184/0.2503, allocations: 1.669 MB / 411 MB, free: 6.824 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007405/0.251, allocations: 1.274 MB / 412.3 MB, free: 6.414 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001185/0.2522, allocations: 1.266 MB / 413.6 MB, free: 6.152 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003227/0.2555, allocations: 4.234 MB / 417.8 MB, free: 4.371 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.2555, allocations: 0 / 417.8 MB, free: 4.371 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.2555, allocations: 0 / 417.8 MB, free: 4.371 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.169e-05/0.2555, allocations: 0 / 417.8 MB, free: 4.371 MB / 330.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.003546/0.259, allocations: 3.331 MB / 421.1 MB, free: 1.109 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.02e-05/0.2591, allocations: 15.98 kB / 421.1 MB, free: 1.094 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001109/0.2602, allocations: 0.6384 MB / 421.8 MB, free: 464 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009944/0.2612, allocations: 0.9025 MB / 422.7 MB, free: 15.53 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.48e-05/0.2613, allocations: 184.8 kB / 422.9 MB, free: 15.34 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003502/0.2616, allocations: 282.6 kB / 423.1 MB, free: 15.07 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002438/0.264, allocations: 3.848 MB / 427 MB, free: 10.65 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.433e-05/0.2641, allocations: 0 / 427 MB, free: 10.65 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002265/0.2643, allocations: 112 kB / 427.1 MB, free: 10.54 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.891e-05/0.2643, allocations: 56 kB / 427.1 MB, free: 10.49 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002371/0.2667, allocations: 2.12 MB / 429.3 MB, free: 8.332 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007129/0.2738, allocations: 4.895 MB / 434.2 MB, free: 3.621 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002147/0.276, allocations: 2.581 MB / 436.7 MB, free: 1.094 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008669/0.2768, allocations: 0.8856 MB / 437.6 MB, free: 228 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002635/0.2771, allocations: 131 kB / 437.8 MB, free: 96 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.464e-05/0.2772, allocations: 101.7 kB / 437.9 MB, free: 15.98 MB / 362.7 MB Notification: Performance of pre-optimization done (n=390): time 4.689e-06/0.2772, allocations: 0 / 437.9 MB, free: 15.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=390): time 0.002907/0.2801, allocations: 2.379 MB / 440.2 MB, free: 13.59 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.641e-05/0.2801, allocations: 90.47 kB / 440.3 MB, free: 13.48 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003676/0.2805, allocations: 0.6278 MB / 441 MB, free: 12.91 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001914/0.2807, allocations: 101.7 kB / 441.1 MB, free: 12.81 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002463/0.2809, allocations: 0.6252 MB / 441.7 MB, free: 12.2 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006879/0.2816, allocations: 1.433 MB / 443.1 MB, free: 10.85 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006353/0.2823, allocations: 0.6884 MB / 443.8 MB, free: 10.22 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.2824, allocations: 0.5202 MB / 444.3 MB, free: 9.707 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005963/0.283, allocations: 466.6 kB / 444.8 MB, free: 9.25 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009872/0.284, allocations: 1.216 MB / 446 MB, free: 7.891 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001809/0.2858, allocations: 1.911 MB / 447.9 MB, free: 5.82 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.097e-06/0.2858, allocations: 4 kB / 447.9 MB, free: 5.816 MB / 362.7 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.002482/0.2883, allocations: 2.203 MB / 450.1 MB, free: 3.59 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.577e-05/0.2883, allocations: 11.98 kB / 450.1 MB, free: 3.578 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.675e-05/0.2883, allocations: 12 kB / 450.1 MB, free: 3.566 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.285e-05/0.2883, allocations: 28 kB / 450.2 MB, free: 3.539 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001643/0.29, allocations: 0.7376 MB / 450.9 MB, free: 2.801 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.317e-05/0.29, allocations: 35.92 kB / 450.9 MB, free: 2.766 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000884/0.2909, allocations: 285.9 kB / 451.2 MB, free: 2.484 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001702/0.291, allocations: 119.9 kB / 451.3 MB, free: 2.367 MB / 362.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.0005206/0.2916, allocations: 379.6 kB / 451.7 MB, free: 1.984 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004574/0.292, allocations: 318.9 kB / 452 MB, free: 1.672 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003011/0.295, allocations: 2.724 MB / 454.7 MB, free: 14.93 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.083e-05/0.2951, allocations: 44 kB / 454.8 MB, free: 14.89 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.177e-06/0.2951, allocations: 0 / 454.8 MB, free: 14.89 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.166e-05/0.2951, allocations: 23.86 kB / 454.8 MB, free: 14.87 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001639/0.2967, allocations: 1.381 MB / 456.2 MB, free: 13.61 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.461e-06/0.2967, allocations: 0 / 456.2 MB, free: 13.61 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001566/0.2983, allocations: 0.6832 MB / 456.9 MB, free: 12.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.429e-05/0.2983, allocations: 12 kB / 456.9 MB, free: 12.92 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001352/0.2984, allocations: 91.95 kB / 457 MB, free: 12.83 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.628e-06/0.2985, allocations: 19.94 kB / 457 MB, free: 12.81 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.2985, allocations: 3.312 kB / 457 MB, free: 12.81 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003212/0.3017, allocations: 3.014 MB / 460 MB, free: 9.82 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001791/0.3018, allocations: 237.8 kB / 460.2 MB, free: 9.586 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002279/0.3021, allocations: 83.88 kB / 460.3 MB, free: 9.504 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001104/0.3032, allocations: 175.8 kB / 460.5 MB, free: 9.332 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003151/0.3035, allocations: 274.9 kB / 460.8 MB, free: 9.062 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002111/0.3037, allocations: 151.9 kB / 460.9 MB, free: 8.914 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002497/0.304, allocations: 386 kB / 461.3 MB, free: 8.562 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.304, allocations: 0 / 461.3 MB, free: 8.562 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001517/0.3055, allocations: 1.112 MB / 462.4 MB, free: 7.449 MB / 378.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.0008213/0.3063, allocations: 492.2 kB / 462.9 MB, free: 6.984 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001902/0.3082, allocations: 1.908 MB / 464.8 MB, free: 5.098 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.141e-06/0.3082, allocations: 5 kB / 464.8 MB, free: 5.09 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001015/0.3092, allocations: 1.165 MB / 466 MB, free: 3.953 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002211/0.3114, allocations: 1.107 MB / 467.1 MB, free: 2.859 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005156/0.3166, allocations: 4.98 MB / 472 MB, free: 13.88 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000391/0.317, allocations: 0.62 MB / 472.7 MB, free: 13.22 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001432/0.3184, allocations: 0.5832 MB / 473.2 MB, free: 12.64 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002687/0.3211, allocations: 1.465 MB / 474.7 MB, free: 11.17 MB / 394.7 MB Notification: Performance of SimCode: time 6.72e-07/0.3211, allocations: 0 / 474.7 MB, free: 11.17 MB / 394.7 MB Notification: Performance of Templates: time 0.1799/0.501, allocations: 65.93 MB / 0.528 GB, free: 90.72 MB / 426.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.sim & ./Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/PsychrometricData/PsychrometricData.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.364463961217552]