Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.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.000974/0.000974, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001013/0.001013, allocations: 170.6 kB / 24.91 MB, free: 8.77 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.9665/0.9665, allocations: 177.1 MB / 205.3 MB, free: 5.477 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.2397/0.2397, allocations: 32.81 MB / 294.6 MB, free: 1.238 MB / 266.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.CombiTable1Dv.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 323.3 MB, free: 9.664 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.381e-05/1.528e-05, allocations: 6.312 kB / 323.3 MB, free: 9.656 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.002185/0.0022, allocations: 1.68 MB / 325 MB, free: 7.965 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006832/0.002883, allocations: 0.5607 MB / 325.5 MB, free: 7.398 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.702e-05/0.00293, allocations: 0 / 325.5 MB, free: 7.398 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001884/0.003119, allocations: 27.78 kB / 325.6 MB, free: 7.371 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001831/0.003302, allocations: 75.56 kB / 325.6 MB, free: 7.297 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001817/0.003483, allocations: 115.6 kB / 325.7 MB, free: 7.184 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001135/0.003597, allocations: 71.83 kB / 325.8 MB, free: 7.113 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.613e-05/0.003663, allocations: 7.984 kB / 325.8 MB, free: 7.105 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.682e-05/0.00372, allocations: 47.83 kB / 325.9 MB, free: 7.059 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.64e-05/0.003786, allocations: 15.98 kB / 325.9 MB, free: 7.043 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.144e-05/0.003798, allocations: 4 kB / 325.9 MB, free: 7.039 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001312/0.003929, allocations: 107.7 kB / 326 MB, free: 6.934 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.367e-05/0.003962, allocations: 11.98 kB / 326 MB, free: 6.922 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.009e-05/0.003983, allocations: 19.92 kB / 326 MB, free: 6.902 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001672/0.00415, allocations: 139.5 kB / 326.2 MB, free: 6.766 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.252e-06/0.004151, allocations: 0 / 326.2 MB, free: 6.766 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.004152, allocations: 4 kB / 326.2 MB, free: 6.762 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.645e-06/0.004155, allocations: 0 / 326.2 MB, free: 6.762 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002864/0.004441, allocations: 305.5 kB / 326.5 MB, free: 6.441 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.714e-05/0.004468, allocations: 8.031 kB / 326.5 MB, free: 6.434 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.682e-05/0.004495, allocations: 12.92 kB / 326.5 MB, free: 6.422 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001165/0.004612, allocations: 121.7 kB / 326.6 MB, free: 6.277 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.205e-06/0.00462, allocations: 8.375 kB / 326.6 MB, free: 6.27 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.319e-05/0.004633, allocations: 4.312 kB / 326.6 MB, free: 6.266 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.269e-05/0.004726, allocations: 106.3 kB / 326.7 MB, free: 6.141 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.004734, allocations: 4.141 kB / 326.7 MB, free: 6.137 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.923e-06/0.004741, allocations: 8.125 kB / 326.7 MB, free: 6.129 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-06/0.004745, allocations: 0 / 326.7 MB, free: 6.129 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.605e-05/0.004761, allocations: 4 kB / 326.7 MB, free: 6.125 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002047/0.004966, allocations: 171.8 kB / 326.9 MB, free: 5.941 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.562e-05/0.005011, allocations: 41.31 kB / 326.9 MB, free: 5.891 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.514e-05/0.005026, allocations: 8.859 kB / 327 MB, free: 5.879 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.257e-05/0.005039, allocations: 3.984 kB / 327 MB, free: 5.875 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.929e-05/0.005058, allocations: 34.64 kB / 327 MB, free: 5.832 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 7.82e-07/0.005059, allocations: 4 kB / 327 MB, free: 5.828 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002464/0.005305, allocations: 105.5 kB / 327.1 MB, free: 5.719 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.777e-05/0.005333, allocations: 77.11 kB / 327.2 MB, free: 5.625 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.909e-05/0.005422, allocations: 150.6 kB / 327.3 MB, free: 5.465 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.029e-05/0.005433, allocations: 29.7 kB / 327.4 MB, free: 5.43 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.645e-05/0.005459, allocations: 88.12 kB / 327.4 MB, free: 5.34 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.738e-05/0.005476, allocations: 23.78 kB / 327.5 MB, free: 5.316 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.723e-05/0.005504, allocations: 21.72 kB / 327.5 MB, free: 5.289 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.713e-05/0.005571, allocations: 318.8 kB / 327.8 MB, free: 4.969 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.503e-05/0.005586, allocations: 14.81 kB / 327.8 MB, free: 4.953 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.927e-05/0.005615, allocations: 47.36 kB / 327.9 MB, free: 4.895 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.676e-05/0.005652, allocations: 38.5 kB / 327.9 MB, free: 4.852 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-07/0.005652, allocations: 0 / 327.9 MB, free: 4.852 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 5.919e-05/0.005712, allocations: 60.45 kB / 328 MB, free: 4.785 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.016e-05/0.005722, allocations: 8 kB / 328 MB, free: 4.777 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.005726, allocations: 0 / 328 MB, free: 4.777 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.225e-06/0.005734, allocations: 0 / 328 MB, free: 4.777 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.458e-05/0.005788, allocations: 15.98 kB / 328 MB, free: 4.762 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.114e-06/0.00579, allocations: 3.938 kB / 328 MB, free: 4.758 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.88e-05/0.005809, allocations: 4 kB / 328 MB, free: 4.754 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.571e-06/0.005815, allocations: 3.984 kB / 328 MB, free: 4.75 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 (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 4.85e-05/0.005863, allocations: 120.7 kB / 328.1 MB, free: 4.621 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.803e-05/0.005881, allocations: 7.938 kB / 328.1 MB, free: 4.613 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.903e-05/0.00596, allocations: 62.45 kB / 328.2 MB, free: 4.547 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.005963, allocations: 4 kB / 328.2 MB, free: 4.543 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.005965, allocations: 7.938 kB / 328.2 MB, free: 4.535 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.00597, allocations: 3.984 kB / 328.2 MB, free: 4.531 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000194/0.006164, allocations: 274.9 kB / 328.5 MB, free: 4.238 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.006166, allocations: 3.984 kB / 328.5 MB, free: 4.234 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.094e-05/0.006196, allocations: 12 kB / 328.5 MB, free: 4.223 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.273e-06/0.006198, allocations: 3.938 kB / 328.5 MB, free: 4.219 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.639e-06/0.006202, allocations: 8 kB / 328.5 MB, free: 4.211 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-07/0.006203, allocations: 0 / 328.5 MB, free: 4.211 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.006204, allocations: 0 / 328.5 MB, free: 4.211 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.538e-05/0.00628, allocations: 159.5 kB / 328.6 MB, free: 4.039 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.398e-06/0.006289, allocations: 11.95 kB / 328.7 MB, free: 4.027 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.145e-05/0.0063, allocations: 3.984 kB / 328.7 MB, free: 4.023 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.244e-05/0.006333, allocations: 4 kB / 328.7 MB, free: 4.02 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.936e-05/0.006352, allocations: 0 / 328.7 MB, free: 4.02 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.408e-06/0.006357, allocations: 3.984 kB / 328.7 MB, free: 4.016 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.013e-05/0.006387, allocations: 40.59 kB / 328.7 MB, free: 3.973 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006387, allocations: 0 / 328.7 MB, free: 3.973 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001499/0.006537, allocations: 43.86 kB / 328.7 MB, free: 3.93 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 (7): * Single equations (assignments): 7 * 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.001249/0.007785, allocations: 0.6425 MB / 329.4 MB, free: 3.602 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.393e-05/0.007859, allocations: 32.83 kB / 329.4 MB, free: 3.566 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.007862, allocations: 0 / 329.4 MB, free: 3.566 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.828e-05/0.00788, allocations: 20.8 kB / 329.4 MB, free: 3.543 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001482/0.008028, allocations: 23.92 kB / 329.5 MB, free: 3.52 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002326/0.008261, allocations: 182.9 kB / 329.6 MB, free: 3.312 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.159e-05/0.008293, allocations: 63.34 kB / 329.7 MB, free: 3.23 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.479e-05/0.008327, allocations: 8.734 kB / 329.7 MB, free: 3.219 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.035e-05/0.008388, allocations: 71.36 kB / 329.8 MB, free: 3.148 MB / 298.7 MB Notification: Performance of SimCode: time 5.31e-07/0.008388, allocations: 0 / 329.8 MB, free: 3.148 MB / 298.7 MB Notification: Performance of Templates: time 0.003199/0.01159, allocations: 2.211 MB / 332 MB, free: 0.9531 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test25_usertab/Test25_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.8531725937500596]