Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001143/0.001143, allocations: 80.92 kB / 21.49 MB, free: 2.996 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001739/0.001739, allocations: 169 kB / 24.91 MB, free: 8.723 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9653/0.9653, allocations: 177.1 MB / 205.3 MB, free: 4.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1434/0.1434, allocations: 32.8 MB / 294.6 MB, free: 15.44 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 323.3 MB, free: 2.734 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.45e-05/2.609e-05, allocations: 6.25 kB / 323.3 MB, free: 2.727 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test29): time 0.002986/0.003012, allocations: 1.766 MB / 325.1 MB, free: 0.9492 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008653/0.003877, allocations: 0.5529 MB / 325.6 MB, free: 400 kB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.784e-05/0.003935, allocations: 4 kB / 325.6 MB, free: 396 kB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002735/0.004209, allocations: 67.66 kB / 325.7 MB, free: 328 kB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003028/0.004512, allocations: 107.5 kB / 325.8 MB, free: 220 kB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003053/0.004817, allocations: 127.6 kB / 325.9 MB, free: 92 kB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001593/0.004976, allocations: 87.73 kB / 326 MB, free: 4 kB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.005086, allocations: 24.31 kB / 326 MB, free: 15.97 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.381e-05/0.00517, allocations: 47.89 kB / 326.1 MB, free: 15.93 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.297e-05/0.005263, allocations: 43.88 kB / 326.1 MB, free: 15.88 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.413e-05/0.005277, allocations: 4 kB / 326.1 MB, free: 15.88 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001017/0.005379, allocations: 59.91 kB / 326.2 MB, free: 15.82 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.873e-05/0.005447, allocations: 23.92 kB / 326.2 MB, free: 15.8 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.503e-05/0.005472, allocations: 19.92 kB / 326.2 MB, free: 15.78 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001693/0.005642, allocations: 95.59 kB / 326.3 MB, free: 15.68 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.005645, allocations: 4 kB / 326.3 MB, free: 15.68 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.005646, allocations: 0 / 326.3 MB, free: 15.68 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.00565, allocations: 0 / 326.3 MB, free: 15.68 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003362/0.005987, allocations: 316.2 kB / 326.6 MB, free: 15.35 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.006028, allocations: 19.92 kB / 326.6 MB, free: 15.33 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.022e-05/0.006058, allocations: 12.92 kB / 326.7 MB, free: 15.32 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001356/0.006193, allocations: 142.3 kB / 326.8 MB, free: 15.15 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.434e-06/0.006201, allocations: 4.375 kB / 326.8 MB, free: 15.15 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.006219, allocations: 8.375 kB / 326.8 MB, free: 15.14 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001025/0.006322, allocations: 62.94 kB / 326.9 MB, free: 15.07 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.006331, allocations: 192 / 326.9 MB, free: 15.07 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.935e-06/0.006339, allocations: 8.062 kB / 326.9 MB, free: 15.06 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.698e-06/0.006344, allocations: 7.938 kB / 326.9 MB, free: 15.05 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.606e-05/0.00637, allocations: 11.98 kB / 326.9 MB, free: 15.04 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000234/0.006604, allocations: 168.2 kB / 327.1 MB, free: 14.86 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000132/0.006736, allocations: 46.58 kB / 327.1 MB, free: 14.81 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.849e-05/0.006754, allocations: 16.86 kB / 327.1 MB, free: 14.79 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.904e-05/0.006773, allocations: 0 / 327.1 MB, free: 14.79 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.188e-05/0.006795, allocations: 38.5 kB / 327.2 MB, free: 14.74 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 1.022e-06/0.006796, allocations: 0 / 327.2 MB, free: 14.74 MB / 314.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005379/0.007334, allocations: 197.5 kB / 327.3 MB, free: 14.54 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.818e-05/0.007372, allocations: 55.34 kB / 327.4 MB, free: 14.48 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001156/0.007488, allocations: 184.2 kB / 327.6 MB, free: 14.28 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.219e-05/0.0075, allocations: 25.7 kB / 327.6 MB, free: 14.25 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.556e-05/0.007536, allocations: 104.1 kB / 327.7 MB, free: 14.14 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.981e-05/0.007565, allocations: 35.67 kB / 327.7 MB, free: 14.11 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.632e-05/0.007602, allocations: 29.69 kB / 327.8 MB, free: 14.07 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.748e-05/0.007689, allocations: 326.8 kB / 328.1 MB, free: 13.75 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.85e-05/0.007708, allocations: 8 kB / 328.1 MB, free: 13.74 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.933e-05/0.007727, allocations: 15.94 kB / 328.1 MB, free: 13.72 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.574e-05/0.007773, allocations: 36.81 kB / 328.2 MB, free: 13.68 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.007774, allocations: 0 / 328.2 MB, free: 13.68 MB / 314.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 8.314e-05/0.007857, allocations: 73.61 kB / 328.2 MB, free: 13.61 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.00787, allocations: 4 kB / 328.2 MB, free: 13.6 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.007875, allocations: 0 / 328.2 MB, free: 13.6 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.007887, allocations: 0 / 328.2 MB, free: 13.6 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.779e-05/0.007955, allocations: 27.97 kB / 328.3 MB, free: 13.57 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.505e-06/0.007957, allocations: 0 / 328.3 MB, free: 13.57 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.503e-05/0.007982, allocations: 8 kB / 328.3 MB, free: 13.57 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.00799, allocations: 4 kB / 328.3 MB, free: 13.56 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 (11): * Single equations (assignments): 11 * 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.077e-05/0.008051, allocations: 116.6 kB / 328.4 MB, free: 13.44 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.277e-05/0.008074, allocations: 11.98 kB / 328.4 MB, free: 13.43 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001316/0.008205, allocations: 92 kB / 328.5 MB, free: 13.33 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.008208, allocations: 4 kB / 328.5 MB, free: 13.32 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.275e-06/0.008211, allocations: 4 kB / 328.5 MB, free: 13.32 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.008214, allocations: 0 / 328.5 MB, free: 13.32 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002685/0.008482, allocations: 288.2 kB / 328.8 MB, free: 13.01 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.008484, allocations: 0 / 328.8 MB, free: 13.01 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.541e-05/0.00854, allocations: 23.98 kB / 328.8 MB, free: 12.98 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.008542, allocations: 0 / 328.8 MB, free: 12.98 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.692e-06/0.008549, allocations: 4 kB / 328.8 MB, free: 12.98 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.008551, allocations: 8.062 kB / 328.8 MB, free: 12.97 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.008553, allocations: 0 / 328.8 MB, free: 12.97 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001047/0.008657, allocations: 185.1 kB / 329 MB, free: 12.77 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.247e-06/0.008667, allocations: 7.953 kB / 329 MB, free: 12.76 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.323e-05/0.00868, allocations: 8 kB / 329 MB, free: 12.75 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.002e-05/0.00872, allocations: 4 kB / 329 MB, free: 12.75 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.108e-05/0.008751, allocations: 11.92 kB / 329 MB, free: 12.74 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.833e-06/0.008758, allocations: 7.984 kB / 329 MB, free: 12.73 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.711e-05/0.008805, allocations: 52.64 kB / 329.1 MB, free: 12.68 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008805, allocations: 0 / 329.1 MB, free: 12.68 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001611/0.008966, allocations: 35.92 kB / 329.1 MB, free: 12.64 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001411/0.01038, allocations: 0.5721 MB / 329.7 MB, free: 12.34 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001134/0.01049, allocations: 48.84 kB / 329.7 MB, free: 12.29 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.439e-06/0.01049, allocations: 0 / 329.7 MB, free: 12.29 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.071e-05/0.01053, allocations: 28.78 kB / 329.8 MB, free: 12.25 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001826/0.01071, allocations: 23.94 kB / 329.8 MB, free: 12.23 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003813/0.01109, allocations: 267.4 kB / 330 MB, free: 11.94 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.538e-05/0.01113, allocations: 71.33 kB / 330.1 MB, free: 11.85 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.551e-05/0.01118, allocations: 16.62 kB / 330.1 MB, free: 11.83 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.893e-05/0.01125, allocations: 67.36 kB / 330.2 MB, free: 11.77 MB / 314.7 MB Notification: Performance of SimCode: time 9.41e-07/0.01125, allocations: 4 kB / 330.2 MB, free: 11.76 MB / 314.7 MB Notification: Performance of Templates: time 0.003708/0.01496, allocations: 1.682 MB / 331.9 MB, free: 10.09 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test29/Test29.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.02331071998924]