Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001154/0.001154, allocations: 88.86 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.004272/0.004272, allocations: 163.2 kB / 24.91 MB, free: 8.715 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9475/0.9475, allocations: 177 MB / 205.2 MB, free: 5.059 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.26/0.26, allocations: 34.86 MB / 296.6 MB, free: 420 kB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 325.9 MB, free: 7.145 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.219e-05/2.366e-05, allocations: 9.406 kB / 325.9 MB, free: 7.137 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.002323/0.002347, allocations: 1.729 MB / 327.7 MB, free: 5.395 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008067/0.003153, allocations: 0.5796 MB / 328.2 MB, free: 4.812 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.363e-05/0.003217, allocations: 8 kB / 328.3 MB, free: 4.805 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002086/0.003426, allocations: 31.7 kB / 328.3 MB, free: 4.773 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002831/0.003709, allocations: 87.48 kB / 328.4 MB, free: 4.688 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003475/0.004056, allocations: 171.5 kB / 328.5 MB, free: 4.52 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000154/0.00421, allocations: 108.4 kB / 328.6 MB, free: 4.414 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.474e-05/0.004285, allocations: 11.98 kB / 328.7 MB, free: 4.402 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.008e-05/0.004365, allocations: 55.88 kB / 328.7 MB, free: 4.348 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.621e-05/0.004431, allocations: 31.91 kB / 328.7 MB, free: 4.316 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.66e-05/0.004448, allocations: 8 kB / 328.8 MB, free: 4.309 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001402/0.004588, allocations: 103.8 kB / 328.9 MB, free: 4.207 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.816e-05/0.004636, allocations: 23.91 kB / 328.9 MB, free: 4.184 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.696e-05/0.004663, allocations: 19.92 kB / 328.9 MB, free: 4.164 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002418/0.004905, allocations: 163.4 kB / 329.1 MB, free: 4.004 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.743e-06/0.004907, allocations: 0 / 329.1 MB, free: 4.004 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.004907, allocations: 4 kB / 329.1 MB, free: 4 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.737e-06/0.004911, allocations: 0 / 329.1 MB, free: 4 MB / 298.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.0003943/0.005305, allocations: 329.5 kB / 329.4 MB, free: 3.652 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.46e-05/0.00534, allocations: 12.03 kB / 329.4 MB, free: 3.641 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.536e-05/0.005375, allocations: 12.92 kB / 329.4 MB, free: 3.629 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000143/0.005518, allocations: 138.2 kB / 329.5 MB, free: 3.469 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.798e-06/0.005528, allocations: 4.375 kB / 329.5 MB, free: 3.465 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.27e-05/0.005551, allocations: 4.375 kB / 329.5 MB, free: 3.461 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001514/0.005702, allocations: 114.3 kB / 329.7 MB, free: 3.328 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.005712, allocations: 4.188 kB / 329.7 MB, free: 3.324 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.846e-06/0.005721, allocations: 8.125 kB / 329.7 MB, free: 3.316 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.005726, allocations: 0 / 329.7 MB, free: 3.316 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.737e-05/0.005753, allocations: 8 kB / 329.7 MB, free: 3.309 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002724/0.006026, allocations: 187.1 kB / 329.9 MB, free: 3.109 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.94e-05/0.006105, allocations: 41.33 kB / 329.9 MB, free: 3.059 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.963e-05/0.006125, allocations: 12.98 kB / 329.9 MB, free: 3.043 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.569e-05/0.006141, allocations: 0 / 329.9 MB, free: 3.043 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.016e-05/0.006161, allocations: 38.56 kB / 330 MB, free: 2.996 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 1.923e-06/0.006163, allocations: 3.984 kB / 330 MB, free: 2.992 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003664/0.006529, allocations: 153.3 kB / 330.1 MB, free: 2.836 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.45e-05/0.006564, allocations: 81.11 kB / 330.2 MB, free: 2.738 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.778e-05/0.006651, allocations: 146.6 kB / 330.3 MB, free: 2.582 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.271e-05/0.006664, allocations: 25.7 kB / 330.4 MB, free: 2.551 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.286e-05/0.006697, allocations: 96.11 kB / 330.4 MB, free: 2.453 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.156e-05/0.006718, allocations: 31.73 kB / 330.5 MB, free: 2.422 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.581e-05/0.006754, allocations: 21.7 kB / 330.5 MB, free: 2.395 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.469e-05/0.006829, allocations: 330.8 kB / 330.8 MB, free: 2.062 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.219e-05/0.006851, allocations: 8 kB / 330.8 MB, free: 2.055 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.934e-05/0.00689, allocations: 49.19 kB / 330.9 MB, free: 1.996 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.945e-05/0.00694, allocations: 39.59 kB / 330.9 MB, free: 1.953 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.006941, allocations: 0 / 330.9 MB, free: 1.953 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.107e-05/0.007022, allocations: 69.61 kB / 331 MB, free: 1.879 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.026e-05/0.007032, allocations: 7.938 kB / 331 MB, free: 1.871 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.007036, allocations: 0 / 331 MB, free: 1.871 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.007047, allocations: 3.938 kB / 331 MB, free: 1.867 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.552e-05/0.007133, allocations: 27.97 kB / 331 MB, free: 1.84 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.597e-06/0.007136, allocations: 8.031 kB / 331 MB, free: 1.832 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.922e-05/0.007176, allocations: 11.98 kB / 331 MB, free: 1.82 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.59e-06/0.007181, allocations: 0 / 331 MB, free: 1.82 MB / 298.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 (10): * Single equations (assignments): 10 * 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 6.187e-05/0.007243, allocations: 116.7 kB / 331.2 MB, free: 1.695 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.975e-05/0.007263, allocations: 11.92 kB / 331.2 MB, free: 1.684 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001036/0.007366, allocations: 79.69 kB / 331.2 MB, free: 1.602 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.007368, allocations: 0 / 331.2 MB, free: 1.602 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.00737, allocations: 0 / 331.2 MB, free: 1.602 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.007373, allocations: 0 / 331.2 MB, free: 1.602 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002513/0.007624, allocations: 302.9 kB / 331.5 MB, free: 1.281 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.007625, allocations: 0 / 331.5 MB, free: 1.281 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.054e-05/0.007686, allocations: 27.98 kB / 331.6 MB, free: 1.254 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.007688, allocations: 0 / 331.6 MB, free: 1.254 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-06/0.007696, allocations: 15.92 kB / 331.6 MB, free: 1.238 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.007698, allocations: 0 / 331.6 MB, free: 1.238 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.007699, allocations: 0 / 331.6 MB, free: 1.238 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001028/0.007801, allocations: 160.2 kB / 331.7 MB, free: 1.066 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.017e-06/0.00781, allocations: 3.953 kB / 331.7 MB, free: 1.062 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.31e-05/0.007824, allocations: 4 kB / 331.8 MB, free: 1.059 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.351e-05/0.007877, allocations: 19.98 kB / 331.8 MB, free: 1.039 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.854e-05/0.007916, allocations: 19.91 kB / 331.8 MB, free: 1.02 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.127e-06/0.00792, allocations: 0 / 331.8 MB, free: 1.02 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.297e-05/0.007953, allocations: 34.25 kB / 331.8 MB, free: 0.9805 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007953, allocations: 0 / 331.8 MB, free: 0.9805 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001807/0.008133, allocations: 51.86 kB / 331.9 MB, free: 0.9297 MB / 298.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 (9): * Single equations (assignments): 9 * 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.001227/0.00936, allocations: 0.6173 MB / 332.5 MB, free: 0.5977 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001063/0.009467, allocations: 40.77 kB / 332.5 MB, free: 0.5547 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.009471, allocations: 8 kB / 332.5 MB, free: 0.5469 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.05e-05/0.009501, allocations: 20.84 kB / 332.6 MB, free: 0.5234 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001633/0.009665, allocations: 37.36 kB / 332.6 MB, free: 500 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003105/0.009975, allocations: 215.2 kB / 332.8 MB, free: 256 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.681e-05/0.01001, allocations: 63.34 kB / 332.9 MB, free: 172 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.081e-05/0.01006, allocations: 20.47 kB / 332.9 MB, free: 152 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.257e-05/0.01015, allocations: 79.34 kB / 333 MB, free: 72 kB / 298.7 MB Notification: Performance of SimCode: time 4.71e-07/0.01015, allocations: 0 / 333 MB, free: 72 kB / 298.7 MB Notification: Performance of Templates: time 0.004175/0.01432, allocations: 2.816 MB / 335.8 MB, free: 13.29 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test18_usertab/Test18_usertab.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.045525236055255]