Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31.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.0009354/0.0009354, allocations: 80.31 kB / 22.21 MB, free: 2.293 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.0009429/0.0009429, allocations: 170.5 kB / 25.61 MB, free: 8.914 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8992/0.8992, allocations: 177.1 MB / 206.1 MB, free: 4.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.1872/0.1872, allocations: 34.27 MB / 296.9 MB, free: 13.93 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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(ModelicaTest.Tables.CombiTable1Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 3.938 kB / 379.3 MB, free: 23.41 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.165e-05/2.302e-05, allocations: 10.86 kB / 379.3 MB, free: 23.4 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.002564/0.002587, allocations: 1.646 MB / 381 MB, free: 21.74 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008127/0.0034, allocations: 0.5181 MB / 381.5 MB, free: 21.21 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.451e-05/0.003475, allocations: 4 kB / 381.5 MB, free: 21.21 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003206/0.003795, allocations: 135.5 kB / 381.6 MB, free: 21.08 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003462/0.004141, allocations: 127.4 kB / 381.7 MB, free: 20.95 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003/0.004441, allocations: 95.69 kB / 381.8 MB, free: 20.86 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001773/0.004619, allocations: 99.72 kB / 381.9 MB, free: 20.76 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.498e-05/0.004714, allocations: 8 kB / 381.9 MB, free: 20.75 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.454e-05/0.004798, allocations: 59.86 kB / 382 MB, free: 20.7 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001204/0.004919, allocations: 83.83 kB / 382.1 MB, free: 20.61 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.463e-05/0.004933, allocations: 8 kB / 382.1 MB, free: 20.61 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.225e-05/0.005025, allocations: 43.92 kB / 382.1 MB, free: 20.56 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.846e-05/0.005074, allocations: 35.84 kB / 382.2 MB, free: 20.53 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.607e-05/0.0051, allocations: 11.94 kB / 382.2 MB, free: 20.52 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001689/0.005269, allocations: 107.5 kB / 382.3 MB, free: 20.41 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.005271, allocations: 0 / 382.3 MB, free: 20.41 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.005272, allocations: 0 / 382.3 MB, free: 20.41 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.005276, allocations: 0 / 382.3 MB, free: 20.41 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003501/0.005626, allocations: 463.7 kB / 382.7 MB, free: 19.92 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.005664, allocations: 12.03 kB / 382.7 MB, free: 19.91 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.1e-05/0.005705, allocations: 20.84 kB / 382.8 MB, free: 19.89 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001353/0.00584, allocations: 152.4 kB / 382.9 MB, free: 19.71 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.005852, allocations: 4.375 kB / 382.9 MB, free: 19.71 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.934e-05/0.005871, allocations: 4.375 kB / 382.9 MB, free: 19.71 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001053/0.005976, allocations: 66.81 kB / 383 MB, free: 19.63 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.005988, allocations: 192 / 383 MB, free: 19.63 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.267e-06/0.005997, allocations: 4.125 kB / 383 MB, free: 19.63 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.006003, allocations: 0 / 383 MB, free: 19.63 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.026e-05/0.006033, allocations: 11.98 kB / 383 MB, free: 19.62 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002523/0.006286, allocations: 272.4 kB / 383.3 MB, free: 19.32 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.46e-05/0.00635, allocations: 42.98 kB / 383.3 MB, free: 19.27 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.804e-05/0.006368, allocations: 15.69 kB / 383.3 MB, free: 19.25 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.582e-05/0.006384, allocations: 0 / 383.3 MB, free: 19.25 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.865e-05/0.006403, allocations: 45.41 kB / 383.4 MB, free: 19.2 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 1.503e-06/0.006404, allocations: 3.984 kB / 383.4 MB, free: 19.19 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005094/0.006914, allocations: 157.3 kB / 383.5 MB, free: 19.03 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.153e-05/0.006935, allocations: 51.41 kB / 383.6 MB, free: 18.97 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001398/0.007075, allocations: 266.7 kB / 383.8 MB, free: 18.69 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.844e-06/0.007083, allocations: 25.7 kB / 383.9 MB, free: 18.66 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.423e-05/0.007137, allocations: 174.8 kB / 384 MB, free: 18.48 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.499e-05/0.007162, allocations: 27.73 kB / 384.1 MB, free: 18.45 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.867e-05/0.007201, allocations: 31.36 kB / 384.1 MB, free: 18.41 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.35e-05/0.007254, allocations: 0.5001 MB / 384.6 MB, free: 17.9 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.795e-05/0.007272, allocations: 7.938 kB / 384.6 MB, free: 17.89 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.756e-05/0.00729, allocations: 7.984 kB / 384.6 MB, free: 17.89 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.376e-05/0.007334, allocations: 31.69 kB / 384.6 MB, free: 17.85 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.007335, allocations: 3.938 kB / 384.6 MB, free: 17.85 MB / 314.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.936e-05/0.007435, allocations: 77.58 kB / 384.7 MB, free: 17.77 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.108e-05/0.007446, allocations: 4 kB / 384.7 MB, free: 17.76 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.007451, allocations: 4 kB / 384.7 MB, free: 17.76 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.508e-06/0.007461, allocations: 0 / 384.7 MB, free: 17.76 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.558e-05/0.007537, allocations: 19.92 kB / 384.7 MB, free: 17.74 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.006e-06/0.00754, allocations: 4 kB / 384.8 MB, free: 17.73 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.764e-05/0.007567, allocations: 0 / 384.8 MB, free: 17.73 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.007574, allocations: 4 kB / 384.8 MB, free: 17.73 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 5.157e-05/0.007625, allocations: 164.5 kB / 384.9 MB, free: 17.56 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.494e-05/0.00766, allocations: 19.84 kB / 384.9 MB, free: 17.54 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001442/0.007804, allocations: 87.44 kB / 385 MB, free: 17.45 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.007806, allocations: 0 / 385 MB, free: 17.45 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.055e-06/0.007809, allocations: 8 kB / 385 MB, free: 17.44 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.007812, allocations: 0 / 385 MB, free: 17.44 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002983/0.00811, allocations: 357.5 kB / 385.4 MB, free: 17.05 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.008113, allocations: 0 / 385.4 MB, free: 17.05 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.468e-05/0.008168, allocations: 15.98 kB / 385.4 MB, free: 17.04 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.596e-06/0.008171, allocations: 4 kB / 385.4 MB, free: 17.03 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.871e-06/0.008177, allocations: 0 / 385.4 MB, free: 17.03 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.008179, allocations: 0 / 385.4 MB, free: 17.03 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.00818, allocations: 0 / 385.4 MB, free: 17.03 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001139/0.008294, allocations: 243.4 kB / 385.6 MB, free: 16.77 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.489e-05/0.008309, allocations: 19.94 kB / 385.7 MB, free: 16.75 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.412e-05/0.008323, allocations: 4 kB / 385.7 MB, free: 16.75 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.142e-05/0.008385, allocations: 4 kB / 385.7 MB, free: 16.74 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.662e-05/0.008411, allocations: 7.984 kB / 385.7 MB, free: 16.73 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.542e-06/0.008418, allocations: 4 kB / 385.7 MB, free: 16.73 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.631e-05/0.008494, allocations: 184.1 kB / 385.9 MB, free: 16.55 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008494, allocations: 0 / 385.9 MB, free: 16.55 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000271/0.008765, allocations: 23.94 kB / 385.9 MB, free: 16.53 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.001122/0.009887, allocations: 439.9 kB / 386.3 MB, free: 16.26 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.931e-05/0.009986, allocations: 39.59 kB / 386.3 MB, free: 16.21 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.009988, allocations: 0 / 386.3 MB, free: 16.21 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.01e-05/0.01002, allocations: 23.67 kB / 386.4 MB, free: 16.19 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003024/0.01032, allocations: 35 kB / 386.4 MB, free: 16.16 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003631/0.01068, allocations: 257 kB / 386.7 MB, free: 15.88 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.162e-05/0.01072, allocations: 83.19 kB / 386.7 MB, free: 15.77 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.709e-05/0.01077, allocations: 12.72 kB / 386.7 MB, free: 15.76 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.476e-05/0.01083, allocations: 78.2 kB / 386.8 MB, free: 15.68 MB / 314.7 MB Notification: Performance of SimCode: time 7.01e-07/0.01083, allocations: 4 kB / 386.8 MB, free: 15.68 MB / 314.7 MB Notification: Performance of Templates: time 0.003951/0.01478, allocations: 1.543 MB / 388.4 MB, free: 14.15 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test31/Test31.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: 2.9953886629082263]