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.0008971/0.0008971, allocations: 72.08 kB / 21.69 MB, free: 2.859 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.0009476/0.0009476, allocations: 142.1 kB / 24.97 MB, free: 8.316 MB / 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.8747/0.8747, allocations: 173.3 MB / 201.5 MB, free: 9.32 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.1 MB, free: 6.727 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.427e-05/1.551e-05, allocations: 2.312 kB / 268.1 MB, free: 6.723 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.2172/0.2172, allocations: 144.5 MB / 412.6 MB, free: 9.121 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.000902/0.2181, allocations: 0.7081 MB / 413.3 MB, free: 8.43 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.267e-05/0.2182, allocations: 4 kB / 413.3 MB, free: 8.426 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003367/0.2186, allocations: 63.53 kB / 413.4 MB, free: 8.363 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004547/0.219, allocations: 305.3 kB / 413.7 MB, free: 8.074 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001977/0.221, allocations: 1.151 MB / 414.8 MB, free: 6.918 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.00342/0.2244, allocations: 5.683 MB / 420.5 MB, free: 1.215 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002116/0.2246, allocations: 100.1 kB / 420.6 MB, free: 1.09 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00341/0.228, allocations: 2.968 MB / 423.6 MB, free: 14.12 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002801/0.2308, allocations: 2.105 MB / 425.7 MB, free: 12.01 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005218/0.2314, allocations: 240 kB / 425.9 MB, free: 11.77 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002068/0.2334, allocations: 1.486 MB / 427.4 MB, free: 10.29 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009108/0.2343, allocations: 1.29 MB / 428.7 MB, free: 8.992 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001152/0.2355, allocations: 1.267 MB / 429.9 MB, free: 7.723 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003374/0.2389, allocations: 4.106 MB / 434.1 MB, free: 3.605 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.2389, allocations: 0 / 434.1 MB, free: 3.605 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.2389, allocations: 4 kB / 434.1 MB, free: 3.602 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.573e-05/0.2389, allocations: 0 / 434.1 MB, free: 3.602 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.1501/0.389, allocations: 3.646 MB / 437.7 MB, free: 19.04 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.3891, allocations: 10.64 kB / 437.7 MB, free: 19.04 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002669/0.3917, allocations: 0.6345 MB / 438.3 MB, free: 18.92 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002036/0.3938, allocations: 1.156 MB / 439.5 MB, free: 18.74 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001343/0.3939, allocations: 179.8 kB / 439.7 MB, free: 18.73 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004378/0.3943, allocations: 280.4 kB / 440 MB, free: 18.73 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003525/0.3979, allocations: 4.086 MB / 444 MB, free: 15.95 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.617e-05/0.3979, allocations: 2.094 kB / 444 MB, free: 15.95 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002403/0.3981, allocations: 111.2 kB / 444.1 MB, free: 15.95 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.741e-05/0.3982, allocations: 60.28 kB / 444.2 MB, free: 15.95 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003599/0.4018, allocations: 2.7 MB / 446.9 MB, free: 15.91 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008097/0.4099, allocations: 5.487 MB / 452.4 MB, free: 15.32 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002536/0.4124, allocations: 2.812 MB / 455.2 MB, free: 15.11 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001133/0.4136, allocations: 1.042 MB / 456.2 MB, free: 15.08 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000286/0.4139, allocations: 134.9 kB / 456.4 MB, free: 15.08 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.692e-05/0.4139, allocations: 97.02 kB / 456.5 MB, free: 15.03 MB / 378.7 MB Notification: Performance of pre-optimization done (n=390): time 5.982e-06/0.4139, allocations: 0 / 456.5 MB, free: 15.03 MB / 378.7 MB Notification: Performance of matching and sorting (n=390): time 0.003599/0.4175, allocations: 2.779 MB / 459.3 MB, free: 14.8 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.736e-05/0.4176, allocations: 90.19 kB / 459.3 MB, free: 14.74 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004029/0.418, allocations: 0.6382 MB / 460 MB, free: 14.54 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001944/0.4182, allocations: 104.5 kB / 460.1 MB, free: 14.51 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001773/0.4183, allocations: 0.613 MB / 460.7 MB, free: 14.12 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005534/0.4189, allocations: 1.427 MB / 462.1 MB, free: 13.22 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005935/0.4195, allocations: 0.673 MB / 462.8 MB, free: 13.18 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.414e-05/0.4195, allocations: 0.5173 MB / 463.3 MB, free: 12.7 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009154/0.4205, allocations: 0.6055 MB / 463.9 MB, free: 12.69 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001162/0.4216, allocations: 1.347 MB / 465.3 MB, free: 12.06 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002296/0.4239, allocations: 2.184 MB / 467.4 MB, free: 11.39 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.026e-05/0.4239, allocations: 3.562 kB / 467.5 MB, free: 11.39 MB / 378.7 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.003047/0.427, allocations: 2.5 MB / 470 MB, free: 11.18 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.427, allocations: 12.38 kB / 470 MB, free: 11.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.284e-05/0.427, allocations: 9.281 kB / 470 MB, free: 11.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.579e-05/0.427, allocations: 27.03 kB / 470 MB, free: 11.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001743/0.4288, allocations: 0.7907 MB / 470.8 MB, free: 11.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.448e-05/0.4288, allocations: 36.45 kB / 470.8 MB, free: 11.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009903/0.4298, allocations: 340.2 kB / 471.2 MB, free: 11.03 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001705/0.43, allocations: 147.8 kB / 471.3 MB, free: 11.03 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.0005144/0.4305, allocations: 376.7 kB / 471.7 MB, free: 10.86 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004163/0.4309, allocations: 320.4 kB / 472 MB, free: 10.77 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00362/0.4345, allocations: 3.067 MB / 475 MB, free: 10.52 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.731e-05/0.4345, allocations: 42.53 kB / 475.1 MB, free: 10.52 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.4345, allocations: 0 / 475.1 MB, free: 10.52 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.152e-05/0.4346, allocations: 20.53 kB / 475.1 MB, free: 10.52 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001833/0.4364, allocations: 1.582 MB / 476.7 MB, free: 10.24 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.01e-05/0.4364, allocations: 2.594 kB / 476.7 MB, free: 10.24 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001589/0.438, allocations: 0.7258 MB / 477.4 MB, free: 10.24 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.476e-05/0.438, allocations: 17.11 kB / 477.4 MB, free: 10.24 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001495/0.4382, allocations: 90.61 kB / 477.5 MB, free: 10.24 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.048e-05/0.4382, allocations: 16.09 kB / 477.5 MB, free: 10.24 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.4382, allocations: 0 / 477.5 MB, free: 10.24 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00404/0.4422, allocations: 3.451 MB / 481 MB, free: 9.754 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001462/0.4424, allocations: 232.9 kB / 481.2 MB, free: 9.598 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002096/0.4426, allocations: 87.48 kB / 481.3 MB, free: 9.535 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001143/0.4437, allocations: 222.9 kB / 481.5 MB, free: 9.473 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000392/0.4441, allocations: 342 kB / 481.9 MB, free: 9.434 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000228/0.4443, allocations: 181.4 kB / 482 MB, free: 9.395 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002732/0.4446, allocations: 430.2 kB / 482.5 MB, free: 9.203 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.4446, allocations: 1.094 kB / 482.5 MB, free: 9.203 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001444/0.4461, allocations: 1.103 MB / 483.6 MB, free: 9.004 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.000836/0.4469, allocations: 469.5 kB / 484 MB, free: 8.816 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002439/0.4493, allocations: 2.205 MB / 486.2 MB, free: 7.766 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/0.4493, allocations: 9 kB / 486.2 MB, free: 7.754 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001217/0.4506, allocations: 1.299 MB / 487.5 MB, free: 6.699 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002311/0.4529, allocations: 1.113 MB / 488.6 MB, free: 5.922 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005281/0.4581, allocations: 5.034 MB / 493.7 MB, free: 1.707 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003128/0.4585, allocations: 0.6227 MB / 494.3 MB, free: 1.215 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002157/0.4606, allocations: 1.355 MB / 495.7 MB, free: 304 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006266/0.4612, allocations: 292.4 kB / 495.9 MB, free: 12 kB / 378.7 MB Notification: Performance of SimCode: time 1.092e-06/0.4612, allocations: 0 / 495.9 MB, free: 12 kB / 378.7 MB Notification: Performance of Templates: time 0.05134/0.5126, allocations: 58.56 MB / 0.5415 GB, free: 6.379 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: 4.694577106973156]