Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.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.002213/0.002213, allocations: 96.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.002591/0.002591, allocations: 169.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.936/1.936, allocations: 158.6 MB / 185.3 MB, free: 2.914 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.3116/0.3116, allocations: 32.38 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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5022,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6") translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5022,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.345e-06/2.345e-06, allocations: 0 / 347 MB, free: 9.734 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.545e-05/3.779e-05, allocations: 6.25 kB / 347 MB, free: 9.727 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.003025/0.003063, allocations: 1.711 MB / 348.7 MB, free: 8.004 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001477/0.004541, allocations: 0.7804 MB / 349.5 MB, free: 7.215 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001024/0.004643, allocations: 0 / 349.5 MB, free: 7.215 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004632/0.005106, allocations: 63.73 kB / 349.6 MB, free: 7.152 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002919/0.005398, allocations: 59.64 kB / 349.6 MB, free: 7.094 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003371/0.005735, allocations: 87.69 kB / 349.7 MB, free: 7.008 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002055/0.005941, allocations: 95.69 kB / 349.8 MB, free: 6.914 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001353/0.006076, allocations: 8.219 kB / 349.8 MB, free: 6.906 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001246/0.006201, allocations: 55.78 kB / 349.9 MB, free: 6.852 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001042/0.006305, allocations: 27.91 kB / 349.9 MB, free: 6.824 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.157e-05/0.006336, allocations: 4 kB / 349.9 MB, free: 6.82 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001346/0.006471, allocations: 43.92 kB / 349.9 MB, free: 6.777 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.947e-05/0.00655, allocations: 27.91 kB / 350 MB, free: 6.75 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.521e-05/0.006616, allocations: 23.86 kB / 350 MB, free: 6.727 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002575/0.006873, allocations: 131.5 kB / 350.1 MB, free: 6.598 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.006879, allocations: 3.938 kB / 350.1 MB, free: 6.594 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.006881, allocations: 0 / 350.1 MB, free: 6.594 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.783e-06/0.006887, allocations: 3.938 kB / 350.1 MB, free: 6.59 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.0006713/0.007559, allocations: 475.4 kB / 350.6 MB, free: 6.09 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.038e-05/0.007619, allocations: 8.031 kB / 350.6 MB, free: 6.082 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.839e-05/0.007708, allocations: 24.83 kB / 350.6 MB, free: 6.059 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002858/0.007993, allocations: 169.2 kB / 350.8 MB, free: 5.863 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.087e-05/0.008014, allocations: 4.375 kB / 350.8 MB, free: 5.859 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.746e-05/0.008052, allocations: 384 / 350.8 MB, free: 5.859 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001855/0.008237, allocations: 54.23 kB / 350.8 MB, free: 5.801 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.536e-05/0.008263, allocations: 3.938 kB / 350.9 MB, free: 5.797 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.665e-05/0.008279, allocations: 0 / 350.9 MB, free: 5.797 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.008286, allocations: 4 kB / 350.9 MB, free: 5.793 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001005/0.008387, allocations: 19.92 kB / 350.9 MB, free: 5.773 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000507/0.008894, allocations: 311.8 kB / 351.2 MB, free: 5.434 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000185/0.009079, allocations: 67.16 kB / 351.2 MB, free: 5.355 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.542e-05/0.009134, allocations: 23.62 kB / 351.3 MB, free: 5.328 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.522e-05/0.009159, allocations: 3.938 kB / 351.3 MB, free: 5.324 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00017/0.009329, allocations: 73.05 kB / 351.3 MB, free: 5.238 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/0.009331, allocations: 0 / 351.3 MB, free: 5.238 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006273/0.009958, allocations: 185.3 kB / 351.5 MB, free: 5.051 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.029e-05/0.009998, allocations: 51.41 kB / 351.6 MB, free: 4.988 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002159/0.01021, allocations: 290.8 kB / 351.9 MB, free: 4.688 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.142e-05/0.01024, allocations: 29.7 kB / 351.9 MB, free: 4.652 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.974e-05/0.01033, allocations: 174.8 kB / 352.1 MB, free: 4.477 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.016e-05/0.01037, allocations: 43.7 kB / 352.1 MB, free: 4.434 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.679e-05/0.01042, allocations: 27.38 kB / 352.1 MB, free: 4.398 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.01057, allocations: 0.504 MB / 352.6 MB, free: 3.883 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.353e-05/0.01062, allocations: 23.98 kB / 352.7 MB, free: 3.859 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.072e-05/0.01068, allocations: 43.36 kB / 352.7 MB, free: 3.809 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.917e-05/0.01078, allocations: 71.23 kB / 352.8 MB, free: 3.73 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.01078, allocations: 0 / 352.8 MB, free: 3.73 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000173/0.01095, allocations: 105.5 kB / 352.9 MB, free: 3.621 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/0.01098, allocations: 4 kB / 352.9 MB, free: 3.617 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.01098, allocations: 4.031 kB / 352.9 MB, free: 3.613 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.842e-05/0.01101, allocations: 4 kB / 352.9 MB, free: 3.609 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001271/0.01114, allocations: 16.36 kB / 352.9 MB, free: 3.594 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.01115, allocations: 0 / 352.9 MB, free: 3.594 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.863e-05/0.01119, allocations: 4 kB / 352.9 MB, free: 3.59 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.139e-05/0.01121, allocations: 8 kB / 352.9 MB, free: 3.582 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.0001255/0.01133, allocations: 177.4 kB / 353.1 MB, free: 3.398 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.902e-05/0.01136, allocations: 19.89 kB / 353.1 MB, free: 3.379 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002802/0.01164, allocations: 119.3 kB / 353.2 MB, free: 3.254 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.01164, allocations: 0 / 353.2 MB, free: 3.254 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.01165, allocations: 4 kB / 353.2 MB, free: 3.25 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.01166, allocations: 4 kB / 353.2 MB, free: 3.246 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005124/0.01217, allocations: 429 kB / 353.6 MB, free: 2.781 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.01217, allocations: 4 kB / 353.6 MB, free: 2.777 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.659e-05/0.01221, allocations: 11.94 kB / 353.7 MB, free: 2.766 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.01221, allocations: 0 / 353.7 MB, free: 2.766 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.288e-05/0.01222, allocations: 4 kB / 353.7 MB, free: 2.762 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.01223, allocations: 0 / 353.7 MB, free: 2.762 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.01223, allocations: 3.984 kB / 353.7 MB, free: 2.758 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002468/0.01248, allocations: 279.3 kB / 353.9 MB, free: 2.461 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.598e-05/0.0125, allocations: 15.94 kB / 354 MB, free: 2.445 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.886e-05/0.01253, allocations: 0 / 354 MB, free: 2.445 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.595e-05/0.0126, allocations: 4 kB / 354 MB, free: 2.441 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.876e-05/0.01267, allocations: 11.98 kB / 354 MB, free: 2.43 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.313e-05/0.01269, allocations: 4 kB / 354 MB, free: 2.426 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001482/0.01284, allocations: 213.3 kB / 354.2 MB, free: 2.219 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01284, allocations: 0 / 354.2 MB, free: 2.219 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000288/0.01313, allocations: 31.86 kB / 354.2 MB, free: 2.188 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.003452/0.01658, allocations: 497.2 kB / 354.7 MB, free: 1.809 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003745/0.01695, allocations: 67.59 kB / 354.8 MB, free: 1.738 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.089e-06/0.01696, allocations: 0 / 354.8 MB, free: 1.738 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 8.548e-05/0.01704, allocations: 43.61 kB / 354.8 MB, free: 1.691 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005302/0.01757, allocations: 33.22 kB / 354.8 MB, free: 1.664 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007246/0.0183, allocations: 273.8 kB / 355.1 MB, free: 1.367 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001003/0.0184, allocations: 101.1 kB / 355.2 MB, free: 1.25 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.749e-05/0.01846, allocations: 16.8 kB / 355.2 MB, free: 1.23 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.204e-05/0.01851, allocations: 24.48 kB / 355.2 MB, free: 1.207 MB / 282.7 MB Notification: Performance of SimCode: time 2.544e-06/0.01851, allocations: 4 kB / 355.3 MB, free: 1.203 MB / 282.7 MB Notification: Performance of Templates: time 0.006692/0.0252, allocations: 1.85 MB / 357.1 MB, free: 15.38 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.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: 6.125565292080864]