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.001315/0.001315, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001958/0.003274, allocations: 453.8 kB / 10.46 MB, free: 236 kB / 10.45 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.0009948/0.0009948, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001351/0.002345, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 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.9414/0.9414, allocations: 158.6 MB / 171.2 MB, free: 2.508 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1696/1.111, allocations: 49.5 MB / 220.7 MB, free: 1.355 MB / 218.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 2.545e-06/2.545e-06, allocations: 0 / 222 MB, free: 68 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.191e-05/3.446e-05, allocations: 2.312 kB / 222 MB, free: 64 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.3473/0.3473, allocations: 145.9 MB / 367.8 MB, free: 12.92 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001879/0.3492, allocations: 0.9489 MB / 368.8 MB, free: 11.99 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001454/0.3494, allocations: 3.938 kB / 368.8 MB, free: 11.99 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003678/0.3497, allocations: 75.52 kB / 368.9 MB, free: 11.91 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005661/0.3503, allocations: 294.4 kB / 369.2 MB, free: 11.64 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003398/0.3537, allocations: 1.291 MB / 370.5 MB, free: 10.34 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.004186/0.3579, allocations: 5.714 MB / 376.2 MB, free: 4.609 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003523/0.3582, allocations: 116.2 kB / 376.3 MB, free: 4.465 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005976/0.3642, allocations: 3.164 MB / 379.4 MB, free: 1.297 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003701/0.3679, allocations: 1.953 MB / 381.4 MB, free: 15.34 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001441/0.3694, allocations: 236 kB / 381.6 MB, free: 15.11 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004404/0.3738, allocations: 1.751 MB / 383.4 MB, free: 13.36 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001357/0.3751, allocations: 0.9394 MB / 384.3 MB, free: 12.41 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002579/0.3777, allocations: 0.8856 MB / 385.2 MB, free: 11.53 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00634/0.384, allocations: 3.518 MB / 388.7 MB, free: 8 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.272e-05/0.3841, allocations: 0 / 388.7 MB, free: 8 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.735e-06/0.3841, allocations: 0 / 388.7 MB, free: 8 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.079e-05/0.3841, allocations: 0 / 388.7 MB, free: 8 MB / 346.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.00577/0.3899, allocations: 3.652 MB / 392.4 MB, free: 4.305 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.39, allocations: 12.02 kB / 392.4 MB, free: 4.293 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001534/0.3915, allocations: 0.6796 MB / 393.1 MB, free: 3.594 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001295/0.3928, allocations: 0.7673 MB / 393.8 MB, free: 2.801 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001107/0.3929, allocations: 184.8 kB / 394 MB, free: 2.617 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006961/0.3936, allocations: 283.9 kB / 394.3 MB, free: 2.34 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003071/0.3967, allocations: 4.046 MB / 398.3 MB, free: 13.72 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.05e-05/0.3967, allocations: 5.188 kB / 398.3 MB, free: 13.72 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002511/0.397, allocations: 123.9 kB / 398.5 MB, free: 13.6 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.624e-05/0.397, allocations: 60 kB / 398.5 MB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002413/0.3994, allocations: 1.843 MB / 400.4 MB, free: 11.66 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008691/0.4081, allocations: 4.338 MB / 404.7 MB, free: 7.285 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002268/0.4104, allocations: 2.552 MB / 407.3 MB, free: 4.691 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008344/0.4112, allocations: 0.7613 MB / 408 MB, free: 3.926 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006872/0.4119, allocations: 139 kB / 408.2 MB, free: 3.789 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.573e-05/0.412, allocations: 90.62 kB / 408.2 MB, free: 3.691 MB / 362.7 MB Notification: Performance of pre-optimization done (n=390): time 5.901e-06/0.412, allocations: 0 / 408.2 MB, free: 3.691 MB / 362.7 MB Notification: Performance of matching and sorting (n=390): time 0.00258/0.4146, allocations: 1.807 MB / 410 MB, free: 1.871 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.221e-05/0.4146, allocations: 94.47 kB / 410.1 MB, free: 1.766 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004164/0.415, allocations: 486.8 kB / 410.6 MB, free: 1.277 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002545/0.4153, allocations: 105.7 kB / 410.7 MB, free: 1.168 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002511/0.4156, allocations: 0.5053 MB / 411.2 MB, free: 0.6523 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001022/0.4166, allocations: 1.355 MB / 412.6 MB, free: 15.28 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006239/0.4172, allocations: 0.5588 MB / 413.1 MB, free: 14.71 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.4173, allocations: 341.9 kB / 413.5 MB, free: 14.38 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006542/0.418, allocations: 487.8 kB / 413.9 MB, free: 13.89 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008529/0.4188, allocations: 0.892 MB / 414.8 MB, free: 12.85 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002259/0.4211, allocations: 1.782 MB / 416.6 MB, free: 10.88 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.596e-05/0.4211, allocations: 11.94 kB / 416.6 MB, free: 10.87 MB / 378.7 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.002319/0.4234, allocations: 1.761 MB / 418.4 MB, free: 9.074 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.418e-05/0.4234, allocations: 8 kB / 418.4 MB, free: 9.066 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.108e-05/0.4235, allocations: 12 kB / 418.4 MB, free: 9.055 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.926e-05/0.4235, allocations: 28 kB / 418.4 MB, free: 9.027 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002097/0.4256, allocations: 0.8659 MB / 419.3 MB, free: 8.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.137e-05/0.4256, allocations: 32.86 kB / 419.3 MB, free: 8.129 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001432/0.4271, allocations: 293.9 kB / 419.6 MB, free: 7.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002002/0.4273, allocations: 111.9 kB / 419.7 MB, free: 7.73 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.0009782/0.4282, allocations: 327.7 kB / 420.1 MB, free: 7.398 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005172/0.4288, allocations: 275.8 kB / 420.3 MB, free: 7.129 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003461/0.4322, allocations: 2.254 MB / 422.6 MB, free: 4.848 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-05/0.4322, allocations: 44 kB / 422.6 MB, free: 4.805 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.4322, allocations: 0 / 422.6 MB, free: 4.805 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.422e-05/0.4323, allocations: 23.92 kB / 422.6 MB, free: 4.781 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002455/0.4347, allocations: 1.257 MB / 423.9 MB, free: 3.504 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.057e-05/0.4347, allocations: 3.938 kB / 423.9 MB, free: 3.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001967/0.4367, allocations: 0.7803 MB / 424.7 MB, free: 2.719 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005803/0.4373, allocations: 227.7 kB / 424.9 MB, free: 2.496 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.018e-05/0.4373, allocations: 16 kB / 424.9 MB, free: 2.48 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002148/0.4375, allocations: 75.97 kB / 425 MB, free: 2.406 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.475e-05/0.4375, allocations: 16 kB / 425 MB, free: 2.391 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.4375, allocations: 4 kB / 425 MB, free: 2.387 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00329/0.4408, allocations: 2.537 MB / 427.6 MB, free: 15.82 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002821/0.4411, allocations: 83.89 kB / 427.6 MB, free: 15.73 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001527/0.4426, allocations: 171.8 kB / 427.8 MB, free: 15.57 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003722/0.443, allocations: 270.9 kB / 428.1 MB, free: 15.3 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002545/0.4433, allocations: 123.9 kB / 428.2 MB, free: 15.18 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002444/0.4435, allocations: 240.3 kB / 428.4 MB, free: 14.95 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.4435, allocations: 0 / 428.4 MB, free: 14.95 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002741/0.4462, allocations: 1.178 MB / 429.6 MB, free: 13.77 MB / 394.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.001365/0.4476, allocations: 0.5856 MB / 430.2 MB, free: 13.18 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002582/0.4502, allocations: 1.687 MB / 431.9 MB, free: 11.49 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.687e-05/0.4503, allocations: 59.44 kB / 431.9 MB, free: 11.43 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001397/0.4517, allocations: 1.254 MB / 433.2 MB, free: 10.18 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00378/0.4555, allocations: 1.983 MB / 435.2 MB, free: 8.094 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01734/0.4728, allocations: 4.578 MB / 439.7 MB, free: 3.453 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004918/0.4733, allocations: 0.5731 MB / 440.3 MB, free: 2.848 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002529/0.4758, allocations: 0.5835 MB / 440.9 MB, free: 2.262 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002959/0.4788, allocations: 1.189 MB / 442.1 MB, free: 1.055 MB / 394.7 MB Notification: Performance of SimCode: time 2.775e-06/0.4788, allocations: 3.938 kB / 442.1 MB, free: 1.051 MB / 394.7 MB Notification: Performance of Templates: time 0.2563/0.7351, allocations: 69.97 MB / 0.5001 GB, free: 21.8 MB / 394.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.486748157069087]