Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.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.000955/0.000955, allocations: 79.59 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.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.0009596/0.0009596, allocations: 161 kB / 24.56 MB, free: 16 kB / 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 1.013/1.013, allocations: 177.1 MB / 205 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2921/0.2921, allocations: 32.81 MB / 294.3 MB, free: 1.27 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test28,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.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test28,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.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 376 MB, free: 4.656 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.829e-05/1.974e-05, allocations: 2.312 kB / 376 MB, free: 4.652 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test28): time 0.002033/0.002053, allocations: 1.664 MB / 377.7 MB, free: 2.977 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007134/0.002766, allocations: 0.5376 MB / 378.2 MB, free: 2.434 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.025e-05/0.002827, allocations: 0 / 378.2 MB, free: 2.434 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002746/0.003101, allocations: 107.6 kB / 378.3 MB, free: 2.328 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002719/0.003373, allocations: 131.4 kB / 378.5 MB, free: 2.199 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002159/0.003589, allocations: 91.69 kB / 378.6 MB, free: 2.109 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001493/0.003738, allocations: 95.67 kB / 378.7 MB, free: 2.016 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.00384, allocations: 8 kB / 378.7 MB, free: 2.008 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.718e-05/0.003908, allocations: 51.88 kB / 378.7 MB, free: 1.957 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001009/0.004008, allocations: 71.84 kB / 378.8 MB, free: 1.887 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.465e-05/0.004023, allocations: 4 kB / 378.8 MB, free: 1.883 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.013e-05/0.004103, allocations: 43.92 kB / 378.8 MB, free: 1.84 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.825e-05/0.004152, allocations: 15.94 kB / 378.8 MB, free: 1.824 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.239e-05/0.004184, allocations: 27.84 kB / 378.9 MB, free: 1.797 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001528/0.004337, allocations: 99.59 kB / 379 MB, free: 1.699 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.004339, allocations: 0 / 379 MB, free: 1.699 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.004339, allocations: 0 / 379 MB, free: 1.699 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.038e-06/0.004343, allocations: 0 / 379 MB, free: 1.699 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004071/0.00475, allocations: 455.8 kB / 379.4 MB, free: 1.219 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.004786, allocations: 12.03 kB / 379.4 MB, free: 1.207 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.196e-05/0.004828, allocations: 16.84 kB / 379.4 MB, free: 1.191 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001301/0.004958, allocations: 149.2 kB / 379.6 MB, free: 1.016 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.178e-06/0.004967, allocations: 4.375 kB / 379.6 MB, free: 1.012 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.366e-05/0.004991, allocations: 4.375 kB / 379.6 MB, free: 1.008 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001112/0.005102, allocations: 70.88 kB / 379.7 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.00511, allocations: 192 / 379.7 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.005121, allocations: 4.125 kB / 379.7 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.005128, allocations: 0 / 379.7 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.171e-05/0.00516, allocations: 8 kB / 379.7 MB, free: 0.918 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002952/0.005455, allocations: 295.7 kB / 380 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.682e-05/0.005522, allocations: 50.97 kB / 380 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.281e-05/0.005545, allocations: 19.7 kB / 380 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.227e-05/0.005567, allocations: 0 / 380 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.271e-05/0.00559, allocations: 41.39 kB / 380.1 MB, free: 468 kB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.193e-06/0.005591, allocations: 4 kB / 380.1 MB, free: 464 kB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005006/0.006091, allocations: 169.2 kB / 380.2 MB, free: 288 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.554e-05/0.006117, allocations: 51.41 kB / 380.3 MB, free: 224 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001603/0.006277, allocations: 263.1 kB / 380.6 MB, free: 15.95 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.779e-06/0.006287, allocations: 29.64 kB / 380.6 MB, free: 15.91 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.215e-05/0.006349, allocations: 166.9 kB / 380.7 MB, free: 15.74 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.878e-05/0.006378, allocations: 27.73 kB / 380.8 MB, free: 15.71 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.264e-05/0.006411, allocations: 27.38 kB / 380.8 MB, free: 15.68 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001227/0.006533, allocations: 0.5117 MB / 381.3 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.224e-05/0.006556, allocations: 7.984 kB / 381.3 MB, free: 15.15 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.564e-05/0.006571, allocations: 8 kB / 381.3 MB, free: 15.14 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.927e-05/0.00662, allocations: 39.89 kB / 381.4 MB, free: 15.1 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.006622, allocations: 0 / 381.4 MB, free: 15.1 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.889e-05/0.00671, allocations: 77.59 kB / 381.4 MB, free: 15.02 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.006723, allocations: 6.031 kB / 381.4 MB, free: 15.01 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.006727, allocations: 4 kB / 381.5 MB, free: 15.01 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.006742, allocations: 0 / 381.5 MB, free: 15.01 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.264e-05/0.006814, allocations: 19.92 kB / 381.5 MB, free: 14.99 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.006819, allocations: 0 / 381.5 MB, free: 14.99 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.92e-05/0.006838, allocations: 8 kB / 381.5 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-06/0.006843, allocations: 0 / 381.5 MB, free: 14.98 MB / 362.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 6.964e-05/0.006913, allocations: 164.5 kB / 381.6 MB, free: 14.81 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.244e-05/0.006935, allocations: 15.91 kB / 381.7 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001286/0.007064, allocations: 95.05 kB / 381.7 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.007068, allocations: 4 kB / 381.8 MB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.007073, allocations: 4 kB / 381.8 MB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.007076, allocations: 0 / 381.8 MB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002838/0.00736, allocations: 384.9 kB / 382.1 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.007362, allocations: 8.031 kB / 382.1 MB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.746e-05/0.007399, allocations: 12 kB / 382.1 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.007401, allocations: 0 / 382.1 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.007408, allocations: 3.984 kB / 382.2 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.00741, allocations: 4 kB / 382.2 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.007411, allocations: 0 / 382.2 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001207/0.007531, allocations: 235.4 kB / 382.4 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.127e-05/0.007543, allocations: 15.91 kB / 382.4 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.391e-05/0.007557, allocations: 4 kB / 382.4 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.314e-05/0.00759, allocations: 3.984 kB / 382.4 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.986e-05/0.00762, allocations: 11.94 kB / 382.4 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.428e-06/0.007624, allocations: 4 kB / 382.4 MB, free: 13.95 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.822e-05/0.007702, allocations: 183.1 kB / 382.6 MB, free: 13.77 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007702, allocations: 0 / 382.6 MB, free: 13.77 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001682/0.00787, allocations: 20 kB / 382.6 MB, free: 13.75 MB / 362.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.0009558/0.008826, allocations: 440.1 kB / 383.1 MB, free: 13.47 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001032/0.008929, allocations: 47.59 kB / 383.1 MB, free: 13.42 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.008932, allocations: 4 kB / 383.1 MB, free: 13.42 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.935e-05/0.008961, allocations: 31.61 kB / 383.1 MB, free: 13.38 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002046/0.009166, allocations: 16 kB / 383.2 MB, free: 13.37 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003422/0.009508, allocations: 249.5 kB / 383.4 MB, free: 13.09 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.485e-05/0.009553, allocations: 71.33 kB / 383.5 MB, free: 13 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.321e-05/0.009586, allocations: 17.03 kB / 383.5 MB, free: 12.98 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.044e-05/0.009617, allocations: 16.48 kB / 383.5 MB, free: 12.97 MB / 362.7 MB Notification: Performance of SimCode: time 7.31e-07/0.009617, allocations: 4.062 kB / 383.5 MB, free: 12.96 MB / 362.7 MB Notification: Performance of Templates: time 0.003322/0.01294, allocations: 1.388 MB / 384.9 MB, free: 11.59 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test28/Test28.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: 3.4947633147239685]