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.001008/0.001008, allocations: 79.73 kB / 21.97 MB, free: 2.602 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.001057/0.001057, allocations: 168.3 kB / 25.33 MB, free: 9.445 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.7638/0.7638, allocations: 158.6 MB / 187.2 MB, free: 2.559 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.342e-06/1.342e-06, allocations: 0 / 251 MB, free: 3.602 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.488e-05/1.622e-05, allocations: 2.312 kB / 251 MB, free: 3.598 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.223/0.223, allocations: 146.1 MB / 397.1 MB, free: 5.875 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001188/0.2242, allocations: 0.9399 MB / 398 MB, free: 4.961 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.253e-05/0.2243, allocations: 4 kB / 398 MB, free: 4.957 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003714/0.2247, allocations: 71.52 kB / 398.1 MB, free: 4.887 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005015/0.2252, allocations: 313.1 kB / 398.4 MB, free: 4.582 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002328/0.2275, allocations: 1.33 MB / 399.7 MB, free: 3.246 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003385/0.2309, allocations: 5.687 MB / 405.4 MB, free: 13.54 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002108/0.2311, allocations: 92.22 kB / 405.5 MB, free: 13.43 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003955/0.2351, allocations: 3.159 MB / 408.7 MB, free: 10.27 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002309/0.2374, allocations: 2.015 MB / 410.7 MB, free: 8.246 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007224/0.2381, allocations: 236 kB / 410.9 MB, free: 8.016 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002532/0.2406, allocations: 1.674 MB / 412.6 MB, free: 6.34 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009712/0.2416, allocations: 1.282 MB / 413.9 MB, free: 5.055 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001724/0.2433, allocations: 1.259 MB / 415.1 MB, free: 3.793 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003999/0.2473, allocations: 4.227 MB / 419.4 MB, free: 15.55 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.2473, allocations: 3.938 kB / 419.4 MB, free: 15.55 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.2473, allocations: 0 / 419.4 MB, free: 15.55 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.11e-05/0.2474, allocations: 0 / 419.4 MB, free: 15.55 MB / 362.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.00488/0.2522, allocations: 3.663 MB / 423 MB, free: 11.83 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.2523, allocations: 15.98 kB / 423.1 MB, free: 11.82 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001356/0.2536, allocations: 0.6345 MB / 423.7 MB, free: 11.18 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00129/0.2549, allocations: 1.066 MB / 424.8 MB, free: 10.09 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.965e-05/0.255, allocations: 188.8 kB / 424.9 MB, free: 9.898 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003169/0.2554, allocations: 280 kB / 425.2 MB, free: 9.625 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003472/0.2588, allocations: 4.086 MB / 429.3 MB, free: 4.969 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.233e-05/0.2589, allocations: 0 / 429.3 MB, free: 4.969 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002255/0.2591, allocations: 112 kB / 429.4 MB, free: 4.859 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.119e-05/0.2591, allocations: 60 kB / 429.5 MB, free: 4.801 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003292/0.2624, allocations: 2.697 MB / 432.2 MB, free: 2.082 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008609/0.271, allocations: 5.479 MB / 437.6 MB, free: 12.55 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002712/0.2737, allocations: 2.812 MB / 440.5 MB, free: 9.711 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001244/0.275, allocations: 1.037 MB / 441.5 MB, free: 8.664 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003065/0.2753, allocations: 138.9 kB / 441.6 MB, free: 8.527 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.331e-05/0.2754, allocations: 101.4 kB / 441.7 MB, free: 8.418 MB / 378.7 MB Notification: Performance of pre-optimization done (n=390): time 5.741e-06/0.2754, allocations: 0 / 441.7 MB, free: 8.418 MB / 378.7 MB Notification: Performance of matching and sorting (n=390): time 0.004296/0.2797, allocations: 2.773 MB / 444.5 MB, free: 5.625 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.529e-05/0.2797, allocations: 94.47 kB / 444.6 MB, free: 5.52 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004822/0.2802, allocations: 0.639 MB / 445.2 MB, free: 4.863 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002198/0.2804, allocations: 105.7 kB / 445.3 MB, free: 4.754 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002668/0.2807, allocations: 0.6126 MB / 445.9 MB, free: 4.133 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007705/0.2814, allocations: 1.422 MB / 447.4 MB, free: 2.699 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006444/0.2821, allocations: 0.676 MB / 448 MB, free: 2.012 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001251/0.2822, allocations: 0.5199 MB / 448.6 MB, free: 1.484 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001026/0.2832, allocations: 0.611 MB / 449.2 MB, free: 0.875 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1346/0.4179, allocations: 1.343 MB / 450.5 MB, free: 44.05 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003589/0.4215, allocations: 2.175 MB / 452.7 MB, free: 43.38 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.487e-05/0.4215, allocations: 4.594 kB / 452.7 MB, free: 43.38 MB / 378.7 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.004508/0.426, allocations: 2.501 MB / 455.2 MB, free: 43.26 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.45e-05/0.426, allocations: 10.22 kB / 455.2 MB, free: 43.26 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.227e-05/0.426, allocations: 11.97 kB / 455.2 MB, free: 43.26 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.126e-05/0.4261, allocations: 26.16 kB / 455.2 MB, free: 43.26 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002102/0.4282, allocations: 0.7887 MB / 456 MB, free: 43.26 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-05/0.4282, allocations: 35.67 kB / 456.1 MB, free: 43.26 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001158/0.4294, allocations: 343.1 kB / 456.4 MB, free: 43.26 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001992/0.4296, allocations: 142.9 kB / 456.5 MB, free: 43.26 MB / 378.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.000683/0.4303, allocations: 379.6 kB / 456.9 MB, free: 43.1 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004472/0.4307, allocations: 318.5 kB / 457.2 MB, free: 43.02 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003485/0.4342, allocations: 3.068 MB / 460.3 MB, free: 42.79 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.896e-05/0.4342, allocations: 42.5 kB / 460.3 MB, free: 42.79 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.4342, allocations: 0 / 460.3 MB, free: 42.79 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.089e-05/0.4343, allocations: 20.25 kB / 460.4 MB, free: 42.79 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001755/0.436, allocations: 1.588 MB / 461.9 MB, free: 42.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.592e-06/0.436, allocations: 2.203 kB / 461.9 MB, free: 42.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00174/0.4378, allocations: 0.7252 MB / 462.7 MB, free: 42.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.419e-05/0.4378, allocations: 14.41 kB / 462.7 MB, free: 42.57 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002234/0.438, allocations: 90.44 kB / 462.8 MB, free: 42.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.359e-05/0.438, allocations: 15.09 kB / 462.8 MB, free: 42.57 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.438, allocations: 0 / 462.8 MB, free: 42.57 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003833/0.4419, allocations: 3.459 MB / 466.2 MB, free: 42.12 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001836/0.4421, allocations: 230.2 kB / 466.5 MB, free: 42.03 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001951/0.4423, allocations: 83.5 kB / 466.6 MB, free: 42.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001688/0.4439, allocations: 223 kB / 466.8 MB, free: 42.02 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005706/0.4445, allocations: 347.6 kB / 467.1 MB, free: 42.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003221/0.4448, allocations: 177.2 kB / 467.3 MB, free: 42.02 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004074/0.4452, allocations: 432.8 kB / 467.7 MB, free: 41.88 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4452, allocations: 0 / 467.7 MB, free: 41.88 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002417/0.4477, allocations: 1.114 MB / 468.8 MB, free: 41.85 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.001115/0.4488, allocations: 495 kB / 469.3 MB, free: 41.76 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004192/0.453, allocations: 2.207 MB / 471.5 MB, free: 41.66 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.012e-05/0.453, allocations: 4.844 kB / 471.5 MB, free: 41.66 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001853/0.4548, allocations: 1.305 MB / 472.8 MB, free: 41.61 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003986/0.4588, allocations: 1.098 MB / 473.9 MB, free: 41.49 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008703/0.4675, allocations: 5.042 MB / 479 MB, free: 40.04 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005269/0.468, allocations: 0.6219 MB / 479.6 MB, free: 39.92 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002913/0.471, allocations: 1.375 MB / 481 MB, free: 39.64 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008397/0.4718, allocations: 287.3 kB / 481.2 MB, free: 39.63 MB / 378.7 MB Notification: Performance of SimCode: time 1.863e-06/0.4718, allocations: 3.188 kB / 481.2 MB, free: 39.63 MB / 378.7 MB Notification: Performance of Templates: time 0.05299/0.5248, allocations: 63.36 MB / 0.5318 GB, free: 14.39 MB / 410.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.077068491838872]