Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007906/0.0007906, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001091/0.001881, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0006474/0.0006474, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009384/0.001586, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9154/0.9154, allocations: 173.4 MB / 186 MB, free: 7.543 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1744/1.09, allocations: 52.49 MB / 238.5 MB, free: 7.625 MB / 234.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.151/0.151, allocations: 32.79 MB / 272 MB, free: 6.293 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02337/0.1744, allocations: 12.54 MB / 284.5 MB, free: 9.715 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.824e-06/1.824e-06, allocations: 0 / 285.9 MB, free: 8.398 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.133e-05/2.315e-05, allocations: 2.312 kB / 285.9 MB, free: 8.395 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test7): time 0.002121/0.002144, allocations: 1.668 MB / 287.5 MB, free: 6.719 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004959/0.00264, allocations: 418.8 kB / 287.9 MB, free: 6.305 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.937e-05/0.002679, allocations: 0 / 287.9 MB, free: 6.305 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000421/0.003101, allocations: 491 kB / 288.4 MB, free: 5.824 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002413/0.003342, allocations: 263.4 kB / 288.7 MB, free: 5.566 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002468/0.003589, allocations: 127.6 kB / 288.8 MB, free: 5.441 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001681/0.003757, allocations: 155.6 kB / 288.9 MB, free: 5.289 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.833e-05/0.003835, allocations: 15.97 kB / 289 MB, free: 5.273 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001424/0.003977, allocations: 151.7 kB / 289.1 MB, free: 5.125 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001532/0.004131, allocations: 183.7 kB / 289.3 MB, free: 4.945 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.552e-05/0.004146, allocations: 0 / 289.3 MB, free: 4.945 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.903e-05/0.004205, allocations: 31.86 kB / 289.3 MB, free: 4.914 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.747e-05/0.004283, allocations: 79.72 kB / 289.4 MB, free: 4.836 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.482e-05/0.004307, allocations: 27.81 kB / 289.4 MB, free: 4.809 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001709/0.004478, allocations: 179.2 kB / 289.6 MB, free: 4.633 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.024e-05/0.004489, allocations: 0 / 289.6 MB, free: 4.633 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.004489, allocations: 4 kB / 289.6 MB, free: 4.629 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.037e-06/0.004498, allocations: 0 / 289.6 MB, free: 4.629 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004603/0.004959, allocations: 0.5682 MB / 290.2 MB, free: 4.035 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.799e-05/0.004987, allocations: 8.031 kB / 290.2 MB, free: 4.027 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.368e-05/0.00504, allocations: 24.91 kB / 290.2 MB, free: 4.004 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001751/0.005215, allocations: 246 kB / 290.4 MB, free: 3.738 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.005e-06/0.005223, allocations: 384 / 290.4 MB, free: 3.738 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.027e-05/0.005234, allocations: 4.359 kB / 290.4 MB, free: 3.734 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.847e-05/0.005322, allocations: 58.95 kB / 290.5 MB, free: 3.668 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.131e-06/0.005328, allocations: 192 / 290.5 MB, free: 3.668 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.733e-06/0.005335, allocations: 4.125 kB / 290.5 MB, free: 3.664 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.005341, allocations: 8 kB / 290.5 MB, free: 3.656 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.329e-05/0.005354, allocations: 4 kB / 290.5 MB, free: 3.652 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001878/0.005542, allocations: 160.2 kB / 290.7 MB, free: 3.48 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.347e-05/0.005585, allocations: 22.56 kB / 290.7 MB, free: 3.449 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.043e-05/0.005596, allocations: 4.859 kB / 290.7 MB, free: 3.441 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.62e-05/0.005612, allocations: 0 / 290.7 MB, free: 3.441 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.934e-05/0.005631, allocations: 38.56 kB / 290.7 MB, free: 3.395 MB / 282.7 MB Notification: Performance of pre-optimization done (n=2): time 6.41e-07/0.005632, allocations: 0 / 290.7 MB, free: 3.395 MB / 282.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001002/0.005732, allocations: 57.61 kB / 290.8 MB, free: 3.332 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.254e-05/0.005755, allocations: 55.53 kB / 290.9 MB, free: 3.266 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003012/0.006056, allocations: 0.5205 MB / 291.4 MB, free: 2.73 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.298e-06/0.006065, allocations: 25.7 kB / 291.4 MB, free: 2.699 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.431e-05/0.00612, allocations: 141.2 kB / 291.5 MB, free: 2.559 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.444e-05/0.006134, allocations: 7.953 kB / 291.5 MB, free: 2.551 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.258e-05/0.006157, allocations: 13.72 kB / 291.6 MB, free: 2.531 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.833e-05/0.006245, allocations: 358.7 kB / 291.9 MB, free: 2.172 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.233e-06/0.006252, allocations: 0 / 291.9 MB, free: 2.172 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.45e-06/0.006258, allocations: 0 / 291.9 MB, free: 2.172 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.727e-05/0.006275, allocations: 16.84 kB / 291.9 MB, free: 2.152 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.006276, allocations: 4.062 kB / 291.9 MB, free: 2.148 MB / 282.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.704e-05/0.006323, allocations: 53.61 kB / 292 MB, free: 2.09 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.006335, allocations: 11.94 kB / 292 MB, free: 2.078 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.436e-06/0.006339, allocations: 0 / 292 MB, free: 2.078 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.026e-05/0.006349, allocations: 0 / 292 MB, free: 2.078 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.63e-05/0.006395, allocations: 4 kB / 292 MB, free: 2.074 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.786e-06/0.006398, allocations: 0 / 292 MB, free: 2.074 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.054e-05/0.006419, allocations: 3.953 kB / 292 MB, free: 2.07 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.069e-06/0.006424, allocations: 4 kB / 292 MB, free: 2.066 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 (2): * Single equations (assignments): 2 * 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.918e-05/0.006483, allocations: 116.7 kB / 292.1 MB, free: 1.941 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.012e-05/0.006503, allocations: 19.92 kB / 292.1 MB, free: 1.922 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.839e-05/0.006581, allocations: 88.45 kB / 292.2 MB, free: 1.832 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.006583, allocations: 0 / 292.2 MB, free: 1.832 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-06/0.006584, allocations: 0 / 292.2 MB, free: 1.832 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.006586, allocations: 0 / 292.2 MB, free: 1.832 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001067/0.006693, allocations: 133.8 kB / 292.4 MB, free: 1.684 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.006694, allocations: 0 / 292.4 MB, free: 1.684 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.657e-05/0.006711, allocations: 7.984 kB / 292.4 MB, free: 1.676 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.99e-05/0.006731, allocations: 31.77 kB / 292.4 MB, free: 1.645 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-06/0.006732, allocations: 0 / 292.4 MB, free: 1.645 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.148e-06/0.006736, allocations: 7.969 kB / 292.4 MB, free: 1.637 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.006737, allocations: 0 / 292.4 MB, free: 1.637 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.006738, allocations: 4 kB / 292.4 MB, free: 1.633 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.602e-05/0.006804, allocations: 147.5 kB / 292.6 MB, free: 1.473 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.428e-05/0.006819, allocations: 7.984 kB / 292.6 MB, free: 1.465 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.232e-05/0.006851, allocations: 3.938 kB / 292.6 MB, free: 1.461 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.981e-05/0.006871, allocations: 4 kB / 292.6 MB, free: 1.457 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.412e-06/0.006872, allocations: 3.938 kB / 292.6 MB, free: 1.453 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001654/0.007037, allocations: 275.2 kB / 292.8 MB, free: 1.184 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007037, allocations: 3.938 kB / 292.8 MB, free: 1.18 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001268/0.007164, allocations: 23.98 kB / 292.9 MB, free: 1.156 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 (2): * Single equations (assignments): 2 * 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.0009647/0.008129, allocations: 473.9 kB / 293.3 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 5.189e-05/0.008181, allocations: 12.86 kB / 293.3 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.696e-06/0.00819, allocations: 8 kB / 293.3 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.728e-05/0.008207, allocations: 12.86 kB / 293.4 MB, free: 0.8828 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002261/0.008433, allocations: 93.33 kB / 293.5 MB, free: 0.7773 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007757/0.009209, allocations: 0.5491 MB / 294 MB, free: 200 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.388e-05/0.009292, allocations: 115.3 kB / 294.1 MB, free: 64 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.439e-05/0.009317, allocations: 7.984 kB / 294.1 MB, free: 56 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.193e-05/0.009379, allocations: 59.36 kB / 294.2 MB, free: 16 MB / 298.7 MB Notification: Performance of SimCode: time 5.21e-07/0.009379, allocations: 4 kB / 294.2 MB, free: 15.99 MB / 298.7 MB Notification: Performance of Templates: time 0.003758/0.01314, allocations: 1.231 MB / 295.4 MB, free: 14.77 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test7/Test7.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8732601730152965]