Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.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.0011/0.0011, allocations: 84.73 kB / 21.5 MB, free: 2.98 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.001226/0.001226, allocations: 161.8 kB / 24.91 MB, free: 8.703 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.9901/0.9901, allocations: 177 MB / 205.2 MB, free: 5.457 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.2719/0.2719, allocations: 34.86 MB / 296.6 MB, free: 0.5312 MB / 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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.764e-06/1.764e-06, allocations: 0 / 326 MB, free: 7.105 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.548e-05/2.724e-05, allocations: 3.156 kB / 326 MB, free: 7.102 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.003858/0.003886, allocations: 1.757 MB / 327.7 MB, free: 5.336 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001146/0.005031, allocations: 0.5803 MB / 328.3 MB, free: 4.754 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.581e-05/0.005107, allocations: 0 / 328.3 MB, free: 4.754 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006544/0.005762, allocations: 451.1 kB / 328.8 MB, free: 4.312 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000515/0.006277, allocations: 299.1 kB / 329.1 MB, free: 4.02 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004945/0.006771, allocations: 175.5 kB / 329.2 MB, free: 3.848 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000304/0.007075, allocations: 187.5 kB / 329.4 MB, free: 3.664 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.007189, allocations: 16.2 kB / 329.4 MB, free: 3.645 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002039/0.007393, allocations: 119.8 kB / 329.5 MB, free: 3.527 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002481/0.007641, allocations: 199.6 kB / 329.7 MB, free: 3.332 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.092e-05/0.007662, allocations: 4 kB / 329.7 MB, free: 3.328 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001176/0.007779, allocations: 47.92 kB / 329.8 MB, free: 3.281 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001117/0.007891, allocations: 95.69 kB / 329.9 MB, free: 3.188 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.041e-05/0.007941, allocations: 35.75 kB / 329.9 MB, free: 3.152 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003167/0.008258, allocations: 215 kB / 330.1 MB, free: 2.941 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.008265, allocations: 0 / 330.1 MB, free: 2.941 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.008266, allocations: 4 kB / 330.1 MB, free: 2.938 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.112e-06/0.008272, allocations: 0 / 330.1 MB, free: 2.938 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006234/0.008896, allocations: 0.5501 MB / 330.7 MB, free: 2.359 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.00894, allocations: 12.03 kB / 330.7 MB, free: 2.348 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.043e-05/0.009, allocations: 28.91 kB / 330.7 MB, free: 2.32 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000278/0.009278, allocations: 242 kB / 331 MB, free: 2.055 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.551e-05/0.009293, allocations: 20.25 kB / 331 MB, free: 2.035 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.085e-05/0.009314, allocations: 384 / 331 MB, free: 2.035 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001255/0.00944, allocations: 63.69 kB / 331 MB, free: 1.965 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.009452, allocations: 192 / 331 MB, free: 1.965 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.925e-06/0.00946, allocations: 384 / 331 MB, free: 1.965 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.009466, allocations: 384 / 331 MB, free: 1.965 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.347e-05/0.009499, allocations: 15.92 kB / 331.1 MB, free: 1.949 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000344/0.009843, allocations: 215 kB / 331.3 MB, free: 1.723 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.354e-05/0.009907, allocations: 29.39 kB / 331.3 MB, free: 1.684 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.946e-05/0.009926, allocations: 8.859 kB / 331.3 MB, free: 1.672 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.815e-05/0.009944, allocations: 7.984 kB / 331.3 MB, free: 1.664 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.75e-05/0.009972, allocations: 38.59 kB / 331.4 MB, free: 1.617 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.823e-06/0.009973, allocations: 0 / 331.4 MB, free: 1.617 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005818/0.01056, allocations: 165.4 kB / 331.5 MB, free: 1.449 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.962e-05/0.01058, allocations: 51.41 kB / 331.6 MB, free: 1.387 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004706/0.01106, allocations: 0.5283 MB / 332.1 MB, free: 0.8398 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/0.01107, allocations: 25.7 kB / 332.1 MB, free: 0.8086 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.646e-05/0.01116, allocations: 145.3 kB / 332.3 MB, free: 0.6602 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.29e-05/0.01119, allocations: 27.78 kB / 332.3 MB, free: 0.6328 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.381e-05/0.01124, allocations: 25.7 kB / 332.3 MB, free: 0.6016 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.01135, allocations: 354.7 kB / 332.7 MB, free: 252 kB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.339e-05/0.01138, allocations: 11.98 kB / 332.7 MB, free: 240 kB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.78e-05/0.01139, allocations: 4 kB / 332.7 MB, free: 236 kB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.373e-05/0.01145, allocations: 35.59 kB / 332.7 MB, free: 196 kB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.01145, allocations: 0 / 332.7 MB, free: 196 kB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001085/0.01156, allocations: 73.59 kB / 332.8 MB, free: 116 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.01157, allocations: 4 kB / 332.8 MB, free: 112 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.01158, allocations: 320 / 332.8 MB, free: 112 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.0116, allocations: 8 kB / 332.8 MB, free: 104 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.345e-05/0.01168, allocations: 19.98 kB / 332.8 MB, free: 84 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.136e-06/0.01168, allocations: 0 / 332.8 MB, free: 84 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.262e-05/0.01173, allocations: 7.953 kB / 332.8 MB, free: 76 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.275e-06/0.01173, allocations: 7.984 kB / 332.8 MB, free: 68 kB / 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 (8): * Single equations (assignments): 8 * 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 0.0001025/0.01184, allocations: 116.6 kB / 332.9 MB, free: 15.94 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.453e-05/0.01188, allocations: 27.92 kB / 333 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000175/0.01206, allocations: 97.47 kB / 333.1 MB, free: 15.81 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.165e-06/0.01206, allocations: 4 kB / 333.1 MB, free: 15.81 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.01207, allocations: 3.984 kB / 333.1 MB, free: 15.8 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.01207, allocations: 4 kB / 333.1 MB, free: 15.8 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003851/0.01246, allocations: 311.3 kB / 333.4 MB, free: 15.47 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.01246, allocations: 0 / 333.4 MB, free: 15.47 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.421e-05/0.01252, allocations: 12 kB / 333.4 MB, free: 15.46 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-06/0.01253, allocations: 7.938 kB / 333.4 MB, free: 15.45 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.01253, allocations: 0 / 333.4 MB, free: 15.45 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.538e-06/0.01254, allocations: 3.984 kB / 333.4 MB, free: 15.45 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.01254, allocations: 0 / 333.4 MB, free: 15.45 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001478/0.01269, allocations: 180.3 kB / 333.6 MB, free: 15.25 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.818e-05/0.01273, allocations: 39.75 kB / 333.6 MB, free: 15.21 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.159e-05/0.01275, allocations: 0 / 333.6 MB, free: 15.21 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.403e-05/0.01282, allocations: 4 kB / 333.6 MB, free: 15.21 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.046e-05/0.01285, allocations: 3.984 kB / 333.6 MB, free: 15.2 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.925e-06/0.01286, allocations: 4 kB / 333.6 MB, free: 15.2 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002819/0.01314, allocations: 279.2 kB / 333.9 MB, free: 14.93 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01314, allocations: 3.938 kB / 333.9 MB, free: 14.92 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002414/0.01338, allocations: 31.98 kB / 333.9 MB, free: 14.89 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001749/0.01513, allocations: 0.5679 MB / 334.5 MB, free: 14.6 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001134/0.01525, allocations: 40.75 kB / 334.5 MB, free: 14.56 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 9.507e-06/0.01526, allocations: 4 kB / 334.5 MB, free: 14.55 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.395e-05/0.01529, allocations: 20.8 kB / 334.6 MB, free: 14.53 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002928/0.01558, allocations: 30.02 kB / 334.6 MB, free: 14.5 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000998/0.01658, allocations: 0.606 MB / 335.2 MB, free: 13.86 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001162/0.0167, allocations: 127.2 kB / 335.3 MB, free: 13.72 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.16e-05/0.01676, allocations: 8.734 kB / 335.3 MB, free: 13.71 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.806e-05/0.01684, allocations: 63.3 kB / 335.4 MB, free: 13.65 MB / 314.7 MB Notification: Performance of SimCode: time 1.202e-06/0.01684, allocations: 3.938 kB / 335.4 MB, free: 13.64 MB / 314.7 MB Notification: Performance of Templates: time 0.005894/0.02273, allocations: 1.754 MB / 337.2 MB, free: 11.91 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.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.853722230065614]