Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.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.001671/0.001671, allocations: 96.2 kB / 20.21 MB, free: 4.195 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.002263/0.002263, allocations: 157.3 kB / 23.51 MB, free: 0.8945 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.57/1.57, allocations: 158.6 MB / 185.3 MB, free: 2.891 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.2429/0.2429, allocations: 32.38 MB / 270 MB, free: 14.78 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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20") translateModel(ModelicaTest.Tables.CombiTimeTable.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 347 MB, free: 9.734 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.116e-05/4.303e-05, allocations: 6.25 kB / 347 MB, free: 9.727 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.003311/0.003354, allocations: 1.68 MB / 348.7 MB, free: 8.035 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00142/0.004774, allocations: 0.7726 MB / 349.5 MB, free: 7.254 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001147/0.004889, allocations: 0 / 349.5 MB, free: 7.254 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003787/0.005267, allocations: 47.75 kB / 349.5 MB, free: 7.207 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002954/0.005563, allocations: 55.7 kB / 349.6 MB, free: 7.152 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003152/0.005878, allocations: 91.62 kB / 349.7 MB, free: 7.062 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002149/0.006093, allocations: 91.7 kB / 349.7 MB, free: 6.973 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.006197, allocations: 8.234 kB / 349.8 MB, free: 6.965 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001265/0.006324, allocations: 59.75 kB / 349.8 MB, free: 6.906 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.911e-05/0.006413, allocations: 23.92 kB / 349.8 MB, free: 6.883 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.418e-05/0.006437, allocations: 4 kB / 349.8 MB, free: 6.879 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001121/0.006549, allocations: 43.91 kB / 349.9 MB, free: 6.836 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.343e-05/0.006613, allocations: 19.92 kB / 349.9 MB, free: 6.816 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.472e-05/0.006667, allocations: 19.94 kB / 349.9 MB, free: 6.797 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002197/0.006887, allocations: 111.6 kB / 350 MB, free: 6.688 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.006891, allocations: 0 / 350 MB, free: 6.688 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.006892, allocations: 0 / 350 MB, free: 6.688 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.006897, allocations: 0 / 350 MB, free: 6.688 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.0005341/0.007431, allocations: 345.5 kB / 350.4 MB, free: 6.32 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.007471, allocations: 12.03 kB / 350.4 MB, free: 6.309 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.783e-05/0.007539, allocations: 12.89 kB / 350.4 MB, free: 6.297 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002454/0.007784, allocations: 149.6 kB / 350.5 MB, free: 6.125 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.924e-05/0.007804, allocations: 8.375 kB / 350.5 MB, free: 6.117 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.571e-05/0.007829, allocations: 4.375 kB / 350.6 MB, free: 6.113 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001692/0.007999, allocations: 62.22 kB / 350.6 MB, free: 6.047 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.591e-05/0.008015, allocations: 7.891 kB / 350.6 MB, free: 6.039 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.008027, allocations: 0 / 350.6 MB, free: 6.039 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.008034, allocations: 0 / 350.6 MB, free: 6.039 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.486e-05/0.008119, allocations: 23.92 kB / 350.6 MB, free: 6.016 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000373/0.008492, allocations: 228.6 kB / 350.9 MB, free: 5.762 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001659/0.008657, allocations: 46.69 kB / 350.9 MB, free: 5.707 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.608e-05/0.008714, allocations: 32.78 kB / 350.9 MB, free: 5.672 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.668e-05/0.00873, allocations: 0 / 350.9 MB, free: 5.672 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001485/0.008879, allocations: 71.33 kB / 351 MB, free: 5.59 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.052e-06/0.00888, allocations: 0 / 351 MB, free: 5.59 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005413/0.009421, allocations: 185.3 kB / 351.2 MB, free: 5.402 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.865e-05/0.00945, allocations: 51.41 kB / 351.2 MB, free: 5.34 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001348/0.009584, allocations: 192.5 kB / 351.4 MB, free: 5.145 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.269e-05/0.009597, allocations: 29.7 kB / 351.5 MB, free: 5.109 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.066e-05/0.009638, allocations: 100.1 kB / 351.6 MB, free: 5.008 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.88e-05/0.009667, allocations: 27.8 kB / 351.6 MB, free: 4.98 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.775e-05/0.009704, allocations: 21.72 kB / 351.6 MB, free: 4.953 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.82e-05/0.009773, allocations: 326.8 kB / 351.9 MB, free: 4.625 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.681e-05/0.009829, allocations: 19.98 kB / 351.9 MB, free: 4.605 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.786e-05/0.009887, allocations: 41.64 kB / 352 MB, free: 4.559 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001021/0.009989, allocations: 69.58 kB / 352.1 MB, free: 4.484 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.00999, allocations: 0 / 352.1 MB, free: 4.484 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001563/0.01015, allocations: 105.6 kB / 352.2 MB, free: 4.375 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.01016, allocations: 4 kB / 352.2 MB, free: 4.371 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.01017, allocations: 8.031 kB / 352.2 MB, free: 4.363 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/0.01018, allocations: 0 / 352.2 MB, free: 4.363 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.714e-05/0.01027, allocations: 12 kB / 352.2 MB, free: 4.352 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.01028, allocations: 0 / 352.2 MB, free: 4.352 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.672e-05/0.01032, allocations: 8.359 kB / 352.2 MB, free: 4.344 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.765e-06/0.01033, allocations: 8 kB / 352.2 MB, free: 4.336 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 7.192e-05/0.0104, allocations: 126.7 kB / 352.3 MB, free: 4.203 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.411e-05/0.01043, allocations: 15.91 kB / 352.3 MB, free: 4.188 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002197/0.01065, allocations: 130.5 kB / 352.5 MB, free: 4.055 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.01065, allocations: 4 kB / 352.5 MB, free: 4.051 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.01066, allocations: 4 kB / 352.5 MB, free: 4.047 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.01066, allocations: 0 / 352.5 MB, free: 4.047 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003465/0.01101, allocations: 342.9 kB / 352.8 MB, free: 3.672 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.01101, allocations: 0 / 352.8 MB, free: 3.672 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.667e-05/0.01104, allocations: 19.92 kB / 352.8 MB, free: 3.652 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.01105, allocations: 0 / 352.8 MB, free: 3.652 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.01106, allocations: 4 kB / 352.8 MB, free: 3.648 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.01106, allocations: 0 / 352.8 MB, free: 3.648 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.01106, allocations: 0 / 352.8 MB, free: 3.648 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002019/0.01126, allocations: 220.2 kB / 353 MB, free: 3.414 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.68e-05/0.01128, allocations: 11.94 kB / 353.1 MB, free: 3.402 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.547e-05/0.0113, allocations: 8 kB / 353.1 MB, free: 3.395 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.966e-05/0.01137, allocations: 0 / 353.1 MB, free: 3.395 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.815e-05/0.01142, allocations: 7.984 kB / 353.1 MB, free: 3.387 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.785e-05/0.01144, allocations: 7.984 kB / 353.1 MB, free: 3.379 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.651e-05/0.01154, allocations: 152 kB / 353.2 MB, free: 3.23 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01154, allocations: 0 / 353.2 MB, free: 3.23 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002767/0.01181, allocations: 20 kB / 353.2 MB, free: 3.211 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.002169/0.01398, allocations: 0.4891 MB / 353.7 MB, free: 2.828 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000173/0.01415, allocations: 59.91 kB / 353.8 MB, free: 2.77 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.01416, allocations: 4 kB / 353.8 MB, free: 2.766 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.699e-05/0.01422, allocations: 27.92 kB / 353.8 MB, free: 2.738 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003735/0.0146, allocations: 41.62 kB / 353.9 MB, free: 2.699 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004165/0.01501, allocations: 229 kB / 354.1 MB, free: 2.445 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.161e-05/0.01507, allocations: 92.3 kB / 354.2 MB, free: 2.332 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.359e-05/0.01512, allocations: 20.78 kB / 354.2 MB, free: 2.312 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.612e-05/0.01515, allocations: 16.5 kB / 354.2 MB, free: 2.297 MB / 282.7 MB Notification: Performance of SimCode: time 6.32e-07/0.01516, allocations: 4 kB / 354.2 MB, free: 2.293 MB / 282.7 MB Notification: Performance of Templates: time 0.004745/0.0199, allocations: 1.832 MB / 356.1 MB, free: 484 kB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test20/Test20.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.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.029749413952231]