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.001244/0.001244, allocations: 84.73 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.001397/0.001397, allocations: 160.2 kB / 24.91 MB, free: 8.766 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.9877/0.9877, allocations: 177 MB / 205.2 MB, free: 5.051 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.2799/0.2799, allocations: 34.86 MB / 296.6 MB, free: 468 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.212e-06/1.212e-06, allocations: 0 / 326 MB, free: 7.094 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.332e-05/1.453e-05, allocations: 4.984 kB / 326 MB, free: 7.09 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.002112/0.002126, allocations: 1.778 MB / 327.8 MB, free: 5.301 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007354/0.002862, allocations: 0.5834 MB / 328.3 MB, free: 4.715 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.041e-05/0.002922, allocations: 4 kB / 328.3 MB, free: 4.711 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001793/0.003102, allocations: 31.78 kB / 328.4 MB, free: 4.68 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002666/0.003368, allocations: 83.42 kB / 328.5 MB, free: 4.598 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002658/0.003634, allocations: 175.5 kB / 328.6 MB, free: 4.426 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001461/0.00378, allocations: 107.6 kB / 328.7 MB, free: 4.32 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.364e-05/0.003864, allocations: 16.47 kB / 328.8 MB, free: 4.305 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.561e-05/0.003939, allocations: 47.91 kB / 328.8 MB, free: 4.258 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.294e-05/0.004002, allocations: 31.89 kB / 328.8 MB, free: 4.227 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.503e-05/0.004017, allocations: 8 kB / 328.8 MB, free: 4.219 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001502/0.004167, allocations: 103.8 kB / 328.9 MB, free: 4.117 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.512e-05/0.004223, allocations: 31.84 kB / 329 MB, free: 4.086 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.193e-05/0.004255, allocations: 23.92 kB / 329 MB, free: 4.062 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002036/0.004458, allocations: 159.5 kB / 329.1 MB, free: 3.906 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.673e-06/0.00446, allocations: 0 / 329.1 MB, free: 3.906 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.004461, allocations: 0 / 329.1 MB, free: 3.906 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.036e-06/0.004464, allocations: 4 kB / 329.2 MB, free: 3.902 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.0003622/0.004826, allocations: 333.4 kB / 329.5 MB, free: 3.551 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.891e-05/0.004855, allocations: 8.031 kB / 329.5 MB, free: 3.543 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.785e-05/0.004883, allocations: 12.92 kB / 329.5 MB, free: 3.531 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001253/0.005008, allocations: 134.2 kB / 329.6 MB, free: 3.375 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.354e-06/0.005015, allocations: 4.375 kB / 329.6 MB, free: 3.371 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.414e-05/0.005029, allocations: 384 / 329.6 MB, free: 3.371 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001305/0.00516, allocations: 114.3 kB / 329.7 MB, free: 3.238 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.005167, allocations: 192 / 329.7 MB, free: 3.238 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.055e-06/0.005175, allocations: 8.125 kB / 329.8 MB, free: 3.23 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.005179, allocations: 0 / 329.8 MB, free: 3.23 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.716e-05/0.005206, allocations: 11.94 kB / 329.8 MB, free: 3.219 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002449/0.005451, allocations: 191 kB / 330 MB, free: 3.016 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.266e-05/0.005514, allocations: 33.41 kB / 330 MB, free: 2.973 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.91e-05/0.005533, allocations: 16.84 kB / 330 MB, free: 2.953 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.335e-05/0.005546, allocations: 3.938 kB / 330 MB, free: 2.949 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.836e-05/0.005565, allocations: 34.56 kB / 330 MB, free: 2.906 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 6.61e-07/0.005565, allocations: 4 kB / 330 MB, free: 2.902 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003369/0.005902, allocations: 149.5 kB / 330.2 MB, free: 2.75 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.842e-05/0.005941, allocations: 81.11 kB / 330.3 MB, free: 2.652 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.602e-05/0.006027, allocations: 146.7 kB / 330.4 MB, free: 2.496 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.093e-05/0.006038, allocations: 29.7 kB / 330.4 MB, free: 2.461 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.911e-05/0.006067, allocations: 100 kB / 330.5 MB, free: 2.359 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.854e-05/0.006085, allocations: 23.73 kB / 330.6 MB, free: 2.336 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.661e-05/0.006122, allocations: 25.7 kB / 330.6 MB, free: 2.305 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.638e-05/0.006188, allocations: 326.8 kB / 330.9 MB, free: 1.977 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.999e-05/0.006208, allocations: 19.92 kB / 330.9 MB, free: 1.957 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.568e-05/0.006244, allocations: 44.17 kB / 331 MB, free: 1.902 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.6e-05/0.00629, allocations: 42.27 kB / 331 MB, free: 1.859 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.006291, allocations: 0 / 331 MB, free: 1.859 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.591e-05/0.006367, allocations: 69.55 kB / 331.1 MB, free: 1.785 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/0.006378, allocations: 5.25 kB / 331.1 MB, free: 1.781 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.006382, allocations: 0 / 331.1 MB, free: 1.781 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.997e-06/0.006391, allocations: 0 / 331.1 MB, free: 1.781 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.155e-05/0.006473, allocations: 27.97 kB / 331.1 MB, free: 1.754 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.354e-06/0.006475, allocations: 4 kB / 331.1 MB, free: 1.75 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.412e-05/0.006519, allocations: 20.39 kB / 331.1 MB, free: 1.73 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.121e-06/0.006526, allocations: 0 / 331.1 MB, free: 1.73 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 5.147e-05/0.006577, allocations: 120.6 kB / 331.3 MB, free: 1.602 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.19e-05/0.006599, allocations: 11.92 kB / 331.3 MB, free: 1.59 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.831e-05/0.006697, allocations: 82.36 kB / 331.3 MB, free: 1.504 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-06/0.006698, allocations: 0 / 331.3 MB, free: 1.504 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-06/0.006701, allocations: 4 kB / 331.3 MB, free: 1.5 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.006704, allocations: 0 / 331.3 MB, free: 1.5 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000222/0.006926, allocations: 302.5 kB / 331.6 MB, free: 1.18 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.006926, allocations: 4 kB / 331.6 MB, free: 1.176 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.903e-05/0.006985, allocations: 23.98 kB / 331.7 MB, free: 1.152 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.006987, allocations: 0 / 331.7 MB, free: 1.152 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.591e-06/0.006993, allocations: 0 / 331.7 MB, free: 1.152 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.006994, allocations: 0 / 331.7 MB, free: 1.152 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.006994, allocations: 0 / 331.7 MB, free: 1.152 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001002/0.007095, allocations: 169 kB / 331.8 MB, free: 0.9727 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.076e-05/0.007105, allocations: 11.94 kB / 331.8 MB, free: 0.957 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.145e-05/0.007117, allocations: 0 / 331.8 MB, free: 0.957 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.337e-05/0.00717, allocations: 19.92 kB / 331.9 MB, free: 0.9375 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.618e-05/0.007206, allocations: 11.98 kB / 331.9 MB, free: 0.9258 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.038e-06/0.00721, allocations: 0 / 331.9 MB, free: 0.9258 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.904e-05/0.007239, allocations: 38.25 kB / 331.9 MB, free: 0.8867 MB / 298.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.00724, allocations: 0 / 331.9 MB, free: 0.8867 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001623/0.007402, allocations: 47.86 kB / 332 MB, free: 0.8398 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.001252/0.008654, allocations: 0.6255 MB / 332.6 MB, free: 0.5 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.053e-05/0.008744, allocations: 40.83 kB / 332.6 MB, free: 468 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.008748, allocations: 4 kB / 332.6 MB, free: 464 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.56e-05/0.008783, allocations: 20.8 kB / 332.7 MB, free: 440 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001592/0.008942, allocations: 37.41 kB / 332.7 MB, free: 404 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002761/0.009218, allocations: 215.2 kB / 332.9 MB, free: 160 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.19e-05/0.00925, allocations: 67.34 kB / 333 MB, free: 72 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.072e-05/0.009301, allocations: 24.41 kB / 333 MB, free: 48 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.796e-05/0.009389, allocations: 75.34 kB / 333.1 MB, free: 15.97 MB / 314.7 MB Notification: Performance of SimCode: time 3.91e-07/0.009389, allocations: 0 / 333.1 MB, free: 15.97 MB / 314.7 MB Notification: Performance of Templates: time 0.003926/0.01332, allocations: 2.816 MB / 335.9 MB, free: 13.19 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 -s gbode -gbm=radauIIA3 -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: 2.9339382010512054]