Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.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.002348/0.002348, allocations: 111.1 kB / 20.44 MB, free: 1.336 MB / 14.72 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.001784/0.001784, allocations: 212.2 kB / 23.73 MB, free: 4.516 MB / 14.72 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.565/1.565, allocations: 230.6 MB / 257.5 MB, free: 7.82 MB / 206.1 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.2611/0.2611, allocations: 46.95 MB / 360.9 MB, free: 4.145 MB / 286.1 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.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002054/0.002054, allocations: 79.86 kB / 0.4966 GB, free: 7.207 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3175/0.3196, allocations: 66.03 MB / 0.5611 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.00441/0.324, allocations: 1.648 MB / 0.5627 GB, free: 2.52 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002912/0.3269, allocations: 1.267 MB / 0.5639 GB, free: 1.246 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.469e-05/0.327, allocations: 0 / 0.5639 GB, free: 1.246 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002649/0.3272, allocations: 35.78 kB / 0.564 GB, free: 1.211 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004505/0.3277, allocations: 87.56 kB / 0.5641 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006654/0.3283, allocations: 179 kB / 0.5642 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002227/0.3286, allocations: 79.77 kB / 0.5643 GB, free: 0.875 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001224/0.3287, allocations: 11.98 kB / 0.5643 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.126e-05/0.3288, allocations: 43.84 kB / 0.5644 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001364/0.3289, allocations: 27.86 kB / 0.5644 GB, free: 0.793 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.944e-05/0.3289, allocations: 11.94 kB / 0.5644 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002484/0.3292, allocations: 87.94 kB / 0.5645 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.802e-05/0.3293, allocations: 27.91 kB / 0.5645 GB, free: 0.668 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.085e-05/0.3293, allocations: 23.86 kB / 0.5645 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003684/0.3297, allocations: 153.8 kB / 0.5647 GB, free: 0.5 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.3297, allocations: 0 / 0.5647 GB, free: 0.5 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.298e-06/0.3297, allocations: 4 kB / 0.5647 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.3297, allocations: 0 / 0.5647 GB, free: 0.4961 MB / 398.1 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.000752/0.3304, allocations: 337.7 kB / 0.565 GB, free: 140 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.591e-05/0.3305, allocations: 12.03 kB / 0.565 GB, free: 128 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.398e-05/0.3306, allocations: 8.891 kB / 0.565 GB, free: 120 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003111/0.3309, allocations: 137.2 kB / 0.5652 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.766e-05/0.3309, allocations: 4.375 kB / 0.5652 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.843e-05/0.3309, allocations: 384 / 0.5652 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003051/0.3312, allocations: 109.2 kB / 0.5653 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.527e-05/0.3312, allocations: 0 / 0.5653 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.65e-05/0.3313, allocations: 4 kB / 0.5653 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.481e-06/0.3313, allocations: 0 / 0.5653 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002166/0.3315, allocations: 43.95 kB / 0.5653 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000597/0.3321, allocations: 248.4 kB / 0.5655 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002187/0.3323, allocations: 54.44 kB / 0.5656 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001155/0.3324, allocations: 24.94 kB / 0.5656 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.318e-05/0.3324, allocations: 3.984 kB / 0.5656 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.616e-05/0.3325, allocations: 34.55 kB / 0.5657 GB, free: 15.38 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.433e-06/0.3325, allocations: 4 kB / 0.5657 GB, free: 15.37 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.001255/0.3337, allocations: 233.3 kB / 0.5659 GB, free: 15.14 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.778e-05/0.3338, allocations: 77.11 kB / 0.566 GB, free: 15.04 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002496/0.3341, allocations: 149.6 kB / 0.5661 GB, free: 14.89 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.488e-05/0.3341, allocations: 33.64 kB / 0.5661 GB, free: 14.85 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.434e-05/0.3342, allocations: 96.09 kB / 0.5662 GB, free: 14.75 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.767e-05/0.3342, allocations: 27.78 kB / 0.5662 GB, free: 14.72 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.638e-05/0.3343, allocations: 21.72 kB / 0.5663 GB, free: 14.7 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002007/0.3345, allocations: 322.8 kB / 0.5666 GB, free: 14.37 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001942/0.3347, allocations: 39.97 kB / 0.5666 GB, free: 14.33 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002299/0.3349, allocations: 83.31 kB / 0.5667 GB, free: 14.24 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004029/0.3353, allocations: 92.89 kB / 0.5668 GB, free: 14.14 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.3353, allocations: 4 kB / 0.5668 GB, free: 14.14 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004653/0.3358, allocations: 117.6 kB / 0.5669 GB, free: 14.02 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.321e-05/0.3358, allocations: 8 kB / 0.5669 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.3358, allocations: 0 / 0.5669 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.3358, allocations: 0 / 0.5669 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001707/0.336, allocations: 23.98 kB / 0.5669 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.336, allocations: 0 / 0.5669 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.333e-05/0.3361, allocations: 11.92 kB / 0.5669 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.624e-05/0.3361, allocations: 7.938 kB / 0.5669 GB, free: 13.97 MB / 414.1 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 (7): * Single equations (assignments): 7 * 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.0001346/0.3362, allocations: 117.8 kB / 0.5671 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.541e-05/0.3363, allocations: 7.953 kB / 0.5671 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005138/0.3368, allocations: 142.3 kB / 0.5672 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.3368, allocations: 4 kB / 0.5672 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.3368, allocations: 0 / 0.5672 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.3368, allocations: 0 / 0.5672 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008831/0.3377, allocations: 354 kB / 0.5675 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.3377, allocations: 4 kB / 0.5675 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001438/0.3379, allocations: 15.98 kB / 0.5676 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.3379, allocations: 3.938 kB / 0.5676 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.641e-05/0.3379, allocations: 12 kB / 0.5676 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.3379, allocations: 480 / 0.5676 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/0.3379, allocations: 3.938 kB / 0.5676 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005508/0.3384, allocations: 227.3 kB / 0.5678 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.852e-05/0.3385, allocations: 11.95 kB / 0.5678 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.003e-05/0.3385, allocations: 0 / 0.5678 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001665/0.3387, allocations: 11.98 kB / 0.5678 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.54e-05/0.3387, allocations: 11.92 kB / 0.5678 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.121e-05/0.3387, allocations: 4 kB / 0.5678 GB, free: 12.98 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000151/0.3389, allocations: 117.4 kB / 0.568 GB, free: 12.87 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3389, allocations: 0 / 0.568 GB, free: 12.87 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005381/0.3394, allocations: 43.88 kB / 0.568 GB, free: 12.82 MB / 414.1 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 (7): * Single equations (assignments): 7 * 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.002682/0.3421, allocations: 0.5184 MB / 0.5685 GB, free: 12.52 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004862/0.3426, allocations: 91.86 kB / 0.5686 GB, free: 12.43 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.3426, allocations: 4 kB / 0.5686 GB, free: 12.43 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000195/0.3428, allocations: 43.95 kB / 0.5686 GB, free: 12.38 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005461/0.3433, allocations: 15.98 kB / 0.5686 GB, free: 12.37 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000792/0.3441, allocations: 217.9 kB / 0.5689 GB, free: 12.13 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001267/0.3443, allocations: 87.66 kB / 0.5689 GB, free: 12.02 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001319/0.3444, allocations: 36.88 kB / 0.569 GB, free: 11.98 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.406e-05/0.3445, allocations: 15.44 kB / 0.569 GB, free: 11.97 MB / 414.1 MB Notification: Performance of SimCode: time 4.5e-07/0.3445, allocations: 0 / 0.569 GB, free: 11.97 MB / 414.1 MB Notification: Performance of Templates: time 0.007869/0.3523, allocations: 2.025 MB / 0.571 GB, free: 9.965 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.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: 5.499560660216957]