Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test28.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.0009578/0.0009578, allocations: 95.31 kB / 20.43 MB, free: 4.145 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.001355/0.001355, allocations: 165 kB / 23.8 MB, free: 0.7773 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9418/0.9418, allocations: 158.6 MB / 185.7 MB, free: 2.91 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2016/0.2016, allocations: 32.38 MB / 270.4 MB, free: 14.7 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTable2D.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test28") translateModel(ModelicaTest.Tables.CombiTable2D.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test28") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 347.7 MB, free: 9.441 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.823e-05/2.946e-05, allocations: 12.16 kB / 347.7 MB, free: 9.43 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test28): time 0.002285/0.002315, allocations: 1.645 MB / 349.3 MB, free: 7.773 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004995/0.002814, allocations: 323.4 kB / 349.6 MB, free: 7.453 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.578e-05/0.00287, allocations: 4 kB / 349.7 MB, free: 7.449 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002738/0.003144, allocations: 55.73 kB / 349.7 MB, free: 7.395 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002098/0.003353, allocations: 63.69 kB / 349.8 MB, free: 7.332 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002332/0.003587, allocations: 103.7 kB / 349.9 MB, free: 7.23 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001445/0.003731, allocations: 71.7 kB / 349.9 MB, free: 7.16 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.631e-05/0.003827, allocations: 20.16 kB / 350 MB, free: 7.141 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.557e-05/0.003893, allocations: 39.91 kB / 350 MB, free: 7.102 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.438e-05/0.003977, allocations: 39.94 kB / 350 MB, free: 7.062 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.717e-05/0.003994, allocations: 4 kB / 350 MB, free: 7.059 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.825e-05/0.004073, allocations: 27.98 kB / 350.1 MB, free: 7.031 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.538e-05/0.004138, allocations: 27.91 kB / 350.1 MB, free: 7.004 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.278e-05/0.004161, allocations: 11.94 kB / 350.1 MB, free: 6.992 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001634/0.004324, allocations: 79.56 kB / 350.2 MB, free: 6.914 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.004328, allocations: 0 / 350.2 MB, free: 6.914 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.00433, allocations: 0 / 350.2 MB, free: 6.914 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.153e-06/0.004337, allocations: 4 kB / 350.2 MB, free: 6.91 MB / 282.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.0004331/0.00477, allocations: 428.1 kB / 350.6 MB, free: 6.457 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.004812, allocations: 12.03 kB / 350.6 MB, free: 6.445 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.001e-05/0.004872, allocations: 8.891 kB / 350.6 MB, free: 6.438 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001294/0.005001, allocations: 141 kB / 350.8 MB, free: 6.273 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.005013, allocations: 4.312 kB / 350.8 MB, free: 6.27 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.237e-05/0.005035, allocations: 4.375 kB / 350.8 MB, free: 6.266 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001273/0.005163, allocations: 62.5 kB / 350.8 MB, free: 6.195 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.005174, allocations: 0 / 350.8 MB, free: 6.195 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.497e-06/0.005183, allocations: 4 kB / 350.8 MB, free: 6.191 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.286e-06/0.005192, allocations: 0 / 350.8 MB, free: 6.191 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.585e-05/0.005227, allocations: 16 kB / 350.9 MB, free: 6.176 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002837/0.005511, allocations: 287.7 kB / 351.1 MB, free: 5.859 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.425e-05/0.005585, allocations: 39 kB / 351.2 MB, free: 5.809 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.541e-05/0.005611, allocations: 19.77 kB / 351.2 MB, free: 5.785 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.988e-05/0.005641, allocations: 3.984 kB / 351.2 MB, free: 5.781 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.937e-05/0.00566, allocations: 33.39 kB / 351.2 MB, free: 5.738 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.005661, allocations: 0 / 351.2 MB, free: 5.738 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.000426/0.006087, allocations: 129.4 kB / 351.4 MB, free: 5.605 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.514e-05/0.006112, allocations: 59.41 kB / 351.4 MB, free: 5.535 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001087/0.006221, allocations: 215 kB / 351.6 MB, free: 5.309 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.944e-06/0.006229, allocations: 33.7 kB / 351.7 MB, free: 5.27 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.787e-05/0.006267, allocations: 146.8 kB / 351.8 MB, free: 5.121 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.398e-05/0.006291, allocations: 27.78 kB / 351.8 MB, free: 5.094 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.459e-05/0.006325, allocations: 23.38 kB / 351.8 MB, free: 5.062 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.036e-05/0.006376, allocations: 0.5 MB / 352.3 MB, free: 4.551 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.513e-05/0.006401, allocations: 11.88 kB / 352.4 MB, free: 4.539 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.092e-05/0.006422, allocations: 11.98 kB / 352.4 MB, free: 4.527 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.741e-05/0.006469, allocations: 27.69 kB / 352.4 MB, free: 4.496 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.00647, allocations: 4 kB / 352.4 MB, free: 4.492 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.969e-05/0.00657, allocations: 77.84 kB / 352.5 MB, free: 4.41 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.006585, allocations: 4 kB / 352.5 MB, free: 4.406 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.239e-06/0.006591, allocations: 0 / 352.5 MB, free: 4.406 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.006606, allocations: 4 kB / 352.5 MB, free: 4.402 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.47e-05/0.0067, allocations: 19.92 kB / 352.5 MB, free: 4.383 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.006709, allocations: 0 / 352.5 MB, free: 4.383 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.896e-05/0.006738, allocations: 4 kB / 352.5 MB, free: 4.379 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.006745, allocations: 0 / 352.5 MB, free: 4.379 MB / 282.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 (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 4.808e-05/0.006793, allocations: 164.5 kB / 352.7 MB, free: 4.207 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.908e-05/0.006822, allocations: 19.89 kB / 352.7 MB, free: 4.188 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001235/0.006946, allocations: 78.45 kB / 352.8 MB, free: 4.109 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.006949, allocations: 4 kB / 352.8 MB, free: 4.105 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.006952, allocations: 0 / 352.8 MB, free: 4.105 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.006956, allocations: 0 / 352.8 MB, free: 4.105 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002377/0.007193, allocations: 341.3 kB / 353.1 MB, free: 3.73 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.007194, allocations: 0 / 353.1 MB, free: 3.73 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.917e-05/0.007244, allocations: 15.98 kB / 353.1 MB, free: 3.715 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.007247, allocations: 0 / 353.1 MB, free: 3.715 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.745e-06/0.007255, allocations: 8 kB / 353.1 MB, free: 3.707 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.007257, allocations: 0 / 353.1 MB, free: 3.707 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.007258, allocations: 4 kB / 353.1 MB, free: 3.703 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.799e-05/0.007356, allocations: 219.8 kB / 353.3 MB, free: 3.469 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.047e-06/0.007365, allocations: 7.953 kB / 353.4 MB, free: 3.461 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.388e-05/0.007379, allocations: 0 / 353.4 MB, free: 3.461 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.247e-05/0.007431, allocations: 7.984 kB / 353.4 MB, free: 3.453 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.869e-05/0.00747, allocations: 15.92 kB / 353.4 MB, free: 3.438 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.438e-06/0.007475, allocations: 0 / 353.4 MB, free: 3.438 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.872e-05/0.007523, allocations: 155.8 kB / 353.5 MB, free: 3.285 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007523, allocations: 3.938 kB / 353.5 MB, free: 3.281 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002409/0.007764, allocations: 19.98 kB / 353.6 MB, free: 3.262 MB / 282.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 (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.000913/0.008677, allocations: 381.5 kB / 353.9 MB, free: 2.98 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001263/0.008804, allocations: 43.61 kB / 354 MB, free: 2.934 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.008806, allocations: 4 kB / 354 MB, free: 2.93 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.036e-05/0.008836, allocations: 23.83 kB / 354 MB, free: 2.902 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002881/0.009124, allocations: 29.28 kB / 354 MB, free: 2.875 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003923/0.009516, allocations: 218.6 kB / 354.2 MB, free: 2.633 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.399e-05/0.00955, allocations: 71.27 kB / 354.3 MB, free: 2.543 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.706e-05/0.009587, allocations: 8 kB / 354.3 MB, free: 2.535 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.986e-05/0.009627, allocations: 12.5 kB / 354.3 MB, free: 2.52 MB / 282.7 MB Notification: Performance of SimCode: time 1.092e-06/0.009628, allocations: 4 kB / 354.3 MB, free: 2.516 MB / 282.7 MB Notification: Performance of Templates: time 0.003712/0.01334, allocations: 1.395 MB / 355.7 MB, free: 1.129 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test28.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test28.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test28.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test28.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test28 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test28.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test28/Test28.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.415132380556315]