Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.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.0009004/0.0009004, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.0008987/0.0008987, allocations: 170.4 kB / 24.91 MB, free: 8.723 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.8989/0.8989, allocations: 177.1 MB / 205.3 MB, free: 4.492 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.1653/0.1653, allocations: 34.26 MB / 296.1 MB, free: 13.99 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.CombiTable2Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 325.3 MB, free: 0.7695 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.617e-05/1.776e-05, allocations: 2.312 kB / 325.3 MB, free: 0.7656 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test2): time 0.005493/0.005511, allocations: 1.711 MB / 327 MB, free: 15.04 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007928/0.006304, allocations: 0.5607 MB / 327.5 MB, free: 14.48 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.426e-05/0.006348, allocations: 0 / 327.5 MB, free: 14.48 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004999/0.006848, allocations: 451 kB / 328 MB, free: 14.04 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003831/0.007231, allocations: 299.2 kB / 328.3 MB, free: 13.74 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00325/0.01048, allocations: 135.5 kB / 328.4 MB, free: 13.61 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001986/0.01068, allocations: 167.7 kB / 328.6 MB, free: 13.45 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.847e-05/0.01076, allocations: 19.92 kB / 328.6 MB, free: 13.43 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001295/0.01089, allocations: 127.8 kB / 328.7 MB, free: 13.3 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001861/0.01107, allocations: 199.6 kB / 328.9 MB, free: 13.11 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.481e-05/0.01109, allocations: 0 / 328.9 MB, free: 13.11 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.291e-05/0.01118, allocations: 55.92 kB / 329 MB, free: 13.05 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 9.228e-05/0.01127, allocations: 83.64 kB / 329 MB, free: 12.97 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.777e-05/0.01131, allocations: 35.75 kB / 329.1 MB, free: 12.93 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002351/0.01155, allocations: 215.1 kB / 329.3 MB, free: 12.72 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.01155, allocations: 0 / 329.3 MB, free: 12.72 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.31e-07/0.01155, allocations: 4 kB / 329.3 MB, free: 12.72 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.937e-06/0.01155, allocations: 0 / 329.3 MB, free: 12.72 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000508/0.01206, allocations: 0.5526 MB / 329.8 MB, free: 12.14 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.318e-05/0.01209, allocations: 12.03 kB / 329.9 MB, free: 12.13 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.525e-05/0.01214, allocations: 28.84 kB / 329.9 MB, free: 12.1 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000214/0.01235, allocations: 246.1 kB / 330.1 MB, free: 11.84 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.158e-06/0.01236, allocations: 384 / 330.1 MB, free: 11.84 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.408e-05/0.01239, allocations: 12.34 kB / 330.1 MB, free: 11.82 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.479e-05/0.01248, allocations: 58.89 kB / 330.2 MB, free: 11.76 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.01249, allocations: 4.188 kB / 330.2 MB, free: 11.75 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.734e-06/0.0125, allocations: 4.125 kB / 330.2 MB, free: 11.75 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.0125, allocations: 0 / 330.2 MB, free: 11.75 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.5e-05/0.01253, allocations: 11.98 kB / 330.2 MB, free: 11.74 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000211/0.01274, allocations: 176.2 kB / 330.4 MB, free: 11.55 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.823e-05/0.01279, allocations: 30.66 kB / 330.4 MB, free: 11.51 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.518e-05/0.0128, allocations: 12.84 kB / 330.4 MB, free: 11.5 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.473e-05/0.01282, allocations: 3.938 kB / 330.4 MB, free: 11.49 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.829e-05/0.01284, allocations: 38.56 kB / 330.5 MB, free: 11.45 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 7.22e-07/0.01284, allocations: 0 / 330.5 MB, free: 11.45 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.003451/0.01629, allocations: 149.5 kB / 330.6 MB, free: 11.29 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.179e-05/0.01632, allocations: 59.34 kB / 330.7 MB, free: 11.22 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003992/0.01672, allocations: 0.5244 MB / 331.2 MB, free: 10.68 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.312e-05/0.01673, allocations: 33.7 kB / 331.2 MB, free: 10.64 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.738e-05/0.0168, allocations: 145.3 kB / 331.4 MB, free: 10.5 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.243e-05/0.01682, allocations: 19.78 kB / 331.4 MB, free: 10.48 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.351e-05/0.01686, allocations: 25.7 kB / 331.4 MB, free: 10.45 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000103/0.01696, allocations: 362.6 kB / 331.8 MB, free: 10.08 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.591e-05/0.01697, allocations: 8 kB / 331.8 MB, free: 10.07 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.381e-05/0.01699, allocations: 4 kB / 331.8 MB, free: 10.07 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.448e-05/0.01703, allocations: 28.83 kB / 331.8 MB, free: 10.04 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.01703, allocations: 0 / 331.8 MB, free: 10.04 MB / 314.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.657e-05/0.01712, allocations: 77.88 kB / 331.9 MB, free: 9.957 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.01713, allocations: 11.94 kB / 331.9 MB, free: 9.945 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.01714, allocations: 0 / 331.9 MB, free: 9.945 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.01715, allocations: 0 / 331.9 MB, free: 9.945 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.267e-05/0.01721, allocations: 12 kB / 331.9 MB, free: 9.934 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.146e-06/0.01721, allocations: 3.984 kB / 331.9 MB, free: 9.93 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.298e-05/0.01725, allocations: 4 kB / 331.9 MB, free: 9.926 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-06/0.01725, allocations: 0 / 331.9 MB, free: 9.926 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 7.479e-05/0.01733, allocations: 124.6 kB / 332 MB, free: 9.793 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.777e-05/0.01737, allocations: 27.91 kB / 332.1 MB, free: 9.766 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001315/0.0175, allocations: 109.4 kB / 332.2 MB, free: 9.652 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.0175, allocations: 0 / 332.2 MB, free: 9.652 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.472e-06/0.0175, allocations: 0 / 332.2 MB, free: 9.652 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.0175, allocations: 0 / 332.2 MB, free: 9.652 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003076/0.01781, allocations: 311.3 kB / 332.5 MB, free: 9.32 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.01781, allocations: 4 kB / 332.5 MB, free: 9.316 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.861e-05/0.01785, allocations: 12 kB / 332.5 MB, free: 9.305 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.01785, allocations: 432 / 332.5 MB, free: 9.305 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.86e-06/0.01786, allocations: 0 / 332.5 MB, free: 9.305 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.01786, allocations: 3.984 kB / 332.5 MB, free: 9.301 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.01786, allocations: 8.031 kB / 332.5 MB, free: 9.293 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000105/0.01797, allocations: 172.2 kB / 332.7 MB, free: 9.105 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.284e-05/0.018, allocations: 39.7 kB / 332.7 MB, free: 9.066 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.031e-05/0.01802, allocations: 7.984 kB / 332.7 MB, free: 9.059 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.523e-05/0.01809, allocations: 4 kB / 332.7 MB, free: 9.055 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.397e-05/0.01811, allocations: 7.984 kB / 332.7 MB, free: 9.047 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/0.01811, allocations: 0 / 332.7 MB, free: 9.047 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002267/0.01834, allocations: 283.2 kB / 333 MB, free: 8.77 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01834, allocations: 0 / 333 MB, free: 8.77 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002175/0.01856, allocations: 31.98 kB / 333 MB, free: 8.738 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.002627/0.02118, allocations: 0.5673 MB / 333.6 MB, free: 8.441 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 7.621e-05/0.02126, allocations: 32.78 kB / 333.6 MB, free: 8.406 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.02127, allocations: 8 kB / 333.6 MB, free: 8.398 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.926e-05/0.02129, allocations: 24.78 kB / 333.7 MB, free: 8.371 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002226/0.02152, allocations: 31.06 kB / 333.7 MB, free: 8.344 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000675/0.02219, allocations: 0.5949 MB / 334.3 MB, free: 7.715 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.318e-05/0.02229, allocations: 127.2 kB / 334.4 MB, free: 7.57 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.075e-05/0.02233, allocations: 13.05 kB / 334.4 MB, free: 7.555 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.658e-05/0.02238, allocations: 63.36 kB / 334.5 MB, free: 7.492 MB / 314.7 MB Notification: Performance of SimCode: time 5.01e-07/0.02238, allocations: 4 kB / 334.5 MB, free: 7.488 MB / 314.7 MB Notification: Performance of Templates: time 0.003718/0.0261, allocations: 1.725 MB / 336.2 MB, free: 5.773 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test2/Test2.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.8976919976994395]