Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.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.001482/0.001482, allocations: 80.31 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.001211/0.001211, allocations: 172.4 kB / 25.61 MB, free: 8.902 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.068/1.068, allocations: 177.1 MB / 206 MB, free: 4.496 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.1465/0.1465, allocations: 32.81 MB / 295.4 MB, free: 15.37 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.Test32,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.Test32") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test32,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.Test32") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.734e-06/1.734e-06, allocations: 0 / 377.3 MB, free: 25.57 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.682e-05/1.856e-05, allocations: 6.141 kB / 377.3 MB, free: 25.57 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test32): time 0.001983/0.002001, allocations: 1.642 MB / 378.9 MB, free: 23.91 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006846/0.002686, allocations: 0.5298 MB / 379.5 MB, free: 23.38 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.101e-05/0.002747, allocations: 0 / 379.5 MB, free: 23.38 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002665/0.003013, allocations: 107.7 kB / 379.6 MB, free: 23.27 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002474/0.003261, allocations: 123.5 kB / 379.7 MB, free: 23.15 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002045/0.003465, allocations: 99.56 kB / 379.8 MB, free: 23.05 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001478/0.003613, allocations: 87.8 kB / 379.9 MB, free: 22.96 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.003716, allocations: 11.98 kB / 379.9 MB, free: 22.95 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.962e-05/0.003786, allocations: 55.77 kB / 379.9 MB, free: 22.9 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001017/0.003887, allocations: 67.91 kB / 380 MB, free: 22.83 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.443e-05/0.003902, allocations: 4 kB / 380 MB, free: 22.83 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.634e-05/0.003978, allocations: 47.92 kB / 380 MB, free: 22.78 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.692e-05/0.004025, allocations: 27.84 kB / 380.1 MB, free: 22.75 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.51e-05/0.00405, allocations: 15.94 kB / 380.1 MB, free: 22.74 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001505/0.004201, allocations: 95.59 kB / 380.2 MB, free: 22.64 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.673e-06/0.004202, allocations: 0 / 380.2 MB, free: 22.64 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.004203, allocations: 0 / 380.2 MB, free: 22.64 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.004208, allocations: 0 / 380.2 MB, free: 22.64 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.0003614/0.004569, allocations: 463.7 kB / 380.6 MB, free: 22.16 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.004607, allocations: 15.98 kB / 380.6 MB, free: 22.14 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.673e-05/0.004654, allocations: 20.84 kB / 380.7 MB, free: 22.12 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001336/0.004787, allocations: 145.2 kB / 380.8 MB, free: 21.95 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.0048, allocations: 4.375 kB / 380.8 MB, free: 21.95 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.719e-05/0.004818, allocations: 4.375 kB / 380.8 MB, free: 21.94 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.261e-05/0.00491, allocations: 58.94 kB / 380.9 MB, free: 21.88 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.00492, allocations: 4.188 kB / 380.9 MB, free: 21.87 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.655e-06/0.004928, allocations: 8.109 kB / 380.9 MB, free: 21.86 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.004931, allocations: 0 / 380.9 MB, free: 21.86 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.236e-05/0.004954, allocations: 11.92 kB / 380.9 MB, free: 21.85 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002128/0.005167, allocations: 268.4 kB / 381.2 MB, free: 21.56 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.867e-05/0.005215, allocations: 50.97 kB / 381.2 MB, free: 21.5 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.516e-05/0.00523, allocations: 15.62 kB / 381.2 MB, free: 21.48 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.616e-05/0.005247, allocations: 4 kB / 381.2 MB, free: 21.48 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.413e-05/0.005261, allocations: 37.33 kB / 381.3 MB, free: 21.43 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.005262, allocations: 0 / 381.3 MB, free: 21.43 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004286/0.00569, allocations: 149.5 kB / 381.4 MB, free: 21.28 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.102e-05/0.005711, allocations: 51.41 kB / 381.5 MB, free: 21.21 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001009/0.005812, allocations: 260.9 kB / 381.7 MB, free: 20.95 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.161e-06/0.005818, allocations: 33.7 kB / 381.8 MB, free: 20.91 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.387e-05/0.005862, allocations: 162.8 kB / 381.9 MB, free: 20.74 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.089e-05/0.005883, allocations: 31.73 kB / 381.9 MB, free: 20.71 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.731e-05/0.00591, allocations: 23.38 kB / 382 MB, free: 20.68 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.82e-05/0.005969, allocations: 0.504 MB / 382.5 MB, free: 20.16 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.272e-05/0.005981, allocations: 8 kB / 382.5 MB, free: 20.16 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.456e-05/0.005996, allocations: 12.05 kB / 382.5 MB, free: 20.14 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.283e-05/0.006029, allocations: 31.62 kB / 382.5 MB, free: 20.11 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.00603, allocations: 3.938 kB / 382.5 MB, free: 20.11 MB / 314.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 7.258e-05/0.006103, allocations: 77.58 kB / 382.6 MB, free: 20.02 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/0.006114, allocations: 4 kB / 382.6 MB, free: 20.02 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.006118, allocations: 8 kB / 382.6 MB, free: 20.01 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.138e-06/0.006127, allocations: 0 / 382.6 MB, free: 20.01 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.667e-05/0.006184, allocations: 15.98 kB / 382.6 MB, free: 20 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.755e-06/0.006186, allocations: 0 / 382.6 MB, free: 20 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.833e-05/0.006205, allocations: 4 kB / 382.6 MB, free: 19.99 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-06/0.00621, allocations: 3.938 kB / 382.6 MB, free: 19.99 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.141e-05/0.006262, allocations: 164.5 kB / 382.8 MB, free: 19.82 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.096e-05/0.006282, allocations: 11.95 kB / 382.8 MB, free: 19.8 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001025/0.006385, allocations: 83.08 kB / 382.9 MB, free: 19.71 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.006387, allocations: 4 kB / 382.9 MB, free: 19.71 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.833e-06/0.006389, allocations: 4 kB / 382.9 MB, free: 19.71 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.006392, allocations: 0 / 382.9 MB, free: 19.71 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00024/0.006632, allocations: 353.5 kB / 383.2 MB, free: 19.32 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.006634, allocations: 0 / 383.2 MB, free: 19.32 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.71e-05/0.006671, allocations: 19.92 kB / 383.3 MB, free: 19.3 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.006674, allocations: 4 kB / 383.3 MB, free: 19.3 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.001e-06/0.00668, allocations: 4 kB / 383.3 MB, free: 19.3 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.21e-07/0.006681, allocations: 0 / 383.3 MB, free: 19.3 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.006682, allocations: 0 / 383.3 MB, free: 19.3 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.511e-05/0.006767, allocations: 239.9 kB / 383.5 MB, free: 19.04 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.898e-06/0.006777, allocations: 12.33 kB / 383.5 MB, free: 19.03 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.267e-05/0.00679, allocations: 7.984 kB / 383.5 MB, free: 19.02 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.158e-05/0.006821, allocations: 0 / 383.5 MB, free: 19.02 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.798e-05/0.006849, allocations: 7.938 kB / 383.5 MB, free: 19.01 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-06/0.006853, allocations: 3.984 kB / 383.5 MB, free: 19.01 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.936e-05/0.006902, allocations: 175.1 kB / 383.7 MB, free: 18.84 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006902, allocations: 0 / 383.7 MB, free: 18.84 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001635/0.007066, allocations: 23.92 kB / 383.7 MB, free: 18.81 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.001002/0.008067, allocations: 443.6 kB / 384.2 MB, free: 18.55 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.201e-05/0.008149, allocations: 43.59 kB / 384.2 MB, free: 18.51 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.008152, allocations: 4 kB / 384.2 MB, free: 18.5 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.419e-05/0.008176, allocations: 27.67 kB / 384.2 MB, free: 18.47 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002074/0.008383, allocations: 22.77 kB / 384.3 MB, free: 18.45 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002951/0.008678, allocations: 245.4 kB / 384.5 MB, free: 18.18 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.01e-05/0.008708, allocations: 71.33 kB / 384.6 MB, free: 18.09 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.39e-05/0.008742, allocations: 17.09 kB / 384.6 MB, free: 18.07 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.572e-05/0.008788, allocations: 82.19 kB / 384.7 MB, free: 17.99 MB / 314.7 MB Notification: Performance of SimCode: time 6.52e-07/0.008789, allocations: 0 / 384.7 MB, free: 17.99 MB / 314.7 MB Notification: Performance of Templates: time 0.003027/0.01182, allocations: 1.543 MB / 386.2 MB, free: 16.46 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test32/Test32.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.2193929739296436]