Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.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.97 kB / 22.21 MB, free: 2.289 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.001173/0.001173, allocations: 163.9 kB / 25.61 MB, free: 8.582 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 1.02/1.02, allocations: 177.1 MB / 206 MB, free: 4.492 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.1373/0.1373, allocations: 32.8 MB / 295.4 MB, free: 15.48 MB / 282.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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 377.3 MB, free: 25.6 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.02e-05/2.207e-05, allocations: 2.312 kB / 377.3 MB, free: 25.6 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test20): time 0.002878/0.0029, allocations: 1.629 MB / 378.9 MB, free: 23.96 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001645/0.004546, allocations: 1.258 MB / 380.2 MB, free: 22.69 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.417e-05/0.00463, allocations: 4 kB / 380.2 MB, free: 22.69 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002679/0.004898, allocations: 27.78 kB / 380.2 MB, free: 22.66 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003828/0.005281, allocations: 87.55 kB / 380.3 MB, free: 22.57 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002777/0.005558, allocations: 91.64 kB / 380.4 MB, free: 22.48 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001601/0.005719, allocations: 75.75 kB / 380.5 MB, free: 22.41 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.853e-05/0.005817, allocations: 7.859 kB / 380.5 MB, free: 22.4 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.458e-05/0.005892, allocations: 43.84 kB / 380.5 MB, free: 22.36 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001094/0.006001, allocations: 23.91 kB / 380.5 MB, free: 22.34 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.674e-05/0.006018, allocations: 4 kB / 380.5 MB, free: 22.33 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001716/0.006189, allocations: 91.81 kB / 380.6 MB, free: 22.24 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.206e-05/0.006241, allocations: 15.92 kB / 380.6 MB, free: 22.23 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.005e-05/0.006272, allocations: 15.92 kB / 380.6 MB, free: 22.21 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000227/0.006499, allocations: 127.6 kB / 380.8 MB, free: 22.09 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.434e-06/0.006501, allocations: 0 / 380.8 MB, free: 22.09 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.006502, allocations: 4 kB / 380.8 MB, free: 22.08 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.998e-06/0.006506, allocations: 0 / 380.8 MB, free: 22.08 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004035/0.006909, allocations: 424 kB / 381.2 MB, free: 21.63 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.00695, allocations: 23.91 kB / 381.2 MB, free: 21.61 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.263e-05/0.006993, allocations: 8.891 kB / 381.2 MB, free: 21.6 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000155/0.007148, allocations: 132.5 kB / 381.4 MB, free: 21.45 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.007159, allocations: 4.375 kB / 381.4 MB, free: 21.44 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.015e-05/0.007179, allocations: 4.375 kB / 381.4 MB, free: 21.44 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001437/0.007323, allocations: 99.95 kB / 381.5 MB, free: 21.32 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.707e-05/0.00734, allocations: 4.188 kB / 381.5 MB, free: 21.31 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.007353, allocations: 16.11 kB / 381.5 MB, free: 21.3 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.007359, allocations: 0 / 381.5 MB, free: 21.3 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.343e-05/0.007393, allocations: 8 kB / 381.5 MB, free: 21.29 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002613/0.007654, allocations: 256.4 kB / 381.7 MB, free: 21.01 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001581/0.007812, allocations: 42.98 kB / 381.8 MB, free: 20.96 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.393e-05/0.007826, allocations: 7.688 kB / 381.8 MB, free: 20.95 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.633e-05/0.007842, allocations: 4 kB / 381.8 MB, free: 20.94 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.743e-05/0.00786, allocations: 45.31 kB / 381.8 MB, free: 20.89 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 1.313e-06/0.007861, allocations: 0 / 381.8 MB, free: 20.89 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002729/0.008134, allocations: 89.59 kB / 381.9 MB, free: 20.79 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.705e-05/0.008161, allocations: 81.09 kB / 382 MB, free: 20.7 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.847e-05/0.00824, allocations: 192.1 kB / 382.2 MB, free: 20.49 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.373e-06/0.008247, allocations: 29.7 kB / 382.2 MB, free: 20.46 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.302e-05/0.00828, allocations: 142.9 kB / 382.4 MB, free: 20.31 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.742e-05/0.008298, allocations: 19.84 kB / 382.4 MB, free: 20.29 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.682e-05/0.008324, allocations: 23.38 kB / 382.4 MB, free: 20.26 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.85e-05/0.008383, allocations: 0.4923 MB / 382.9 MB, free: 19.76 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.112e-05/0.008394, allocations: 4 kB / 382.9 MB, free: 19.75 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.865e-05/0.008423, allocations: 53 kB / 382.9 MB, free: 19.69 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.864e-05/0.008451, allocations: 23.67 kB / 383 MB, free: 19.66 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.008453, allocations: 8.031 kB / 383 MB, free: 19.65 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.269e-05/0.008516, allocations: 57.58 kB / 383 MB, free: 19.59 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.008528, allocations: 4 kB / 383 MB, free: 19.59 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.008533, allocations: 0 / 383 MB, free: 19.59 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.909e-06/0.008543, allocations: 4 kB / 383 MB, free: 19.58 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.687e-05/0.00858, allocations: 8 kB / 383.1 MB, free: 19.57 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.775e-06/0.008582, allocations: 0 / 383.1 MB, free: 19.57 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.08e-05/0.008603, allocations: 11.92 kB / 383.1 MB, free: 19.56 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.869e-06/0.008608, allocations: 3.938 kB / 383.1 MB, free: 19.56 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 (5): * Single equations (assignments): 5 * 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 4.492e-05/0.008653, allocations: 160.6 kB / 383.2 MB, free: 19.39 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.155e-05/0.008675, allocations: 15.89 kB / 383.2 MB, free: 19.38 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.446e-05/0.008769, allocations: 66.33 kB / 383.3 MB, free: 19.3 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.063e-06/0.008771, allocations: 64 / 383.3 MB, free: 19.3 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.008774, allocations: 4 kB / 383.3 MB, free: 19.3 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.008778, allocations: 0 / 383.3 MB, free: 19.3 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001931/0.008971, allocations: 298 kB / 383.6 MB, free: 18.98 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.008972, allocations: 0 / 383.6 MB, free: 18.98 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.698e-05/0.008999, allocations: 11.98 kB / 383.6 MB, free: 18.96 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.009001, allocations: 0 / 383.6 MB, free: 18.96 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.04e-06/0.009007, allocations: 0 / 383.6 MB, free: 18.96 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.01e-07/0.009007, allocations: 8 kB / 383.6 MB, free: 18.96 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.009008, allocations: 0 / 383.6 MB, free: 18.96 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.932e-05/0.009088, allocations: 207.8 kB / 383.8 MB, free: 18.73 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.085e-05/0.009098, allocations: 11.94 kB / 383.8 MB, free: 18.72 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.216e-05/0.009111, allocations: 4 kB / 383.8 MB, free: 18.72 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.147e-05/0.009142, allocations: 3.984 kB / 383.8 MB, free: 18.71 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.671e-05/0.009169, allocations: 4 kB / 383.8 MB, free: 18.71 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.006e-06/0.009172, allocations: 0 / 383.8 MB, free: 18.71 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.763e-05/0.009209, allocations: 147.2 kB / 384 MB, free: 18.57 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.00921, allocations: 0 / 384 MB, free: 18.57 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001895/0.009399, allocations: 35.92 kB / 384 MB, free: 18.53 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.0009166/0.01032, allocations: 499.9 kB / 384.5 MB, free: 18.23 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.049e-05/0.0104, allocations: 27.67 kB / 384.5 MB, free: 18.2 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.0104, allocations: 4 kB / 384.5 MB, free: 18.19 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.749e-05/0.01042, allocations: 27.61 kB / 384.6 MB, free: 18.16 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001955/0.01061, allocations: 19.92 kB / 384.6 MB, free: 18.14 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002403/0.01085, allocations: 155.9 kB / 384.7 MB, free: 17.96 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.387e-05/0.01088, allocations: 63.22 kB / 384.8 MB, free: 17.88 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.345e-05/0.01091, allocations: 15.97 kB / 384.8 MB, free: 17.86 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.398e-05/0.01096, allocations: 86.19 kB / 384.9 MB, free: 17.78 MB / 314.7 MB Notification: Performance of SimCode: time 3.8e-07/0.01096, allocations: 0 / 384.9 MB, free: 17.78 MB / 314.7 MB Notification: Performance of Templates: time 0.003294/0.01426, allocations: 2.044 MB / 386.9 MB, free: 15.75 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test20/Test20.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.3616445348598063]