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.001015/0.001015, allocations: 75.91 kB / 21.18 MB, free: 3.395 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.0009208/0.0009208, allocations: 145.1 kB / 24.54 MB, free: 36 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.9345/0.9345, allocations: 173.4 MB / 201.1 MB, free: 9.344 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.242e-06/1.242e-06, allocations: 0 / 268 MB, free: 6.465 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.766e-05/2.89e-05, allocations: 6.25 kB / 268 MB, free: 6.457 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.2279/0.2279, allocations: 144.8 MB / 412.8 MB, free: 8.531 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009585/0.2288, allocations: 0.6937 MB / 413.5 MB, free: 7.852 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.073e-05/0.2289, allocations: 3.938 kB / 413.5 MB, free: 7.848 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003737/0.2293, allocations: 78.47 kB / 413.6 MB, free: 7.773 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004888/0.2298, allocations: 297.3 kB / 413.9 MB, free: 7.492 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002288/0.2321, allocations: 1.163 MB / 415 MB, free: 6.324 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003196/0.2353, allocations: 5.687 MB / 420.7 MB, free: 0.6172 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001969/0.2355, allocations: 96.16 kB / 420.8 MB, free: 0.4961 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003477/0.2389, allocations: 2.964 MB / 423.8 MB, free: 13.53 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002482/0.2414, allocations: 2.101 MB / 425.9 MB, free: 11.42 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005408/0.242, allocations: 240 kB / 426.1 MB, free: 11.19 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0023/0.2443, allocations: 1.493 MB / 427.6 MB, free: 9.691 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001061/0.2453, allocations: 1.286 MB / 428.9 MB, free: 8.402 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001317/0.2466, allocations: 1.267 MB / 430.2 MB, free: 7.133 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003884/0.2505, allocations: 4.114 MB / 434.3 MB, free: 3.008 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.2505, allocations: 0 / 434.3 MB, free: 3.008 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2505, allocations: 0 / 434.3 MB, free: 3.008 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.465e-05/0.2506, allocations: 0 / 434.3 MB, free: 3.008 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.1571/0.4077, allocations: 3.636 MB / 437.9 MB, free: 21.88 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.037e-05/0.4078, allocations: 10.45 kB / 437.9 MB, free: 21.88 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001928/0.4097, allocations: 0.638 MB / 438.6 MB, free: 21.74 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002063/0.4117, allocations: 1.159 MB / 439.7 MB, free: 21.56 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002631/0.412, allocations: 179.9 kB / 439.9 MB, free: 21.55 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001036/0.413, allocations: 288.2 kB / 440.2 MB, free: 21.54 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005189/0.4182, allocations: 4.082 MB / 444.3 MB, free: 18.77 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.552e-05/0.4183, allocations: 1.688 kB / 444.3 MB, free: 18.77 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003552/0.4186, allocations: 112.4 kB / 444.4 MB, free: 18.77 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.378e-05/0.4187, allocations: 59.12 kB / 444.4 MB, free: 18.77 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004498/0.4232, allocations: 2.701 MB / 447.1 MB, free: 18.72 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009429/0.4326, allocations: 5.485 MB / 452.6 MB, free: 18.13 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002761/0.4354, allocations: 2.809 MB / 455.4 MB, free: 17.93 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00121/0.4366, allocations: 1.042 MB / 456.5 MB, free: 17.9 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003262/0.4369, allocations: 133.6 kB / 456.6 MB, free: 17.89 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.815e-05/0.437, allocations: 99.36 kB / 456.7 MB, free: 17.85 MB / 378.7 MB Notification: Performance of pre-optimization done (n=390): time 5.54e-06/0.437, allocations: 0.9062 kB / 456.7 MB, free: 17.85 MB / 378.7 MB Notification: Performance of matching and sorting (n=390): time 0.004342/0.4413, allocations: 2.775 MB / 459.5 MB, free: 17.62 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.915e-05/0.4414, allocations: 91.28 kB / 459.6 MB, free: 17.55 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005052/0.4419, allocations: 0.6385 MB / 460.2 MB, free: 17.36 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002161/0.4421, allocations: 105.2 kB / 460.3 MB, free: 17.33 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001846/0.4423, allocations: 0.6143 MB / 460.9 MB, free: 16.95 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006347/0.4429, allocations: 1.424 MB / 462.3 MB, free: 16.04 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006145/0.4435, allocations: 0.6714 MB / 463 MB, free: 16 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.088e-05/0.4436, allocations: 0.5245 MB / 463.5 MB, free: 15.52 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001012/0.4446, allocations: 0.606 MB / 464.1 MB, free: 15.51 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001202/0.4458, allocations: 1.346 MB / 465.5 MB, free: 14.88 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00248/0.4483, allocations: 2.174 MB / 467.7 MB, free: 14.21 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.145e-05/0.4483, allocations: 3.906 kB / 467.7 MB, free: 14.21 MB / 378.7 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.003378/0.4517, allocations: 2.51 MB / 470.2 MB, free: 13.99 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.87e-05/0.4517, allocations: 10.16 kB / 470.2 MB, free: 13.99 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.787e-05/0.4517, allocations: 11.88 kB / 470.2 MB, free: 13.99 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.729e-05/0.4518, allocations: 29.05 kB / 470.2 MB, free: 13.99 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001831/0.4536, allocations: 0.7849 MB / 471 MB, free: 13.99 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.531e-05/0.4537, allocations: 36.47 kB / 471 MB, free: 13.99 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001182/0.4548, allocations: 337.5 kB / 471.4 MB, free: 13.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001937/0.455, allocations: 148.4 kB / 471.5 MB, free: 13.84 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.0007846/0.4558, allocations: 376.8 kB / 471.9 MB, free: 13.67 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004778/0.4563, allocations: 318.8 kB / 472.2 MB, free: 13.58 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003799/0.4601, allocations: 3.062 MB / 475.3 MB, free: 13.34 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.989e-05/0.4601, allocations: 44.69 kB / 475.3 MB, free: 13.34 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.4601, allocations: 0.9375 kB / 475.3 MB, free: 13.34 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.202e-05/0.4601, allocations: 20.53 kB / 475.3 MB, free: 13.34 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002177/0.4623, allocations: 1.598 MB / 476.9 MB, free: 13.05 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.079e-05/0.4623, allocations: 0 / 476.9 MB, free: 13.05 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001694/0.464, allocations: 0.725 MB / 477.6 MB, free: 13.05 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-05/0.4641, allocations: 14.31 kB / 477.7 MB, free: 13.05 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000196/0.4643, allocations: 91.08 kB / 477.7 MB, free: 13.05 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-05/0.4643, allocations: 15.09 kB / 477.8 MB, free: 13.05 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.4643, allocations: 0.7812 kB / 477.8 MB, free: 13.05 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004477/0.4688, allocations: 3.453 MB / 481.2 MB, free: 12.16 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002846/0.469, allocations: 230.9 kB / 481.4 MB, free: 12 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001922/0.4692, allocations: 77.86 kB / 481.5 MB, free: 11.95 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001338/0.4706, allocations: 220.6 kB / 481.7 MB, free: 11.89 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003871/0.471, allocations: 349.8 kB / 482.1 MB, free: 11.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002464/0.4712, allocations: 177.3 kB / 482.2 MB, free: 11.81 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003334/0.4715, allocations: 428.4 kB / 482.7 MB, free: 11.62 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.11e-07/0.4715, allocations: 0.875 kB / 482.7 MB, free: 11.62 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001808/0.4733, allocations: 1.109 MB / 483.8 MB, free: 11.41 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.0008613/0.4742, allocations: 455.8 kB / 484.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002857/0.4771, allocations: 2.21 MB / 486.4 MB, free: 9.73 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.065e-06/0.4771, allocations: 6.203 kB / 486.4 MB, free: 9.727 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001279/0.4783, allocations: 1.303 MB / 487.7 MB, free: 8.668 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002361/0.4807, allocations: 1.103 MB / 488.8 MB, free: 7.898 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005679/0.4864, allocations: 5.041 MB / 493.9 MB, free: 3.684 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002979/0.4867, allocations: 0.6221 MB / 494.5 MB, free: 3.191 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002401/0.4891, allocations: 1.36 MB / 495.9 MB, free: 1.93 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007065/0.4898, allocations: 280.4 kB / 496.1 MB, free: 1.656 MB / 378.7 MB Notification: Performance of SimCode: time 2.134e-06/0.4898, allocations: 4 kB / 496.1 MB, free: 1.652 MB / 378.7 MB Notification: Performance of Templates: time 0.05616/0.546, allocations: 58.57 MB / 0.5417 GB, free: 8.016 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.044788800179958]