Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test25.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.001756/0.001756, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.00217/0.00217, allocations: 161.7 kB / 24.27 MB, free: 172 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.563/1.563, allocations: 177.1 MB / 204.6 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 178] 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.3584/0.3584, allocations: 34.26 MB / 295.3 MB, free: 0.7188 MB / 266.7 MB " [Timeout remaining time 179] 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.CombiTable2Dv.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test25") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test25") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 0 / 377.3 MB, free: 2.938 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.547e-05/3.763e-05, allocations: 5.266 kB / 377.3 MB, free: 2.934 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test25): time 0.004301/0.004339, allocations: 1.67 MB / 379 MB, free: 1.25 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001637/0.005976, allocations: 0.5647 MB / 379.6 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.702e-05/0.006053, allocations: 0 / 379.6 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003686/0.006422, allocations: 55.67 kB / 379.6 MB, free: 0.625 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004269/0.006849, allocations: 95.53 kB / 379.7 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006603/0.007509, allocations: 179.4 kB / 379.9 MB, free: 364 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002423/0.007752, allocations: 91.8 kB / 380 MB, free: 272 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001352/0.007887, allocations: 12.22 kB / 380 MB, free: 256 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001268/0.008014, allocations: 51.83 kB / 380 MB, free: 204 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001432/0.008157, allocations: 43.88 kB / 380.1 MB, free: 160 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.445e-05/0.008181, allocations: 4 kB / 380.1 MB, free: 156 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001684/0.00835, allocations: 51.86 kB / 380.1 MB, free: 104 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.114e-05/0.008441, allocations: 23.92 kB / 380.1 MB, free: 80 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.267e-05/0.008503, allocations: 23.92 kB / 380.2 MB, free: 56 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003429/0.008846, allocations: 103.6 kB / 380.3 MB, free: 15.95 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.008852, allocations: 0 / 380.3 MB, free: 15.95 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.008854, allocations: 0 / 380.3 MB, free: 15.95 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.00886, allocations: 0 / 380.3 MB, free: 15.95 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000705/0.009565, allocations: 341.6 kB / 380.6 MB, free: 15.59 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/0.009612, allocations: 8.031 kB / 380.6 MB, free: 15.58 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.62e-05/0.009689, allocations: 24.78 kB / 380.6 MB, free: 15.56 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002519/0.00994, allocations: 137.6 kB / 380.8 MB, free: 15.4 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.655e-05/0.009957, allocations: 4.375 kB / 380.8 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.172e-05/0.009999, allocations: 8.375 kB / 380.8 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002269/0.01023, allocations: 66.22 kB / 380.8 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.563e-05/0.01024, allocations: 4.188 kB / 380.9 MB, free: 15.31 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.586e-05/0.01026, allocations: 4.125 kB / 380.9 MB, free: 15.31 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.01026, allocations: 0 / 380.9 MB, free: 15.31 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001701/0.01043, allocations: 47.89 kB / 380.9 MB, free: 15.26 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008691/0.0113, allocations: 252.5 kB / 381.1 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002818/0.01158, allocations: 70.52 kB / 381.2 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.938e-05/0.01167, allocations: 24.97 kB / 381.2 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.564e-05/0.0117, allocations: 0 / 381.2 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.748e-05/0.01174, allocations: 38.56 kB / 381.3 MB, free: 14.83 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 6.31e-07/0.01174, allocations: 0 / 381.3 MB, free: 14.83 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.001636/0.01337, allocations: 433.3 kB / 381.7 MB, free: 14.4 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.34e-05/0.01343, allocations: 55.34 kB / 381.8 MB, free: 14.34 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002133/0.01364, allocations: 183.2 kB / 381.9 MB, free: 14.14 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.709e-05/0.01367, allocations: 25.7 kB / 382 MB, free: 14.11 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.142e-05/0.01375, allocations: 100.1 kB / 382.1 MB, free: 14.01 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.755e-05/0.0138, allocations: 35.69 kB / 382.1 MB, free: 13.98 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.921e-05/0.01386, allocations: 29.72 kB / 382.1 MB, free: 13.94 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001886/0.01404, allocations: 322.8 kB / 382.4 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000153/0.0142, allocations: 59.95 kB / 382.5 MB, free: 13.56 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001389/0.01434, allocations: 55.95 kB / 382.6 MB, free: 13.5 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003007/0.01464, allocations: 124.8 kB / 382.7 MB, free: 13.38 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.01464, allocations: 0 / 382.7 MB, free: 13.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003905/0.01503, allocations: 173.7 kB / 382.8 MB, free: 13.2 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.01504, allocations: 8 kB / 382.9 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.01505, allocations: 3.984 kB / 382.9 MB, free: 13.19 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.972e-05/0.01507, allocations: 4 kB / 382.9 MB, free: 13.19 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001215/0.01519, allocations: 23.98 kB / 382.9 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/0.0152, allocations: 0 / 382.9 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.413e-05/0.01526, allocations: 7.984 kB / 382.9 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/0.01527, allocations: 8 kB / 382.9 MB, free: 13.15 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 (11): * Single equations (assignments): 11 * 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.0001308/0.0154, allocations: 133.8 kB / 383 MB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.541e-05/0.01545, allocations: 19.91 kB / 383 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004732/0.01592, allocations: 190.2 kB / 383.2 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.01592, allocations: 0 / 383.2 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.818e-06/0.01593, allocations: 0 / 383.2 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.01593, allocations: 3.984 kB / 383.2 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007492/0.01668, allocations: 443.7 kB / 383.7 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.01669, allocations: 0 / 383.7 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001259/0.01681, allocations: 23.98 kB / 383.7 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.01681, allocations: 0 / 383.7 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/0.01683, allocations: 4 kB / 383.7 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.282e-06/0.01683, allocations: 4.125 kB / 383.7 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.57e-06/0.01684, allocations: 7.984 kB / 383.7 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004587/0.0173, allocations: 277.1 kB / 384 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.852e-05/0.01732, allocations: 11.94 kB / 384 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.633e-05/0.01734, allocations: 11.94 kB / 384 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/0.01744, allocations: 11.92 kB / 384 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.082e-05/0.0175, allocations: 11.97 kB / 384 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.196e-05/0.01751, allocations: 8 kB / 384 MB, free: 11.93 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001303/0.01764, allocations: 138.3 kB / 384.2 MB, free: 11.8 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01764, allocations: 0 / 384.2 MB, free: 11.8 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002822/0.01792, allocations: 24 kB / 384.2 MB, free: 11.77 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.002226/0.02015, allocations: 0.4904 MB / 384.7 MB, free: 11.49 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003912/0.02054, allocations: 123.8 kB / 384.8 MB, free: 11.37 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.02054, allocations: 4 kB / 384.8 MB, free: 11.37 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001817/0.02072, allocations: 63.89 kB / 384.9 MB, free: 11.3 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004139/0.02114, allocations: 27.89 kB / 384.9 MB, free: 11.28 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007814/0.02192, allocations: 309.1 kB / 385.2 MB, free: 10.95 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001326/0.02205, allocations: 100.9 kB / 385.3 MB, free: 10.83 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001042/0.02215, allocations: 32.45 kB / 385.3 MB, free: 10.8 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.447e-05/0.02221, allocations: 20.48 kB / 385.4 MB, free: 10.78 MB / 362.7 MB Notification: Performance of SimCode: time 4.51e-07/0.02221, allocations: 8 kB / 385.4 MB, free: 10.77 MB / 362.7 MB Notification: Performance of Templates: time 0.005371/0.02758, allocations: 1.645 MB / 387 MB, free: 9.145 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test25.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test25.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test25 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test25/Test25.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test25.diff",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.906450648093596]