Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44.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.001395/0.001395, allocations: 80.8 kB / 21.5 MB, free: 2.996 MB / 18.57 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.001611/0.001611, allocations: 172.9 kB / 24.91 MB, free: 9.211 MB / 18.57 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.9481/0.9481, allocations: 177.1 MB / 205.3 MB, free: 5.512 MB / 186.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.241/0.241, allocations: 34.26 MB / 296.1 MB, free: 0.75 MB / 266.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.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44") translateModel(ModelicaTest.Tables.CombiTimeTable.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 325.3 MB, free: 7.645 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.363e-05/2.518e-05, allocations: 3.781 kB / 325.3 MB, free: 7.641 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.002977/0.003003, allocations: 1.777 MB / 327.1 MB, free: 5.852 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001496/0.004498, allocations: 1.006 MB / 328.1 MB, free: 4.84 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.015e-05/0.004578, allocations: 0 / 328.1 MB, free: 4.84 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002746/0.004853, allocations: 39.72 kB / 328.1 MB, free: 4.801 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003233/0.005176, allocations: 103.5 kB / 328.2 MB, free: 4.699 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002124/0.005389, allocations: 79.59 kB / 328.3 MB, free: 4.621 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001675/0.005556, allocations: 103.7 kB / 328.4 MB, free: 4.52 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.676e-05/0.005633, allocations: 11.98 kB / 328.4 MB, free: 4.508 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001032/0.005736, allocations: 59.77 kB / 328.5 MB, free: 4.449 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.817e-05/0.005814, allocations: 27.91 kB / 328.5 MB, free: 4.422 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.591e-05/0.00583, allocations: 4 kB / 328.5 MB, free: 4.418 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.306e-05/0.005923, allocations: 43.92 kB / 328.6 MB, free: 4.375 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.95e-05/0.005973, allocations: 23.86 kB / 328.6 MB, free: 4.352 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.69e-05/0.00601, allocations: 20.42 kB / 328.6 MB, free: 4.332 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001832/0.006193, allocations: 107.6 kB / 328.7 MB, free: 4.227 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.006195, allocations: 0 / 328.7 MB, free: 4.227 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.006197, allocations: 0 / 328.7 MB, free: 4.227 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.367e-06/0.0062, allocations: 0 / 328.7 MB, free: 4.227 MB / 298.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.000429/0.006629, allocations: 333.5 kB / 329 MB, free: 3.879 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.006667, allocations: 8.031 kB / 329.1 MB, free: 3.871 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.018e-05/0.006707, allocations: 4.938 kB / 329.1 MB, free: 3.867 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001973/0.006905, allocations: 154.5 kB / 329.2 MB, free: 3.691 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.894e-05/0.006924, allocations: 4.375 kB / 329.2 MB, free: 3.688 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.066e-05/0.006944, allocations: 384 / 329.2 MB, free: 3.688 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001288/0.007073, allocations: 65.7 kB / 329.3 MB, free: 3.613 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.007086, allocations: 7.938 kB / 329.3 MB, free: 3.605 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.344e-06/0.007093, allocations: 0 / 329.3 MB, free: 3.605 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.007099, allocations: 0 / 329.3 MB, free: 3.605 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.127e-05/0.007131, allocations: 11.98 kB / 329.3 MB, free: 3.594 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002329/0.007364, allocations: 161.9 kB / 329.5 MB, free: 3.418 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001026/0.007466, allocations: 89.34 kB / 329.5 MB, free: 3.32 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.751e-05/0.007494, allocations: 16.78 kB / 329.6 MB, free: 3.301 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.058e-05/0.007504, allocations: 4 kB / 329.6 MB, free: 3.297 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.006e-05/0.007594, allocations: 66.16 kB / 329.6 MB, free: 3.219 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.443e-06/0.007596, allocations: 0 / 329.6 MB, free: 3.219 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.000321/0.007917, allocations: 117.5 kB / 329.7 MB, free: 3.098 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.627e-05/0.007953, allocations: 55.41 kB / 329.8 MB, free: 3.031 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001345/0.008087, allocations: 176.3 kB / 330 MB, free: 2.844 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.641e-05/0.008104, allocations: 25.7 kB / 330 MB, free: 2.812 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.037e-05/0.008144, allocations: 104 kB / 330.1 MB, free: 2.707 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.09e-05/0.008175, allocations: 27.78 kB / 330.1 MB, free: 2.68 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.169e-05/0.008217, allocations: 21.7 kB / 330.1 MB, free: 2.652 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.167e-05/0.008308, allocations: 322.8 kB / 330.5 MB, free: 2.328 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.419e-05/0.008333, allocations: 14.81 kB / 330.5 MB, free: 2.312 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.94e-05/0.008362, allocations: 26.02 kB / 330.5 MB, free: 2.281 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.369e-05/0.008416, allocations: 44.52 kB / 330.5 MB, free: 2.23 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.008417, allocations: 4 kB / 330.5 MB, free: 2.227 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001041/0.008521, allocations: 88.34 kB / 330.6 MB, free: 2.133 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.008533, allocations: 4 kB / 330.6 MB, free: 2.129 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.008538, allocations: 4 kB / 330.6 MB, free: 2.125 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.008551, allocations: 0 / 330.6 MB, free: 2.125 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.104e-05/0.008622, allocations: 12 kB / 330.6 MB, free: 2.113 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.555e-06/0.008624, allocations: 3.938 kB / 330.7 MB, free: 2.109 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.892e-05/0.008663, allocations: 7.984 kB / 330.7 MB, free: 2.102 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-06/0.008669, allocations: 0 / 330.7 MB, free: 2.102 MB / 298.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 7.417e-05/0.008743, allocations: 124.6 kB / 330.8 MB, free: 1.969 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.946e-05/0.008762, allocations: 15.92 kB / 330.8 MB, free: 1.953 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001195/0.008882, allocations: 71.14 kB / 330.9 MB, free: 1.875 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.008884, allocations: 0 / 330.9 MB, free: 1.875 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-06/0.008885, allocations: 0 / 330.9 MB, free: 1.875 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.008888, allocations: 0 / 330.9 MB, free: 1.875 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002577/0.009146, allocations: 295.6 kB / 331.2 MB, free: 1.559 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.009148, allocations: 0 / 331.2 MB, free: 1.559 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.33e-05/0.009181, allocations: 15.94 kB / 331.2 MB, free: 1.543 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.009185, allocations: 4 kB / 331.2 MB, free: 1.539 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.001e-06/0.009191, allocations: 4.031 kB / 331.2 MB, free: 1.535 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.009193, allocations: 0 / 331.2 MB, free: 1.535 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.009194, allocations: 80 / 331.2 MB, free: 1.535 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001294/0.009323, allocations: 223 kB / 331.4 MB, free: 1.297 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.56e-05/0.009339, allocations: 11.91 kB / 331.4 MB, free: 1.285 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.924e-05/0.009358, allocations: 4 kB / 331.4 MB, free: 1.281 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.23e-05/0.009421, allocations: 4 kB / 331.4 MB, free: 1.277 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.306e-05/0.009444, allocations: 3.984 kB / 331.4 MB, free: 1.273 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.228e-05/0.009456, allocations: 4 kB / 331.4 MB, free: 1.27 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.652e-05/0.009522, allocations: 60.69 kB / 331.5 MB, free: 1.207 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.009523, allocations: 4 kB / 331.5 MB, free: 1.203 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000236/0.009759, allocations: 27.92 kB / 331.5 MB, free: 1.176 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.001606/0.01136, allocations: 0.5763 MB / 332.1 MB, free: 0.9023 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001025/0.01147, allocations: 44.78 kB / 332.1 MB, free: 0.8555 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.232e-06/0.01147, allocations: 0 / 332.1 MB, free: 0.8555 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.99e-05/0.01151, allocations: 28.78 kB / 332.2 MB, free: 0.8242 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002282/0.01174, allocations: 35.09 kB / 332.2 MB, free: 0.793 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003705/0.01211, allocations: 231.6 kB / 332.4 MB, free: 0.5352 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.929e-05/0.01216, allocations: 67.33 kB / 332.5 MB, free: 460 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.547e-05/0.01221, allocations: 21.39 kB / 332.5 MB, free: 436 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.776e-05/0.01228, allocations: 71.36 kB / 332.6 MB, free: 364 kB / 298.7 MB Notification: Performance of SimCode: time 6.81e-07/0.01228, allocations: 4 kB / 332.6 MB, free: 360 kB / 298.7 MB Notification: Performance of Templates: time 0.004523/0.01681, allocations: 1.994 MB / 334.6 MB, free: 14.39 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test44/Test44.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.9000343028455973]