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.0009598/0.0009598, allocations: 79.91 kB / 21.18 MB, free: 3.387 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.0008756/0.0008756, allocations: 141.1 kB / 24.54 MB, free: 32 kB / 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.905/0.905, allocations: 173.4 MB / 201.1 MB, free: 9.332 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.[0-9,]+.|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.[0-9,]+.|x",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.694e-06/1.694e-06, allocations: 0 / 268 MB, free: 6.449 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.828e-05/1.998e-05, allocations: 2.312 kB / 268 MB, free: 6.445 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.2245/0.2245, allocations: 144.8 MB / 412.8 MB, free: 8.531 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001045/0.2255, allocations: 0.7002 MB / 413.5 MB, free: 7.848 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001094/0.2256, allocations: 4 kB / 413.5 MB, free: 7.844 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003811/0.226, allocations: 75.5 kB / 413.6 MB, free: 7.77 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005301/0.2265, allocations: 305.3 kB / 413.9 MB, free: 7.48 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002148/0.2287, allocations: 1.148 MB / 415 MB, free: 6.328 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003436/0.2321, allocations: 5.687 MB / 420.7 MB, free: 0.6211 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001973/0.2323, allocations: 92.16 kB / 420.8 MB, free: 0.5039 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004305/0.2366, allocations: 3.159 MB / 424 MB, free: 13.34 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00265/0.2393, allocations: 2.015 MB / 426 MB, free: 11.32 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005115/0.2398, allocations: 236 kB / 426.2 MB, free: 11.09 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002447/0.2422, allocations: 1.489 MB / 427.7 MB, free: 9.598 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009358/0.2432, allocations: 1.282 MB / 429 MB, free: 8.312 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001544/0.2447, allocations: 1.259 MB / 430.2 MB, free: 7.051 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004449/0.2492, allocations: 4.091 MB / 434.3 MB, free: 2.949 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.2492, allocations: 0 / 434.3 MB, free: 2.949 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.2492, allocations: 0 / 434.3 MB, free: 2.949 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.124e-05/0.2492, allocations: 7.938 kB / 434.3 MB, free: 2.941 MB / 378.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.1388/0.388, allocations: 3.63 MB / 438 MB, free: 22 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.388, allocations: 10.17 kB / 438 MB, free: 22 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001725/0.3898, allocations: 0.635 MB / 438.6 MB, free: 21.87 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001622/0.3914, allocations: 1.067 MB / 439.7 MB, free: 21.7 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001211/0.3915, allocations: 181.4 kB / 439.9 MB, free: 21.69 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003656/0.3919, allocations: 277.8 kB / 440.1 MB, free: 21.69 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003688/0.3956, allocations: 4.086 MB / 444.2 MB, free: 18.91 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.683e-05/0.3956, allocations: 3.938 kB / 444.2 MB, free: 18.91 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002289/0.3958, allocations: 116.8 kB / 444.3 MB, free: 18.91 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.235e-05/0.3959, allocations: 59.09 kB / 444.4 MB, free: 18.91 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003599/0.3995, allocations: 2.697 MB / 447.1 MB, free: 18.86 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00831/0.4078, allocations: 5.481 MB / 452.6 MB, free: 18.27 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002663/0.4105, allocations: 2.813 MB / 455.4 MB, free: 18.07 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001158/0.4116, allocations: 1.041 MB / 456.4 MB, free: 18.04 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003008/0.4119, allocations: 137.2 kB / 456.6 MB, free: 18.03 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.309e-05/0.412, allocations: 101.1 kB / 456.7 MB, free: 17.98 MB / 378.7 MB Notification: Performance of pre-optimization done (n=390): time 5.3e-06/0.412, allocations: 0.8438 kB / 456.7 MB, free: 17.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=390): time 0.00385/0.4158, allocations: 2.775 MB / 459.4 MB, free: 17.75 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.229e-05/0.4159, allocations: 90.81 kB / 459.5 MB, free: 17.69 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004086/0.4163, allocations: 0.6401 MB / 460.2 MB, free: 17.49 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002059/0.4165, allocations: 105.1 kB / 460.3 MB, free: 17.46 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00019/0.4167, allocations: 0.6113 MB / 460.9 MB, free: 17.08 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005967/0.4173, allocations: 1.429 MB / 462.3 MB, free: 16.18 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005879/0.4179, allocations: 0.6684 MB / 463 MB, free: 16.13 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.292e-05/0.4179, allocations: 0.5173 MB / 463.5 MB, free: 15.65 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009364/0.4189, allocations: 0.6062 MB / 464.1 MB, free: 15.64 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001195/0.4201, allocations: 1.349 MB / 465.4 MB, free: 15.02 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002351/0.4224, allocations: 2.177 MB / 467.6 MB, free: 14.34 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.171e-05/0.4224, allocations: 3.75 kB / 467.6 MB, free: 14.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.003197/0.4256, allocations: 2.504 MB / 470.1 MB, free: 14.13 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.676e-05/0.4256, allocations: 10.31 kB / 470.1 MB, free: 14.13 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.752e-05/0.4257, allocations: 11.06 kB / 470.1 MB, free: 14.13 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.278e-05/0.4257, allocations: 27.31 kB / 470.2 MB, free: 14.13 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001843/0.4275, allocations: 0.7899 MB / 471 MB, free: 14.13 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-05/0.4276, allocations: 35.67 kB / 471 MB, free: 14.13 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001129/0.4287, allocations: 341.3 kB / 471.3 MB, free: 13.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001939/0.4289, allocations: 147.7 kB / 471.5 MB, free: 13.98 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.0008672/0.4298, allocations: 372.8 kB / 471.8 MB, free: 13.81 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004629/0.4302, allocations: 324.2 kB / 472.2 MB, free: 13.72 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003655/0.4339, allocations: 3.065 MB / 475.2 MB, free: 13.47 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-05/0.4339, allocations: 42.03 kB / 475.3 MB, free: 13.47 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.4339, allocations: 0 / 475.3 MB, free: 13.47 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-05/0.4339, allocations: 20.53 kB / 475.3 MB, free: 13.47 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001971/0.4359, allocations: 1.587 MB / 476.9 MB, free: 13.19 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.558e-06/0.4359, allocations: 0 / 476.9 MB, free: 13.19 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001667/0.4376, allocations: 0.7259 MB / 477.6 MB, free: 13.19 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.479e-05/0.4376, allocations: 16.16 kB / 477.6 MB, free: 13.19 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001964/0.4378, allocations: 93.12 kB / 477.7 MB, free: 13.19 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.13e-05/0.4378, allocations: 15.19 kB / 477.7 MB, free: 13.19 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.4378, allocations: 3.094 kB / 477.7 MB, free: 13.19 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004113/0.4419, allocations: 3.447 MB / 481.2 MB, free: 12.3 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002229/0.4421, allocations: 235.4 kB / 481.4 MB, free: 12.14 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002117/0.4424, allocations: 85.59 kB / 481.5 MB, free: 12.08 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001236/0.4436, allocations: 221.7 kB / 481.7 MB, free: 12.02 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003869/0.444, allocations: 350.1 kB / 482 MB, free: 11.97 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002123/0.4442, allocations: 178.6 kB / 482.2 MB, free: 11.94 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002771/0.4445, allocations: 425.1 kB / 482.6 MB, free: 11.75 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4445, allocations: 0.9062 kB / 482.6 MB, free: 11.75 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001551/0.446, allocations: 1.11 MB / 483.7 MB, free: 11.54 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.0008421/0.4469, allocations: 456.2 kB / 484.2 MB, free: 11.36 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00265/0.4495, allocations: 2.204 MB / 486.4 MB, free: 9.828 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.552e-06/0.4495, allocations: 9.656 kB / 486.4 MB, free: 9.82 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001191/0.4507, allocations: 1.304 MB / 487.7 MB, free: 8.762 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002415/0.4531, allocations: 1.101 MB / 488.8 MB, free: 7.992 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005498/0.4586, allocations: 5.043 MB / 493.8 MB, free: 3.789 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003121/0.4589, allocations: 0.621 MB / 494.5 MB, free: 3.297 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.00234/0.4613, allocations: 1.36 MB / 495.8 MB, free: 2 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006802/0.462, allocations: 288.4 kB / 496.1 MB, free: 1.719 MB / 378.7 MB Notification: Performance of SimCode: time 1.523e-06/0.462, allocations: 1.094 kB / 496.1 MB, free: 1.719 MB / 378.7 MB Notification: Performance of Templates: time 0.05965/0.5216, allocations: 62.88 MB / 0.5459 GB, free: 3.648 MB / 442.7 MB " [Timeout remaining time 659] 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.pipe 2>&1) [Timeout 240] 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","",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.218563119880855]