Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34.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.0008034/0.0008034, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001087/0.00189, 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.001095/0.001095, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001284/0.002379, 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.015/1.015, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1119/1.126, allocations: 53.65 MB / 243.3 MB, free: 15.59 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.2939/0.2939, allocations: 34.26 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02645/0.3203, allocations: 13.09 MB / 291.3 MB, free: 7.367 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.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34") translateModel(ModelicaTest.Tables.CombiTimeTable.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 292.7 MB, free: 6.219 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.065e-05/2.226e-05, allocations: 2.969 kB / 292.7 MB, free: 6.215 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test34): time 0.002328/0.00235, allocations: 1.816 MB / 294.5 MB, free: 4.387 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001201/0.003551, allocations: 1.018 MB / 295.5 MB, free: 3.363 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.246e-05/0.003624, allocations: 0 / 295.5 MB, free: 3.363 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001696/0.003793, allocations: 35.78 kB / 295.6 MB, free: 3.328 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002018/0.003995, allocations: 103.4 kB / 295.7 MB, free: 3.227 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001587/0.004154, allocations: 79.66 kB / 295.8 MB, free: 3.148 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001425/0.004296, allocations: 107.7 kB / 295.9 MB, free: 3.043 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.002e-05/0.004376, allocations: 15.91 kB / 295.9 MB, free: 3.027 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001123/0.004489, allocations: 67.89 kB / 295.9 MB, free: 2.961 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.589e-05/0.004565, allocations: 31.83 kB / 296 MB, free: 2.93 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.406e-05/0.004579, allocations: 8 kB / 296 MB, free: 2.922 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.092e-05/0.00466, allocations: 47.86 kB / 296 MB, free: 2.875 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.086e-05/0.0047, allocations: 15.94 kB / 296 MB, free: 2.859 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.363e-05/0.004734, allocations: 15.94 kB / 296.1 MB, free: 2.844 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003224/0.005056, allocations: 91.67 kB / 296.2 MB, free: 2.754 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.603e-05/0.005072, allocations: 8 kB / 296.2 MB, free: 2.746 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.005073, allocations: 0 / 296.2 MB, free: 2.746 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.347e-05/0.005087, allocations: 0 / 296.2 MB, free: 2.746 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.0004772/0.005564, allocations: 337 kB / 296.5 MB, free: 2.395 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/0.005597, allocations: 8.031 kB / 296.5 MB, free: 2.387 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.388e-05/0.005631, allocations: 12.92 kB / 296.5 MB, free: 2.375 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001532/0.005785, allocations: 150.2 kB / 296.7 MB, free: 2.203 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/0.005799, allocations: 4.375 kB / 296.7 MB, free: 2.199 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.525e-05/0.005814, allocations: 384 / 296.7 MB, free: 2.199 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.92e-05/0.005914, allocations: 65.77 kB / 296.7 MB, free: 2.125 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-06/0.005921, allocations: 7.938 kB / 296.7 MB, free: 2.117 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.625e-06/0.005929, allocations: 3.984 kB / 296.7 MB, free: 2.113 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.005933, allocations: 0 / 296.7 MB, free: 2.113 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.681e-05/0.00596, allocations: 8 kB / 296.7 MB, free: 2.105 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001955/0.006156, allocations: 169.9 kB / 296.9 MB, free: 1.922 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.978e-05/0.006236, allocations: 85.3 kB / 297 MB, free: 1.828 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.765e-05/0.006253, allocations: 12.86 kB / 297 MB, free: 1.812 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.044e-05/0.006264, allocations: 0 / 297 MB, free: 1.812 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.118e-05/0.006355, allocations: 70.14 kB / 297.1 MB, free: 1.73 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 6.91e-07/0.006356, allocations: 4 kB / 297.1 MB, free: 1.727 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002726/0.006628, allocations: 113.5 kB / 297.2 MB, free: 1.609 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.831e-05/0.006656, allocations: 51.41 kB / 297.2 MB, free: 1.547 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.32e-05/0.00675, allocations: 181.2 kB / 297.4 MB, free: 1.355 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.334e-05/0.006763, allocations: 25.7 kB / 297.4 MB, free: 1.324 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.964e-05/0.006793, allocations: 96.12 kB / 297.5 MB, free: 1.227 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.398e-05/0.006817, allocations: 27.83 kB / 297.6 MB, free: 1.199 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.892e-05/0.006845, allocations: 21.66 kB / 297.6 MB, free: 1.172 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.934e-05/0.006935, allocations: 330.8 kB / 297.9 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.558e-05/0.00695, allocations: 10.83 kB / 297.9 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.119e-05/0.006972, allocations: 21.72 kB / 297.9 MB, free: 0.8008 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.808e-05/0.00701, allocations: 44.5 kB / 298 MB, free: 0.75 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.007011, allocations: 3.938 kB / 298 MB, free: 0.7461 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.914e-05/0.00708, allocations: 80.44 kB / 298.1 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/0.007091, allocations: 4 kB / 298.1 MB, free: 0.6562 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.007095, allocations: 0 / 298.1 MB, free: 0.6562 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.614e-06/0.007102, allocations: 4 kB / 298.1 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.337e-05/0.007166, allocations: 15.98 kB / 298.1 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.637e-06/0.007169, allocations: 7.969 kB / 298.1 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.276e-05/0.007192, allocations: 4 kB / 298.1 MB, free: 0.625 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-06/0.007198, allocations: 4 kB / 298.1 MB, free: 0.6211 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 5.726e-05/0.007255, allocations: 120.6 kB / 298.2 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.13e-05/0.007266, allocations: 15.92 kB / 298.2 MB, free: 488 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.011e-05/0.007357, allocations: 75.08 kB / 298.3 MB, free: 408 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.007358, allocations: 0 / 298.3 MB, free: 408 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-06/0.00736, allocations: 4 kB / 298.3 MB, free: 404 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.007364, allocations: 3.984 kB / 298.3 MB, free: 400 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001893/0.007554, allocations: 295.4 kB / 298.6 MB, free: 76 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.007555, allocations: 0 / 298.6 MB, free: 76 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.644e-05/0.007582, allocations: 16 kB / 298.6 MB, free: 60 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.031e-05/0.007592, allocations: 7.953 kB / 298.6 MB, free: 52 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.007595, allocations: 4.359 kB / 298.6 MB, free: 48 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.612e-06/0.007601, allocations: 4 kB / 298.6 MB, free: 44 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.007603, allocations: 4 kB / 298.6 MB, free: 40 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.007604, allocations: 0 / 298.6 MB, free: 40 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001013/0.007706, allocations: 215 kB / 298.9 MB, free: 15.81 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.544e-05/0.007721, allocations: 8 kB / 298.9 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.714e-05/0.007758, allocations: 3.984 kB / 298.9 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.287e-05/0.007781, allocations: 8.031 kB / 298.9 MB, free: 15.79 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.223e-05/0.007793, allocations: 7.984 kB / 298.9 MB, free: 15.78 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.105e-05/0.007834, allocations: 47.64 kB / 298.9 MB, free: 15.73 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007834, allocations: 4 kB / 298.9 MB, free: 15.73 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001344/0.007969, allocations: 23.98 kB / 299 MB, free: 15.7 MB / 298.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.001389/0.009358, allocations: 0.6366 MB / 299.6 MB, free: 15.43 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.115e-05/0.009439, allocations: 40.78 kB / 299.6 MB, free: 15.38 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.009445, allocations: 0 / 299.6 MB, free: 15.38 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.035e-05/0.009475, allocations: 36.92 kB / 299.7 MB, free: 15.34 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001683/0.009644, allocations: 35.91 kB / 299.7 MB, free: 15.31 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004408/0.01008, allocations: 227.8 kB / 299.9 MB, free: 15.05 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.731e-05/0.01012, allocations: 67.34 kB / 300 MB, free: 14.97 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.496e-05/0.01016, allocations: 12.97 kB / 300 MB, free: 14.95 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.329e-05/0.01022, allocations: 75.3 kB / 300.1 MB, free: 14.88 MB / 298.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01022, allocations: 0 / 300.1 MB, free: 14.88 MB / 298.7 MB Notification: Performance of Templates: time 0.003381/0.0136, allocations: 2.052 MB / 302.1 MB, free: 12.86 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test34/Test34.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.0391474151983857]