Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.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.002706/0.002706, allocations: 92.97 kB / 20.21 MB, free: 4.211 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.00283/0.00283, allocations: 165.2 kB / 23.53 MB, free: 0.8984 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.74/1.74, allocations: 158.6 MB / 185.3 MB, free: 2.906 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2632/0.2632, allocations: 32.37 MB / 270 MB, free: 14.77 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46") translateModel(ModelicaTest.Tables.CombiTimeTable.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.797e-06/3.797e-06, allocations: 0 / 347 MB, free: 9.734 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 5.517e-05/5.897e-05, allocations: 2.312 kB / 347 MB, free: 9.73 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.007585/0.007644, allocations: 1.703 MB / 348.7 MB, free: 8.016 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003456/0.0111, allocations: 0.7766 MB / 349.5 MB, free: 7.23 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002379/0.01134, allocations: 4 kB / 349.5 MB, free: 7.227 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007779/0.01212, allocations: 59.69 kB / 349.6 MB, free: 7.168 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005391/0.01266, allocations: 59.69 kB / 349.6 MB, free: 7.109 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005791/0.01323, allocations: 83.7 kB / 349.7 MB, free: 7.027 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003451/0.01358, allocations: 103.6 kB / 349.8 MB, free: 6.926 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002563/0.01384, allocations: 8.234 kB / 349.8 MB, free: 6.918 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002286/0.01406, allocations: 47.84 kB / 349.9 MB, free: 6.871 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001641/0.01423, allocations: 35.89 kB / 349.9 MB, free: 6.836 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.629e-05/0.01427, allocations: 7.938 kB / 349.9 MB, free: 6.828 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001987/0.01447, allocations: 39.92 kB / 349.9 MB, free: 6.789 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001143/0.01459, allocations: 27.92 kB / 350 MB, free: 6.762 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001148/0.0147, allocations: 23.86 kB / 350 MB, free: 6.738 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004716/0.01517, allocations: 123.6 kB / 350.1 MB, free: 6.617 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.467e-06/0.01518, allocations: 0 / 350.1 MB, free: 6.617 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.454e-06/0.01519, allocations: 0 / 350.1 MB, free: 6.617 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.547e-05/0.0152, allocations: 0 / 350.1 MB, free: 6.617 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.001276/0.01648, allocations: 479.2 kB / 350.6 MB, free: 6.113 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 9.751e-05/0.01658, allocations: 12.03 kB / 350.6 MB, free: 6.102 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001492/0.01672, allocations: 32.77 kB / 350.6 MB, free: 6.07 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000459/0.01718, allocations: 152.4 kB / 350.8 MB, free: 5.895 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.202e-05/0.01722, allocations: 4.375 kB / 350.8 MB, free: 5.891 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.89e-05/0.01725, allocations: 384 / 350.8 MB, free: 5.891 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002646/0.01752, allocations: 54.23 kB / 350.8 MB, free: 5.832 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.846e-05/0.01755, allocations: 3.938 kB / 350.8 MB, free: 5.828 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.95e-05/0.01757, allocations: 0 / 350.8 MB, free: 5.828 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.846e-06/0.01758, allocations: 4 kB / 350.8 MB, free: 5.824 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001335/0.01771, allocations: 15.98 kB / 350.9 MB, free: 5.809 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006908/0.0184, allocations: 315.7 kB / 351.2 MB, free: 5.465 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002562/0.01866, allocations: 59.17 kB / 351.2 MB, free: 5.395 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.113e-05/0.01874, allocations: 31.61 kB / 351.3 MB, free: 5.359 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.833e-05/0.01877, allocations: 0 / 351.3 MB, free: 5.359 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002254/0.01899, allocations: 76.98 kB / 351.3 MB, free: 5.27 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.01899, allocations: 0 / 351.3 MB, free: 5.27 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008601/0.01985, allocations: 181.3 kB / 351.5 MB, free: 5.086 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.227e-05/0.01991, allocations: 51.41 kB / 351.6 MB, free: 5.023 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002977/0.0202, allocations: 297.3 kB / 351.8 MB, free: 4.715 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.02022, allocations: 25.7 kB / 351.9 MB, free: 4.684 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000119/0.02034, allocations: 170.9 kB / 352 MB, free: 4.512 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.632e-05/0.02039, allocations: 27.84 kB / 352.1 MB, free: 4.484 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.127e-05/0.02046, allocations: 35.36 kB / 352.1 MB, free: 4.441 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001966/0.02065, allocations: 0.504 MB / 352.6 MB, free: 3.926 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.868e-05/0.02073, allocations: 19.98 kB / 352.6 MB, free: 3.906 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.551e-05/0.02083, allocations: 47.3 kB / 352.7 MB, free: 3.852 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001508/0.02098, allocations: 67.25 kB / 352.7 MB, free: 3.777 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.02098, allocations: 0 / 352.7 MB, free: 3.777 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002792/0.02126, allocations: 105.6 kB / 352.8 MB, free: 3.668 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/0.02128, allocations: 4 kB / 352.8 MB, free: 3.664 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.02129, allocations: 4.031 kB / 352.8 MB, free: 3.66 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.487e-05/0.02131, allocations: 4 kB / 352.8 MB, free: 3.656 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000136/0.02145, allocations: 24.3 kB / 352.9 MB, free: 3.633 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.796e-06/0.02146, allocations: 0 / 352.9 MB, free: 3.633 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.015e-05/0.02153, allocations: 4 kB / 352.9 MB, free: 3.629 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.257e-05/0.02154, allocations: 4 kB / 352.9 MB, free: 3.625 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 0.000117/0.02166, allocations: 173.4 kB / 353 MB, free: 3.445 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.809e-05/0.0217, allocations: 19.91 kB / 353.1 MB, free: 3.426 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003154/0.02201, allocations: 119.2 kB / 353.2 MB, free: 3.301 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.02202, allocations: 0 / 353.2 MB, free: 3.301 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.02202, allocations: 4 kB / 353.2 MB, free: 3.297 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.02203, allocations: 3.984 kB / 353.2 MB, free: 3.293 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005734/0.0226, allocations: 429 kB / 353.6 MB, free: 2.828 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.02261, allocations: 0 / 353.6 MB, free: 2.828 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.363e-05/0.02266, allocations: 11.98 kB / 353.6 MB, free: 2.816 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.02266, allocations: 4 kB / 353.6 MB, free: 2.812 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.61e-05/0.02268, allocations: 0 / 353.6 MB, free: 2.812 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/0.02268, allocations: 3.938 kB / 353.6 MB, free: 2.809 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.02269, allocations: 4 kB / 353.6 MB, free: 2.805 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003231/0.02301, allocations: 279.3 kB / 353.9 MB, free: 2.508 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.825e-05/0.02306, allocations: 11.98 kB / 353.9 MB, free: 2.496 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.155e-05/0.0231, allocations: 7.984 kB / 353.9 MB, free: 2.488 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001146/0.02321, allocations: 4 kB / 353.9 MB, free: 2.484 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.911e-05/0.02329, allocations: 7.984 kB / 353.9 MB, free: 2.477 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-05/0.02332, allocations: 4 kB / 353.9 MB, free: 2.473 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001807/0.0235, allocations: 204.3 kB / 354.1 MB, free: 2.273 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.0235, allocations: 0 / 354.1 MB, free: 2.273 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004931/0.02399, allocations: 24 kB / 354.2 MB, free: 2.25 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.00467/0.02866, allocations: 0.4892 MB / 354.7 MB, free: 1.867 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004766/0.02914, allocations: 67.59 kB / 354.7 MB, free: 1.797 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/0.02915, allocations: 0 / 354.7 MB, free: 1.797 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001227/0.02927, allocations: 43.61 kB / 354.8 MB, free: 1.75 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007844/0.03005, allocations: 33.53 kB / 354.8 MB, free: 1.719 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001073/0.03113, allocations: 269.7 kB / 355.1 MB, free: 1.426 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001702/0.0313, allocations: 97.77 kB / 355.2 MB, free: 1.309 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 9.083e-05/0.03139, allocations: 20.78 kB / 355.2 MB, free: 1.285 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.979e-05/0.03146, allocations: 20.5 kB / 355.2 MB, free: 1.266 MB / 282.7 MB Notification: Performance of SimCode: time 2.244e-06/0.03146, allocations: 0 / 355.2 MB, free: 1.266 MB / 282.7 MB Notification: Performance of Templates: time 0.007999/0.03946, allocations: 1.843 MB / 357 MB, free: 15.44 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test46/Test46.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.919545758981258]