Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.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.0009515/0.0009515, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005099/0.006051, 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.00235/0.00235, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002265/0.004615, 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.097/1.097, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1246/1.222, allocations: 53.65 MB / 243.3 MB, free: 15.56 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.3498/0.3498, allocations: 32.8 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02922/0.379, allocations: 12.53 MB / 289.3 MB, free: 8.66 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.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.515e-06/2.515e-06, allocations: 0 / 290.7 MB, free: 7.578 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.33e-05/1.581e-05, allocations: 4.672 kB / 290.7 MB, free: 7.574 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.002332/0.002348, allocations: 1.89 MB / 292.6 MB, free: 6.043 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00164/0.003988, allocations: 1.094 MB / 293.7 MB, free: 5.211 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001119/0.0041, allocations: 7.938 kB / 293.7 MB, free: 5.203 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004105/0.00451, allocations: 311.1 kB / 294 MB, free: 4.898 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003779/0.004888, allocations: 259 kB / 294.2 MB, free: 4.645 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002405/0.005129, allocations: 107.6 kB / 294.3 MB, free: 4.539 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002961/0.005425, allocations: 271.2 kB / 294.6 MB, free: 4.273 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.496e-05/0.00549, allocations: 6.469 kB / 294.6 MB, free: 4.27 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002478/0.005737, allocations: 220.2 kB / 294.8 MB, free: 4.055 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001838/0.005921, allocations: 172.4 kB / 295 MB, free: 3.887 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.199e-05/0.005943, allocations: 4 kB / 295 MB, free: 3.883 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001072/0.00605, allocations: 55.86 kB / 295 MB, free: 3.828 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001224/0.006173, allocations: 139.6 kB / 295.2 MB, free: 3.691 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.47e-05/0.006248, allocations: 55.69 kB / 295.2 MB, free: 3.637 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003002/0.006548, allocations: 271 kB / 295.5 MB, free: 3.371 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.831e-05/0.006566, allocations: 0 / 295.5 MB, free: 3.371 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.006567, allocations: 0 / 295.5 MB, free: 3.371 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.099e-05/0.006588, allocations: 3.938 kB / 295.5 MB, free: 3.367 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.0008334/0.007421, allocations: 0.6969 MB / 296.2 MB, free: 2.645 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.007465, allocations: 12.62 kB / 296.2 MB, free: 2.633 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.86e-05/0.007524, allocations: 28.89 kB / 296.2 MB, free: 2.605 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002973/0.007821, allocations: 313.9 kB / 296.6 MB, free: 2.27 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.075e-05/0.007842, allocations: 384 / 296.6 MB, free: 2.27 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.431e-05/0.007856, allocations: 8.359 kB / 296.6 MB, free: 2.262 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001646/0.00802, allocations: 91.39 kB / 296.6 MB, free: 2.156 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.008034, allocations: 3.938 kB / 296.7 MB, free: 2.152 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.168e-06/0.008043, allocations: 3.984 kB / 296.7 MB, free: 2.148 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.008051, allocations: 4 kB / 296.7 MB, free: 2.145 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.162e-05/0.008093, allocations: 17.64 kB / 296.7 MB, free: 2.125 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001557/0.008248, allocations: 114.3 kB / 296.8 MB, free: 1.992 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001258/0.008374, allocations: 86.8 kB / 296.9 MB, free: 1.887 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.21e-05/0.008406, allocations: 21.7 kB / 296.9 MB, free: 1.859 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.399e-05/0.00842, allocations: 4 kB / 296.9 MB, free: 1.855 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001403/0.00856, allocations: 99.83 kB / 297 MB, free: 1.738 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 1.463e-06/0.008562, allocations: 0 / 297 MB, free: 1.738 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.000189/0.008751, allocations: 111.2 kB / 297.1 MB, free: 1.621 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.808e-05/0.008799, allocations: 85.03 kB / 297.2 MB, free: 1.52 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004285/0.009227, allocations: 0.6063 MB / 297.8 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.959e-05/0.009247, allocations: 33.64 kB / 297.8 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.11e-05/0.009318, allocations: 153.3 kB / 298 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.261e-05/0.009361, allocations: 27.75 kB / 298 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.416e-05/0.009405, allocations: 29.69 kB / 298 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001176/0.009523, allocations: 366.7 kB / 298.4 MB, free: 280 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.438e-05/0.009547, allocations: 14.81 kB / 298.4 MB, free: 264 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.377e-05/0.009581, allocations: 36.92 kB / 298.4 MB, free: 216 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.95e-05/0.00965, allocations: 76.33 kB / 298.5 MB, free: 124 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.009653, allocations: 0 / 298.5 MB, free: 124 kB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001106/0.009764, allocations: 115.2 kB / 298.6 MB, free: 0 / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.536e-05/0.009799, allocations: 4.047 kB / 298.6 MB, free: 15.99 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.009806, allocations: 0 / 298.6 MB, free: 15.99 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.009817, allocations: 4 kB / 298.6 MB, free: 15.99 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.263e-05/0.00991, allocations: 27.88 kB / 298.7 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.009914, allocations: 0 / 298.7 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.986e-05/0.009964, allocations: 8 kB / 298.7 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.686e-06/0.009972, allocations: 4.062 kB / 298.7 MB, free: 15.95 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 9.853e-05/0.01007, allocations: 133.4 kB / 298.8 MB, free: 15.81 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.021e-05/0.0101, allocations: 27.97 kB / 298.8 MB, free: 15.79 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001533/0.01025, allocations: 121.9 kB / 299 MB, free: 15.66 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.01026, allocations: 4 kB / 299 MB, free: 15.65 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.01027, allocations: 7.922 kB / 299 MB, free: 15.64 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.01027, allocations: 0 / 299 MB, free: 15.64 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001516/0.01042, allocations: 169.7 kB / 299.1 MB, free: 15.46 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.01042, allocations: 0 / 299.1 MB, free: 15.46 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.152e-05/0.01046, allocations: 12.25 kB / 299.1 MB, free: 15.45 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.117e-05/0.01051, allocations: 55.66 kB / 299.2 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.01051, allocations: 0 / 299.2 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.01052, allocations: 8 kB / 299.2 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.664e-06/0.01052, allocations: 0 / 299.2 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.01052, allocations: 3.938 kB / 299.2 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001264/0.01065, allocations: 143.2 kB / 299.3 MB, free: 15.22 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.596e-05/0.01067, allocations: 0 / 299.3 MB, free: 15.22 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.123e-05/0.01072, allocations: 11.98 kB / 299.4 MB, free: 15.21 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.58e-05/0.01075, allocations: 7.984 kB / 299.4 MB, free: 15.2 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.551e-05/0.01077, allocations: 7.938 kB / 299.4 MB, free: 15.19 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000236/0.011, allocations: 331.2 kB / 299.7 MB, free: 14.87 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.011, allocations: 0 / 299.7 MB, free: 14.87 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001617/0.01116, allocations: 47.94 kB / 299.7 MB, free: 14.82 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001377/0.01254, allocations: 0.5489 MB / 300.3 MB, free: 14.58 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001245/0.01267, allocations: 56.75 kB / 300.3 MB, free: 14.52 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.394e-05/0.01268, allocations: 8 kB / 300.4 MB, free: 14.52 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.06e-05/0.01272, allocations: 32.78 kB / 300.4 MB, free: 14.48 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000259/0.01298, allocations: 94.22 kB / 300.5 MB, free: 14.39 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008877/0.01387, allocations: 0.6653 MB / 301.1 MB, free: 13.69 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.793e-05/0.01396, allocations: 136.2 kB / 301.3 MB, free: 13.54 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.274e-05/0.01403, allocations: 39.39 kB / 301.3 MB, free: 13.5 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001138/0.01414, allocations: 99.34 kB / 301.4 MB, free: 13.4 MB / 298.7 MB Notification: Performance of SimCode: time 9.62e-07/0.01414, allocations: 0 / 301.4 MB, free: 13.4 MB / 298.7 MB Notification: Performance of Templates: time 0.007146/0.02129, allocations: 4.363 MB / 305.8 MB, free: 9.117 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.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.373838226310909]