Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.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.001022/0.001022, 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.001924/0.001924, allocations: 160.6 kB / 24.91 MB, free: 8.727 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.082/1.082, allocations: 177 MB / 205.2 MB, free: 5.469 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.277/0.277, allocations: 34.86 MB / 296.6 MB, free: 0.5117 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.CombiTable2Ds.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 326 MB, free: 7.109 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.691e-05/2.858e-05, allocations: 5.188 kB / 326 MB, free: 7.105 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab): time 0.003634/0.003662, allocations: 1.778 MB / 327.8 MB, free: 5.316 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001021/0.004683, allocations: 0.5718 MB / 328.3 MB, free: 4.742 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.825e-05/0.004741, allocations: 0 / 328.3 MB, free: 4.742 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002238/0.004965, allocations: 19.84 kB / 328.3 MB, free: 4.723 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002968/0.005262, allocations: 79.5 kB / 328.4 MB, free: 4.645 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003367/0.005599, allocations: 143.5 kB / 328.6 MB, free: 4.504 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001786/0.005777, allocations: 87.7 kB / 328.6 MB, free: 4.418 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.454e-05/0.005872, allocations: 23.95 kB / 328.7 MB, free: 4.395 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001129/0.005985, allocations: 47.84 kB / 328.7 MB, free: 4.348 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.303e-05/0.006068, allocations: 35.88 kB / 328.8 MB, free: 4.312 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.679e-05/0.006085, allocations: 4 kB / 328.8 MB, free: 4.309 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000198/0.006283, allocations: 99.88 kB / 328.9 MB, free: 4.211 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.315e-05/0.006346, allocations: 19.92 kB / 328.9 MB, free: 4.191 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.159e-05/0.006377, allocations: 27.91 kB / 328.9 MB, free: 4.164 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002762/0.006653, allocations: 167.4 kB / 329.1 MB, free: 4 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.006658, allocations: 0 / 329.1 MB, free: 4 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.006659, allocations: 0 / 329.1 MB, free: 4 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.006664, 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.0004836/0.007148, allocations: 325.5 kB / 329.4 MB, free: 3.656 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.007187, allocations: 8.031 kB / 329.4 MB, free: 3.648 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.186e-05/0.007229, allocations: 8.922 kB / 329.4 MB, free: 3.641 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001897/0.007419, allocations: 138.2 kB / 329.5 MB, free: 3.48 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.00743, allocations: 8.375 kB / 329.5 MB, free: 3.473 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.23e-05/0.007453, allocations: 8.312 kB / 329.5 MB, free: 3.465 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001867/0.00764, allocations: 110.3 kB / 329.7 MB, free: 3.336 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.007651, allocations: 192 / 329.7 MB, free: 3.336 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-06/0.00766, allocations: 8.062 kB / 329.7 MB, free: 3.328 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.007666, allocations: 0 / 329.7 MB, free: 3.328 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.452e-05/0.007701, allocations: 8 kB / 329.7 MB, free: 3.32 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003262/0.008027, allocations: 176.2 kB / 329.8 MB, free: 3.133 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001004/0.008128, allocations: 34.62 kB / 329.9 MB, free: 3.09 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.372e-05/0.008151, allocations: 12.86 kB / 329.9 MB, free: 3.074 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.063e-05/0.008172, allocations: 4.125 kB / 329.9 MB, free: 3.07 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.869e-05/0.008201, allocations: 38.56 kB / 329.9 MB, free: 3.023 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 1.723e-06/0.008202, allocations: 0 / 329.9 MB, free: 3.023 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004965/0.008699, allocations: 141.3 kB / 330.1 MB, free: 2.879 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.096e-05/0.00874, allocations: 81.11 kB / 330.1 MB, free: 2.781 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001236/0.008863, allocations: 152.7 kB / 330.3 MB, free: 2.621 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.438e-05/0.008878, allocations: 25.7 kB / 330.3 MB, free: 2.59 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.37e-05/0.008921, allocations: 96.06 kB / 330.4 MB, free: 2.492 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.765e-05/0.008949, allocations: 27.75 kB / 330.4 MB, free: 2.465 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.091e-05/0.009, allocations: 33.69 kB / 330.5 MB, free: 2.426 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.364e-05/0.009094, allocations: 326.8 kB / 330.8 MB, free: 2.098 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.614e-05/0.00912, allocations: 4 kB / 330.8 MB, free: 2.094 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.256e-05/0.009172, allocations: 56.14 kB / 330.9 MB, free: 2.027 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.053e-05/0.009233, allocations: 31.41 kB / 330.9 MB, free: 1.996 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.009234, allocations: 0 / 330.9 MB, free: 1.996 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001143/0.009349, allocations: 65.61 kB / 331 MB, free: 1.926 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.009363, allocations: 4 kB / 331 MB, free: 1.922 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.009369, allocations: 384 / 331 MB, free: 1.922 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.009385, allocations: 0 / 331 MB, free: 1.922 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001345/0.009519, allocations: 40 kB / 331 MB, free: 1.883 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.747e-06/0.009523, allocations: 0 / 331 MB, free: 1.883 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.224e-05/0.009585, allocations: 15.98 kB / 331 MB, free: 1.867 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-06/0.009594, allocations: 0 / 331 MB, free: 1.867 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 8.772e-05/0.009682, allocations: 120.6 kB / 331.1 MB, free: 1.738 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.778e-05/0.00972, allocations: 7.984 kB / 331.1 MB, free: 1.73 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001508/0.00987, allocations: 78.38 kB / 331.2 MB, free: 1.648 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.776e-06/0.009873, allocations: 0 / 331.2 MB, free: 1.648 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/0.009875, allocations: 0 / 331.2 MB, free: 1.648 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.009879, allocations: 7.938 kB / 331.2 MB, free: 1.641 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003433/0.01022, allocations: 250.6 kB / 331.5 MB, free: 1.371 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.01023, allocations: 3.984 kB / 331.5 MB, free: 1.367 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.732e-05/0.01032, allocations: 23.92 kB / 331.5 MB, free: 1.344 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.01033, allocations: 4 kB / 331.5 MB, free: 1.34 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.969e-06/0.01034, allocations: 4 kB / 331.5 MB, free: 1.336 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.01034, allocations: 0 / 331.5 MB, free: 1.336 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.01034, allocations: 0 / 331.5 MB, free: 1.336 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001365/0.01048, allocations: 165 kB / 331.7 MB, free: 1.156 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.906e-05/0.0105, allocations: 11.94 kB / 331.7 MB, free: 1.145 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.67e-05/0.01051, allocations: 4 kB / 331.7 MB, free: 1.141 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.988e-05/0.0106, allocations: 15.98 kB / 331.7 MB, free: 1.125 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.011e-05/0.01065, allocations: 11.98 kB / 331.7 MB, free: 1.113 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.442e-06/0.01066, allocations: 0 / 331.7 MB, free: 1.113 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.766e-05/0.01071, allocations: 43.75 kB / 331.7 MB, free: 1.07 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01071, allocations: 0 / 331.7 MB, free: 1.07 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002766/0.01098, allocations: 47.88 kB / 331.8 MB, free: 1.023 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.001648/0.01263, allocations: 0.6309 MB / 332.4 MB, free: 0.6719 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001661/0.0128, allocations: 36.78 kB / 332.5 MB, free: 0.6328 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.0128, allocations: 0 / 332.5 MB, free: 0.6328 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.554e-05/0.01284, allocations: 28.78 kB / 332.5 MB, free: 0.6016 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002305/0.01307, allocations: 21.19 kB / 332.5 MB, free: 0.582 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004201/0.01349, allocations: 224.7 kB / 332.7 MB, free: 344 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.027e-05/0.01353, allocations: 67.34 kB / 332.8 MB, free: 256 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.826e-05/0.0136, allocations: 12.48 kB / 332.8 MB, free: 240 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.097e-05/0.01369, allocations: 71.34 kB / 332.9 MB, free: 168 kB / 298.7 MB Notification: Performance of SimCode: time 1.463e-06/0.01369, allocations: 0 / 332.9 MB, free: 168 kB / 298.7 MB Notification: Performance of Templates: time 0.004258/0.01795, allocations: 2.755 MB / 335.6 MB, free: 13.43 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/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.076903606764972]