Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.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.0008755/0.0008755, allocations: 76.17 kB / 9.931 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001573/0.002448, allocations: 449.7 kB / 10.37 MB, free: 324 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.0007476/0.0007476, allocations: 169.1 kB / 11.26 MB, free: 2.906 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001031/0.001779, allocations: 455.6 kB / 11.71 MB, free: 2.457 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 0.939/0.939, allocations: 177.2 MB / 189.6 MB, free: 5.332 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09992/1.039, allocations: 53.65 MB / 243.3 MB, free: 15.6 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2626/0.2626, allocations: 34.26 MB / 278.2 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02124/0.2839, allocations: 13.1 MB / 291.3 MB, free: 7.371 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.233e-06/1.233e-06, allocations: 0 / 292.7 MB, free: 6.219 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.207e-06/1.044e-05, allocations: 5.328 kB / 292.7 MB, free: 6.215 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.001751/0.001761, allocations: 1.819 MB / 294.5 MB, free: 4.383 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001049/0.00281, allocations: 1.025 MB / 295.6 MB, free: 3.352 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.861e-05/0.002869, allocations: 3.938 kB / 295.6 MB, free: 3.348 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001874/0.003056, allocations: 99.66 kB / 295.7 MB, free: 3.25 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001946/0.003251, allocations: 131.3 kB / 295.8 MB, free: 3.121 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001441/0.003395, allocations: 87.66 kB / 295.9 MB, free: 3.035 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001418/0.003537, allocations: 131.5 kB / 296 MB, free: 2.906 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.88e-05/0.003606, allocations: 8 kB / 296 MB, free: 2.898 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001174/0.003723, allocations: 99.78 kB / 296.1 MB, free: 2.801 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.696e-05/0.00381, allocations: 55.86 kB / 296.2 MB, free: 2.746 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.308e-05/0.003823, allocations: 4 kB / 296.2 MB, free: 2.742 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.75e-05/0.00391, allocations: 59.86 kB / 296.2 MB, free: 2.684 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.829e-05/0.003959, allocations: 31.86 kB / 296.3 MB, free: 2.652 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.903e-05/0.003998, allocations: 15.94 kB / 296.3 MB, free: 2.637 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001706/0.004168, allocations: 115.5 kB / 296.4 MB, free: 2.523 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.402e-05/0.004182, allocations: 8 kB / 296.4 MB, free: 2.516 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.004183, allocations: 0 / 296.4 MB, free: 2.516 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.43e-05/0.004197, allocations: 0 / 296.4 MB, free: 2.516 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004091/0.004606, allocations: 364.8 kB / 296.8 MB, free: 2.137 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.753e-05/0.004634, allocations: 12.03 kB / 296.8 MB, free: 2.125 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.82e-05/0.004662, allocations: 12.92 kB / 296.8 MB, free: 2.113 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001426/0.004805, allocations: 157.4 kB / 296.9 MB, free: 1.934 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.004818, allocations: 384 / 296.9 MB, free: 1.934 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.702e-05/0.004835, allocations: 12.36 kB / 297 MB, free: 1.922 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.381e-05/0.004928, allocations: 69.75 kB / 297 MB, free: 1.844 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.866e-06/0.004937, allocations: 3.938 kB / 297 MB, free: 1.84 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.671e-06/0.004943, allocations: 4 kB / 297 MB, free: 1.836 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.004947, allocations: 0 / 297 MB, free: 1.836 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.67e-05/0.004974, allocations: 11.98 kB / 297 MB, free: 1.824 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001873/0.005161, allocations: 185.8 kB / 297.2 MB, free: 1.625 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001249/0.005286, allocations: 89.23 kB / 297.3 MB, free: 1.527 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.918e-05/0.005305, allocations: 12.86 kB / 297.3 MB, free: 1.512 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.546e-06/0.005313, allocations: 0 / 297.3 MB, free: 1.512 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.275e-05/0.005396, allocations: 78.27 kB / 297.4 MB, free: 1.422 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 5.81e-07/0.005397, allocations: 4 kB / 297.4 MB, free: 1.418 MB / 282.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003696/0.005766, allocations: 169.4 kB / 297.6 MB, free: 1.246 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.593e-05/0.005792, allocations: 55.41 kB / 297.6 MB, free: 1.18 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001058/0.005898, allocations: 207.7 kB / 297.8 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.279e-05/0.005911, allocations: 29.7 kB / 297.9 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3e-05/0.005941, allocations: 96.09 kB / 297.9 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.808e-05/0.005969, allocations: 39.69 kB / 298 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.887e-05/0.005998, allocations: 29.7 kB / 298 MB, free: 0.7539 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.784e-05/0.006066, allocations: 330.8 kB / 298.3 MB, free: 432 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.625e-05/0.006082, allocations: 14.83 kB / 298.4 MB, free: 416 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.497e-05/0.006107, allocations: 31.06 kB / 298.4 MB, free: 380 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.726e-05/0.006154, allocations: 61.2 kB / 298.4 MB, free: 312 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.006155, allocations: 0 / 298.4 MB, free: 312 kB / 282.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 7.333e-05/0.006228, allocations: 78.19 kB / 298.5 MB, free: 228 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.819e-06/0.006238, allocations: 4 kB / 298.5 MB, free: 224 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.006242, allocations: 0 / 298.5 MB, free: 224 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.386e-06/0.00625, allocations: 4 kB / 298.5 MB, free: 220 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.659e-05/0.006307, allocations: 27.98 kB / 298.6 MB, free: 192 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.384e-06/0.006309, allocations: 4.031 kB / 298.6 MB, free: 188 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.28e-05/0.006332, allocations: 0 / 298.6 MB, free: 188 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.006338, allocations: 4 kB / 298.6 MB, free: 184 kB / 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 (13): * Single equations (assignments): 13 * 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 5.926e-05/0.006397, allocations: 128.5 kB / 298.7 MB, free: 44 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.226e-05/0.006409, allocations: 11.98 kB / 298.7 MB, free: 32 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001135/0.006523, allocations: 91.12 kB / 298.8 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.006525, allocations: 4 kB / 298.8 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.283e-06/0.006527, allocations: 0 / 298.8 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.006529, allocations: 0 / 298.8 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002314/0.006761, allocations: 340.1 kB / 299.1 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.006763, allocations: 4 kB / 299.1 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.228e-05/0.006795, allocations: 12 kB / 299.1 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.314e-05/0.006808, allocations: 19.89 kB / 299.2 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.00681, allocations: 0 / 299.2 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.083e-06/0.006817, allocations: 8 kB / 299.2 MB, free: 15.53 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.006818, allocations: 0 / 299.2 MB, free: 15.53 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.006819, allocations: 0 / 299.2 MB, free: 15.53 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001016/0.006921, allocations: 230.1 kB / 299.4 MB, free: 15.28 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.651e-05/0.006938, allocations: 8 kB / 299.4 MB, free: 15.27 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.991e-05/0.006977, allocations: 12.06 kB / 299.4 MB, free: 15.26 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.161e-05/0.006999, allocations: 11.98 kB / 299.4 MB, free: 15.25 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.18e-05/0.007011, allocations: 7.922 kB / 299.4 MB, free: 15.24 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.513e-05/0.007056, allocations: 68.88 kB / 299.5 MB, free: 15.17 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007056, allocations: 0 / 299.5 MB, free: 15.17 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001434/0.007199, allocations: 31.94 kB / 299.5 MB, free: 15.14 MB / 298.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: 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 (12): * Single equations (assignments): 10 * 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.001447/0.008646, allocations: 0.7199 MB / 300.2 MB, free: 14.82 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.807e-05/0.008734, allocations: 56.77 kB / 300.3 MB, free: 14.76 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.363e-06/0.008741, allocations: 4 kB / 300.3 MB, free: 14.76 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.113e-05/0.008772, allocations: 32.78 kB / 300.3 MB, free: 14.72 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001699/0.008942, allocations: 47.14 kB / 300.4 MB, free: 14.68 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004047/0.009347, allocations: 273.1 kB / 300.7 MB, free: 14.38 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.957e-05/0.009387, allocations: 72.27 kB / 300.7 MB, free: 14.29 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.88e-05/0.009425, allocations: 28.81 kB / 300.7 MB, free: 14.26 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.152e-05/0.009487, allocations: 71.36 kB / 300.8 MB, free: 14.19 MB / 298.7 MB Notification: Performance of SimCode: time 5.41e-07/0.009488, allocations: 0 / 300.8 MB, free: 14.19 MB / 298.7 MB Notification: Performance of Templates: time 0.003478/0.01297, allocations: 2.332 MB / 303.2 MB, free: 11.89 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.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.7241364335641265]