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.001057/0.001057, allocations: 85.91 kB / 22.22 MB, free: 2.285 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.001231/0.001231, allocations: 167.4 kB / 25.61 MB, free: 8.578 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 1.079/1.079, allocations: 177 MB / 205.9 MB, free: 4.449 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.19/0.19, allocations: 34.87 MB / 297.4 MB, free: 13.35 MB / 282.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.923e-06/1.923e-06, allocations: 0 / 380 MB, free: 22.74 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.194e-05/4.386e-05, allocations: 5.938 kB / 380 MB, free: 22.73 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.004009/0.004053, allocations: 1.719 MB / 381.7 MB, free: 21.01 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001145/0.005198, allocations: 0.5835 MB / 382.3 MB, free: 20.42 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.601e-05/0.005294, allocations: 4 kB / 382.3 MB, free: 20.42 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002835/0.005577, allocations: 31.66 kB / 382.4 MB, free: 20.39 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003617/0.005939, allocations: 83.55 kB / 382.4 MB, free: 20.3 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004907/0.00643, allocations: 183.5 kB / 382.6 MB, free: 20.12 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00021/0.00664, allocations: 99.69 kB / 382.7 MB, free: 20.03 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001235/0.006763, allocations: 12 kB / 382.7 MB, free: 20.02 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001179/0.006881, allocations: 55.81 kB / 382.8 MB, free: 19.96 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.19e-05/0.006973, allocations: 31.91 kB / 382.8 MB, free: 19.93 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.426e-05/0.006997, allocations: 11.98 kB / 382.8 MB, free: 19.92 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002113/0.007209, allocations: 95.77 kB / 382.9 MB, free: 19.82 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 7.009e-05/0.007279, allocations: 27.91 kB / 382.9 MB, free: 19.8 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.023e-05/0.007319, allocations: 23.92 kB / 383 MB, free: 19.77 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003179/0.007637, allocations: 155.5 kB / 383.1 MB, free: 19.62 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.007642, allocations: 8 kB / 383.1 MB, free: 19.61 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.007644, allocations: 0 / 383.1 MB, free: 19.61 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.007651, allocations: 0 / 383.1 MB, free: 19.61 MB / 314.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.0005174/0.008168, allocations: 451.8 kB / 383.6 MB, free: 19.13 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.00821, allocations: 8.031 kB / 383.6 MB, free: 19.12 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.463e-05/0.008265, allocations: 16.89 kB / 383.6 MB, free: 19.11 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001737/0.008439, allocations: 141 kB / 383.7 MB, free: 18.95 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.083e-05/0.00845, allocations: 384 / 383.7 MB, free: 18.95 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.545e-05/0.008475, allocations: 8.375 kB / 383.7 MB, free: 18.94 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001924/0.008667, allocations: 131.9 kB / 383.9 MB, free: 18.79 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.00868, allocations: 192 / 383.9 MB, free: 18.79 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.008691, allocations: 8.062 kB / 383.9 MB, free: 18.78 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.824e-06/0.008699, allocations: 0 / 383.9 MB, free: 18.78 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.234e-05/0.008742, allocations: 11.98 kB / 383.9 MB, free: 18.77 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004605/0.009202, allocations: 284.4 kB / 384.2 MB, free: 18.46 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001435/0.009346, allocations: 50.98 kB / 384.2 MB, free: 18.4 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.822e-05/0.009374, allocations: 11.69 kB / 384.2 MB, free: 18.38 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.169e-05/0.009396, allocations: 4 kB / 384.2 MB, free: 18.38 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.47e-05/0.00942, allocations: 41.33 kB / 384.3 MB, free: 18.33 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 1.843e-06/0.009422, allocations: 0 / 384.3 MB, free: 18.33 MB / 314.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006185/0.01004, allocations: 149.5 kB / 384.4 MB, free: 18.18 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.212e-05/0.01008, allocations: 77.11 kB / 384.5 MB, free: 18.08 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000131/0.01021, allocations: 212.5 kB / 384.7 MB, free: 17.86 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.351e-05/0.01023, allocations: 25.7 kB / 384.7 MB, free: 17.83 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.176e-05/0.01028, allocations: 150.8 kB / 384.9 MB, free: 17.68 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.983e-05/0.01031, allocations: 35.73 kB / 384.9 MB, free: 17.64 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.165e-05/0.01036, allocations: 31.38 kB / 384.9 MB, free: 17.6 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.229e-05/0.01043, allocations: 0.4962 MB / 385.4 MB, free: 17.09 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.761e-05/0.01047, allocations: 4 kB / 385.4 MB, free: 17.09 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.448e-05/0.01052, allocations: 57.06 kB / 385.5 MB, free: 17.02 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.005e-05/0.01059, allocations: 47.81 kB / 385.5 MB, free: 16.97 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.0106, allocations: 3.938 kB / 385.5 MB, free: 16.96 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000145/0.01074, allocations: 73.58 kB / 385.6 MB, free: 16.89 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.01076, allocations: 8 kB / 385.6 MB, free: 16.88 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.01077, allocations: 384 / 385.6 MB, free: 16.88 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.01078, allocations: 0 / 385.6 MB, free: 16.88 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001308/0.01091, allocations: 32.02 kB / 385.7 MB, free: 16.85 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.587e-06/0.01091, allocations: 0 / 385.7 MB, free: 16.85 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.645e-05/0.01098, allocations: 19.92 kB / 385.7 MB, free: 16.83 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.919e-06/0.01099, allocations: 4 kB / 385.7 MB, free: 16.82 MB / 314.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 7.267e-05/0.01106, allocations: 164.5 kB / 385.8 MB, free: 16.65 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.095e-05/0.0111, allocations: 15.91 kB / 385.9 MB, free: 16.64 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000172/0.01128, allocations: 86.38 kB / 385.9 MB, free: 16.55 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.01128, allocations: 0 / 385.9 MB, free: 16.55 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-06/0.01128, allocations: 0 / 385.9 MB, free: 16.55 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.01129, allocations: 7.938 kB / 385.9 MB, free: 16.54 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003706/0.01166, allocations: 345.9 kB / 386.3 MB, free: 16.17 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.01166, allocations: 3.984 kB / 386.3 MB, free: 16.16 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.73e-05/0.01176, allocations: 23.98 kB / 386.3 MB, free: 16.14 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.01176, allocations: 0 / 386.3 MB, free: 16.14 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.868e-06/0.01177, allocations: 4 kB / 386.3 MB, free: 16.14 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.01178, allocations: 0 / 386.3 MB, free: 16.14 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.01178, allocations: 3.984 kB / 386.3 MB, free: 16.13 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001576/0.01194, allocations: 227.7 kB / 386.5 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.839e-05/0.01195, allocations: 15.94 kB / 386.6 MB, free: 15.88 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.82e-05/0.01197, allocations: 8 kB / 386.6 MB, free: 15.87 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.227e-05/0.01206, allocations: 11.98 kB / 386.6 MB, free: 15.86 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.214e-05/0.01212, allocations: 11.98 kB / 386.6 MB, free: 15.84 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-06/0.01212, allocations: 0 / 386.6 MB, free: 15.84 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.896e-05/0.01218, allocations: 153.6 kB / 386.7 MB, free: 15.7 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01218, allocations: 0 / 386.7 MB, free: 15.7 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003167/0.0125, allocations: 51.86 kB / 386.8 MB, free: 15.64 MB / 314.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.001359/0.01386, allocations: 0.4956 MB / 387.3 MB, free: 15.32 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001622/0.01402, allocations: 39.61 kB / 387.3 MB, free: 15.28 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.01402, allocations: 0 / 387.3 MB, free: 15.28 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.9e-05/0.01407, allocations: 35.59 kB / 387.4 MB, free: 15.24 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003485/0.01442, allocations: 29.7 kB / 387.4 MB, free: 15.21 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004405/0.01486, allocations: 223 kB / 387.6 MB, free: 14.96 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.19e-05/0.0149, allocations: 75.12 kB / 387.7 MB, free: 14.87 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.287e-05/0.01499, allocations: 20.47 kB / 387.7 MB, free: 14.85 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001037/0.01509, allocations: 98.19 kB / 387.8 MB, free: 14.75 MB / 314.7 MB Notification: Performance of SimCode: time 1.062e-06/0.01509, allocations: 0 / 387.8 MB, free: 14.75 MB / 314.7 MB Notification: Performance of Templates: time 0.005828/0.02092, allocations: 3.047 MB / 390.8 MB, free: 11.74 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.826137804426253]