Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.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.001115/0.001115, allocations: 76.17 kB / 9.93 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001672/0.002787, 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.0008482/0.0008482, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001189/0.002038, allocations: 459.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 1.02/1.02, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1043/1.125, 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.2907/0.2907, allocations: 32.8 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02936/0.3201, allocations: 12.53 MB / 289.3 MB, free: 8.676 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.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19") translateModel(ModelicaTest.Tables.CombiTimeTable.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.825e-06/2.825e-06, allocations: 0 / 290.7 MB, free: 7.586 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.675e-05/2.958e-05, allocations: 4.656 kB / 290.7 MB, free: 7.582 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.002884/0.002914, allocations: 1.805 MB / 292.5 MB, free: 6.117 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001572/0.004485, allocations: 1.021 MB / 293.5 MB, free: 5.352 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.5e-05/0.00456, allocations: 3.938 kB / 293.5 MB, free: 5.348 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002001/0.00476, allocations: 43.2 kB / 293.6 MB, free: 5.316 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002525/0.005013, allocations: 86.52 kB / 293.7 MB, free: 5.25 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002066/0.005219, allocations: 83.59 kB / 293.7 MB, free: 5.168 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002012/0.005421, allocations: 119.6 kB / 293.9 MB, free: 5.051 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.005522, allocations: 8.75 kB / 293.9 MB, free: 5.043 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001517/0.005674, allocations: 75.81 kB / 293.9 MB, free: 4.969 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001029/0.005777, allocations: 27.91 kB / 294 MB, free: 4.941 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.152e-05/0.005798, allocations: 4 kB / 294 MB, free: 4.938 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001077/0.005906, allocations: 43.92 kB / 294 MB, free: 4.895 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.551e-05/0.005962, allocations: 19.92 kB / 294 MB, free: 4.875 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.635e-05/0.006008, allocations: 15.94 kB / 294 MB, free: 4.859 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002227/0.006231, allocations: 99.55 kB / 294.1 MB, free: 4.762 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.067e-05/0.006251, allocations: 0 / 294.1 MB, free: 4.762 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.006253, allocations: 0 / 294.1 MB, free: 4.762 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.107e-05/0.006274, allocations: 4 kB / 294.1 MB, free: 4.758 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.0006049/0.006879, allocations: 340.5 kB / 294.5 MB, free: 4.402 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.006922, allocations: 12.02 kB / 294.5 MB, free: 4.391 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.775e-05/0.00696, allocations: 4.938 kB / 294.5 MB, free: 4.387 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001816/0.007142, allocations: 150.3 kB / 294.6 MB, free: 4.215 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.007156, allocations: 384 / 294.6 MB, free: 4.215 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.076e-05/0.007177, allocations: 12.3 kB / 294.7 MB, free: 4.203 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001161/0.007293, allocations: 61.77 kB / 294.7 MB, free: 4.133 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.007304, allocations: 3.938 kB / 294.7 MB, free: 4.129 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.705e-06/0.007311, allocations: 0 / 294.7 MB, free: 4.129 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.481e-06/0.007317, allocations: 8 kB / 294.7 MB, free: 4.121 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.93e-05/0.007346, allocations: 4 kB / 294.7 MB, free: 4.117 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002306/0.007577, allocations: 165.9 kB / 294.9 MB, free: 3.938 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001126/0.007689, allocations: 93.28 kB / 295 MB, free: 3.836 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.286e-05/0.007712, allocations: 8.859 kB / 295 MB, free: 3.824 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.238e-05/0.007725, allocations: 3.984 kB / 295 MB, free: 3.82 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001006/0.007825, allocations: 66.16 kB / 295.1 MB, free: 3.742 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 9.11e-07/0.007826, allocations: 0 / 295.1 MB, free: 3.742 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003158/0.008142, allocations: 121.6 kB / 295.2 MB, free: 3.617 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.388e-05/0.008176, allocations: 55.41 kB / 295.2 MB, free: 3.551 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001262/0.008302, allocations: 180.8 kB / 295.4 MB, free: 3.359 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.566e-05/0.008318, allocations: 25.7 kB / 295.4 MB, free: 3.328 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.626e-05/0.008354, allocations: 92.11 kB / 295.5 MB, free: 3.234 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.88e-05/0.008383, allocations: 23.84 kB / 295.5 MB, free: 3.211 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.243e-05/0.008425, allocations: 25.7 kB / 295.6 MB, free: 3.18 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.355e-05/0.008519, allocations: 326.8 kB / 295.9 MB, free: 2.852 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.876e-05/0.008538, allocations: 7.016 kB / 295.9 MB, free: 2.844 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.605e-05/0.008574, allocations: 33.64 kB / 295.9 MB, free: 2.805 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.994e-05/0.008624, allocations: 44.52 kB / 296 MB, free: 2.754 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.008625, allocations: 0 / 296 MB, free: 2.754 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001001/0.008725, allocations: 72.38 kB / 296 MB, free: 2.676 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.00874, allocations: 4 kB / 296 MB, free: 2.672 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.008744, allocations: 0 / 296 MB, free: 2.672 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.008756, allocations: 0 / 296 MB, free: 2.672 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.247e-05/0.008838, allocations: 23.98 kB / 296.1 MB, free: 2.648 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.976e-06/0.008841, allocations: 0 / 296.1 MB, free: 2.648 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.66e-05/0.008878, allocations: 4 kB / 296.1 MB, free: 2.645 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.782e-06/0.008885, allocations: 32 / 296.1 MB, free: 2.645 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 8.026e-05/0.008965, allocations: 128.5 kB / 296.2 MB, free: 2.508 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.839e-05/0.008983, allocations: 15.92 kB / 296.2 MB, free: 2.492 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001247/0.009108, allocations: 75.12 kB / 296.3 MB, free: 2.414 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.00911, allocations: 0 / 296.3 MB, free: 2.414 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.943e-06/0.009112, allocations: 0 / 296.3 MB, free: 2.414 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.009116, allocations: 3.938 kB / 296.3 MB, free: 2.41 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002759/0.009392, allocations: 295.6 kB / 296.6 MB, free: 2.094 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.009393, allocations: 0 / 296.6 MB, free: 2.094 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.94e-05/0.009433, allocations: 19.92 kB / 296.6 MB, free: 2.074 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.377e-05/0.009446, allocations: 11.98 kB / 296.6 MB, free: 2.062 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.00945, allocations: 0 / 296.6 MB, free: 2.062 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.714e-06/0.009458, allocations: 4 kB / 296.6 MB, free: 2.059 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.00946, allocations: 4 kB / 296.6 MB, free: 2.055 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.009462, allocations: 0 / 296.6 MB, free: 2.055 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001391/0.009601, allocations: 219 kB / 296.8 MB, free: 1.82 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.069e-05/0.009622, allocations: 7.984 kB / 296.8 MB, free: 1.812 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.809e-05/0.00968, allocations: 7.938 kB / 296.9 MB, free: 1.805 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.185e-05/0.009711, allocations: 11.97 kB / 296.9 MB, free: 1.793 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.223e-05/0.009724, allocations: 0 / 296.9 MB, free: 1.793 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.488e-05/0.009779, allocations: 55.64 kB / 296.9 MB, free: 1.734 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009779, allocations: 0 / 296.9 MB, free: 1.734 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002072/0.009986, allocations: 24 kB / 296.9 MB, free: 1.711 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.001635/0.01162, allocations: 0.6301 MB / 297.6 MB, free: 1.438 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.569e-05/0.01172, allocations: 40.72 kB / 297.6 MB, free: 1.395 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.506e-06/0.01172, allocations: 4 kB / 297.6 MB, free: 1.391 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.796e-05/0.01176, allocations: 32.77 kB / 297.6 MB, free: 1.355 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002281/0.01199, allocations: 45.22 kB / 297.7 MB, free: 1.312 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004921/0.01248, allocations: 219.7 kB / 297.9 MB, free: 1.066 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.633e-05/0.01253, allocations: 67.33 kB / 298 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.14e-05/0.01257, allocations: 17.41 kB / 298 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.038e-05/0.01264, allocations: 71.36 kB / 298.1 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of SimCode: time 4.71e-07/0.01264, allocations: 4 kB / 298.1 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of Templates: time 0.008713/0.02135, allocations: 2.039 MB / 300.1 MB, free: 14.88 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test19/Test19.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.2814373774453998]