Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.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.001262/0.001262, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001831/0.003093, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001132/0.001132, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001573/0.002705, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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 1.192/1.192, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1311/1.323, allocations: 53.66 MB / 243.3 MB, free: 15.57 MB / 250.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.296/0.296, allocations: 32.79 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02404/0.32, allocations: 12.54 MB / 289.3 MB, free: 8.672 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.CombiTimeTable.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51") translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 290.7 MB, free: 7.586 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.536e-05/2.693e-05, allocations: 8.703 kB / 290.7 MB, free: 7.578 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.003531/0.003558, allocations: 1.811 MB / 292.5 MB, free: 6.105 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001827/0.005385, allocations: 1.011 MB / 293.5 MB, free: 5.348 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001144/0.005499, allocations: 3.5 kB / 293.5 MB, free: 5.348 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002681/0.005767, allocations: 55.25 kB / 293.6 MB, free: 5.309 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000387/0.006155, allocations: 95.03 kB / 293.7 MB, free: 5.219 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002437/0.006398, allocations: 79.59 kB / 293.7 MB, free: 5.141 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001554/0.006554, allocations: 107.7 kB / 293.9 MB, free: 5.035 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.364e-05/0.006637, allocations: 8.734 kB / 293.9 MB, free: 5.027 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001149/0.006752, allocations: 83.75 kB / 293.9 MB, free: 4.945 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.218e-05/0.006834, allocations: 31.91 kB / 294 MB, free: 4.914 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.377e-05/0.006848, allocations: 4 kB / 294 MB, free: 4.91 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.406e-05/0.006942, allocations: 47.91 kB / 294 MB, free: 4.863 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.293e-05/0.006985, allocations: 15.94 kB / 294 MB, free: 4.848 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.625e-05/0.007021, allocations: 19.88 kB / 294.1 MB, free: 4.828 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001745/0.007196, allocations: 103.5 kB / 294.2 MB, free: 4.727 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.659e-05/0.007212, allocations: 0 / 294.2 MB, free: 4.727 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.007214, allocations: 4 kB / 294.2 MB, free: 4.723 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.539e-05/0.007229, allocations: 0 / 294.2 MB, free: 4.723 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000447/0.007676, allocations: 352.4 kB / 294.5 MB, free: 4.355 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.186e-05/0.007708, allocations: 12.03 kB / 294.5 MB, free: 4.344 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.082e-05/0.007739, allocations: 8.938 kB / 294.5 MB, free: 4.336 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000173/0.007912, allocations: 154.4 kB / 294.7 MB, free: 4.156 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/0.007926, allocations: 384 / 294.7 MB, free: 4.156 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.547e-05/0.007942, allocations: 4.375 kB / 294.7 MB, free: 4.152 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001053/0.008047, allocations: 61.77 kB / 294.7 MB, free: 4.082 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.008057, allocations: 7.875 kB / 294.8 MB, free: 4.074 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.055e-06/0.008065, allocations: 4 kB / 294.8 MB, free: 4.07 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.008071, allocations: 0 / 294.8 MB, free: 4.07 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.803e-05/0.008099, allocations: 7.984 kB / 294.8 MB, free: 4.062 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002301/0.008329, allocations: 169.8 kB / 294.9 MB, free: 3.879 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001048/0.008434, allocations: 93.34 kB / 295 MB, free: 3.777 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.168e-05/0.008456, allocations: 16.83 kB / 295 MB, free: 3.758 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.123e-05/0.008467, allocations: 4 kB / 295 MB, free: 3.754 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001127/0.00858, allocations: 70.09 kB / 295.1 MB, free: 3.672 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.008581, allocations: 0 / 295.1 MB, free: 3.672 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003327/0.008914, allocations: 105.8 kB / 295.2 MB, free: 3.562 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.148e-05/0.008945, allocations: 51.41 kB / 295.3 MB, free: 3.5 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001311/0.009076, allocations: 197.6 kB / 295.5 MB, free: 3.293 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.705e-05/0.009093, allocations: 33.7 kB / 295.5 MB, free: 3.254 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.839e-05/0.009131, allocations: 100.1 kB / 295.6 MB, free: 3.152 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.735e-05/0.009159, allocations: 23.78 kB / 295.6 MB, free: 3.129 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.691e-05/0.009196, allocations: 25.7 kB / 295.6 MB, free: 3.098 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.168e-05/0.009277, allocations: 326.8 kB / 296 MB, free: 2.77 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.538e-05/0.009293, allocations: 7.016 kB / 296 MB, free: 2.762 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.573e-05/0.009319, allocations: 29.7 kB / 296 MB, free: 2.727 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.785e-05/0.009356, allocations: 40.45 kB / 296 MB, free: 2.68 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.009358, allocations: 0 / 296 MB, free: 2.68 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.444e-05/0.009432, allocations: 80.38 kB / 296.1 MB, free: 2.594 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.009445, allocations: 8 kB / 296.1 MB, free: 2.586 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.009451, allocations: 3.984 kB / 296.1 MB, free: 2.582 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.616e-06/0.009459, allocations: 0 / 296.1 MB, free: 2.582 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.604e-05/0.009525, allocations: 16 kB / 296.1 MB, free: 2.566 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.595e-06/0.009528, allocations: 0 / 296.1 MB, free: 2.566 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.649e-05/0.009554, allocations: 7.938 kB / 296.1 MB, free: 2.559 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.333e-06/0.009562, allocations: 7.984 kB / 296.2 MB, free: 2.551 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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 6.331e-05/0.009625, allocations: 112.7 kB / 296.3 MB, free: 2.43 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.449e-05/0.00964, allocations: 15.92 kB / 296.3 MB, free: 2.414 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001197/0.009759, allocations: 79.11 kB / 296.4 MB, free: 2.332 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.009761, allocations: 0 / 296.4 MB, free: 2.332 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/0.009763, allocations: 0 / 296.4 MB, free: 2.332 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.009767, allocations: 0 / 296.4 MB, free: 2.332 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002384/0.01, allocations: 307.5 kB / 296.7 MB, free: 2.004 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.01001, allocations: 0 / 296.7 MB, free: 2.004 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.751e-05/0.01003, allocations: 8 kB / 296.7 MB, free: 1.996 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.254e-05/0.01005, allocations: 11.91 kB / 296.7 MB, free: 1.984 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.01005, allocations: 4 kB / 296.7 MB, free: 1.98 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.773e-06/0.01006, allocations: 7.922 kB / 296.7 MB, free: 1.973 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.01006, allocations: 4.031 kB / 296.7 MB, free: 1.969 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.01006, allocations: 0 / 296.7 MB, free: 1.969 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000115/0.01017, allocations: 223 kB / 296.9 MB, free: 1.73 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.455e-05/0.01019, allocations: 0 / 296.9 MB, free: 1.73 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.906e-05/0.01023, allocations: 11.92 kB / 296.9 MB, free: 1.719 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.535e-05/0.01025, allocations: 8 kB / 296.9 MB, free: 1.711 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.353e-05/0.01027, allocations: 3.984 kB / 296.9 MB, free: 1.707 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.395e-05/0.01032, allocations: 61.42 kB / 297 MB, free: 1.645 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01032, allocations: 0 / 297 MB, free: 1.645 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001488/0.01047, allocations: 23.94 kB / 297 MB, free: 1.621 MB / 282.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001432/0.0119, allocations: 0.6374 MB / 297.7 MB, free: 1.34 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001108/0.01201, allocations: 44.7 kB / 297.7 MB, free: 1.293 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.107e-05/0.01202, allocations: 12.05 kB / 297.7 MB, free: 1.281 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.185e-05/0.01205, allocations: 24.8 kB / 297.7 MB, free: 1.254 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000201/0.01226, allocations: 48.67 kB / 297.8 MB, free: 1.215 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005025/0.01276, allocations: 246.5 kB / 298 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.677e-05/0.0128, allocations: 71.34 kB / 298.1 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.172e-05/0.01285, allocations: 17.27 kB / 298.1 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.405e-05/0.01291, allocations: 71.42 kB / 298.2 MB, free: 0.7656 MB / 282.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01291, allocations: 0 / 298.2 MB, free: 0.7656 MB / 282.7 MB Notification: Performance of Templates: time 0.003849/0.01676, allocations: 2.048 MB / 300.2 MB, free: 14.75 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.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.435573603026569]