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.001165/0.001165, allocations: 95.31 kB / 20.43 MB, free: 4.145 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.001329/0.001329, allocations: 165.3 kB / 23.8 MB, free: 0.7773 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 0.9545/0.9545, allocations: 158.6 MB / 185.7 MB, free: 2.922 MB / 170.7 MB " [Timeout remaining time 179] 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.1362/0.1362, allocations: 32.37 MB / 270.4 MB, free: 14.7 MB / 266.7 MB " [Timeout remaining time 180] 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.[0-9,]+.|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.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.142e-06/1.142e-06, allocations: 3.938 kB / 347.8 MB, free: 9.367 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.953e-05/2.067e-05, allocations: 5.406 kB / 347.8 MB, free: 9.363 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.002065/0.002086, allocations: 1.734 MB / 349.5 MB, free: 7.617 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001098/0.003184, allocations: 0.7998 MB / 350.3 MB, free: 6.809 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.368e-05/0.003268, allocations: 0 / 350.3 MB, free: 6.809 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003254/0.003593, allocations: 59.75 kB / 350.3 MB, free: 6.75 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001995/0.003792, allocations: 59.69 kB / 350.4 MB, free: 6.691 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001955/0.003988, allocations: 83.7 kB / 350.5 MB, free: 6.609 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001334/0.004121, allocations: 95.69 kB / 350.6 MB, free: 6.516 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.425e-05/0.004196, allocations: 8.219 kB / 350.6 MB, free: 6.508 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.661e-05/0.004262, allocations: 55.78 kB / 350.6 MB, free: 6.453 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.043e-05/0.004323, allocations: 31.89 kB / 350.7 MB, free: 6.422 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.637e-05/0.004339, allocations: 8 kB / 350.7 MB, free: 6.414 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.672e-05/0.004406, allocations: 39.92 kB / 350.7 MB, free: 6.375 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.789e-05/0.004454, allocations: 27.86 kB / 350.7 MB, free: 6.348 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.165e-05/0.004495, allocations: 19.92 kB / 350.8 MB, free: 6.328 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001617/0.004657, allocations: 119.5 kB / 350.9 MB, free: 6.211 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.004659, allocations: 0 / 350.9 MB, free: 6.211 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.00466, allocations: 0 / 350.9 MB, free: 6.211 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.108e-06/0.004664, allocations: 0 / 350.9 MB, free: 6.211 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.0004061/0.005071, allocations: 471.7 kB / 351.3 MB, free: 5.715 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.295e-05/0.005103, allocations: 8.031 kB / 351.4 MB, free: 5.707 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.44e-05/0.005148, allocations: 16.84 kB / 351.4 MB, free: 5.691 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001431/0.005291, allocations: 160.4 kB / 351.5 MB, free: 5.508 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.734e-05/0.005308, allocations: 4.375 kB / 351.5 MB, free: 5.504 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.563e-05/0.005324, allocations: 384 / 351.5 MB, free: 5.504 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001258/0.00545, allocations: 66.88 kB / 351.6 MB, free: 5.43 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.005463, allocations: 3.938 kB / 351.6 MB, free: 5.426 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.005473, allocations: 0 / 351.6 MB, free: 5.426 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.005482, allocations: 0 / 351.6 MB, free: 5.426 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.27e-05/0.005515, allocations: 11.98 kB / 351.6 MB, free: 5.414 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002791/0.005794, allocations: 299.8 kB / 351.9 MB, free: 5.086 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001093/0.005903, allocations: 67.08 kB / 352 MB, free: 5.008 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.855e-05/0.005932, allocations: 15.62 kB / 352 MB, free: 4.988 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.248e-05/0.005944, allocations: 4 kB / 352 MB, free: 4.984 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.639e-05/0.00604, allocations: 69.05 kB / 352.1 MB, free: 4.902 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.723e-06/0.006042, allocations: 0 / 352.1 MB, free: 4.902 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003723/0.006414, allocations: 161.6 kB / 352.2 MB, free: 4.738 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.629e-05/0.006441, allocations: 55.34 kB / 352.3 MB, free: 4.672 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001138/0.006554, allocations: 273.3 kB / 352.5 MB, free: 4.387 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.907e-06/0.006563, allocations: 33.69 kB / 352.6 MB, free: 4.348 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.841e-05/0.006602, allocations: 158.9 kB / 352.7 MB, free: 4.188 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.202e-05/0.006624, allocations: 31.78 kB / 352.8 MB, free: 4.156 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.653e-05/0.00665, allocations: 27.38 kB / 352.8 MB, free: 4.121 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.301e-05/0.006703, allocations: 0.504 MB / 353.3 MB, free: 3.605 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.894e-05/0.006722, allocations: 8 kB / 353.3 MB, free: 3.598 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.268e-05/0.006755, allocations: 39.3 kB / 353.3 MB, free: 3.551 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.863e-05/0.006804, allocations: 59.34 kB / 353.4 MB, free: 3.484 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.006805, allocations: 0 / 353.4 MB, free: 3.484 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.662e-05/0.006892, allocations: 93.53 kB / 353.5 MB, free: 3.387 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.052e-05/0.006902, allocations: 12.03 kB / 353.5 MB, free: 3.375 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.006907, allocations: 0 / 353.5 MB, free: 3.375 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.006919, allocations: 0 / 353.5 MB, free: 3.375 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.255e-05/0.006982, allocations: 15.98 kB / 353.5 MB, free: 3.359 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.006986, allocations: 4 kB / 353.5 MB, free: 3.355 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.623e-05/0.007012, allocations: 0 / 353.5 MB, free: 3.355 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-06/0.007019, allocations: 8 kB / 353.5 MB, free: 3.348 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 4.931e-05/0.007068, allocations: 164.5 kB / 353.7 MB, free: 3.176 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.432e-05/0.007082, allocations: 19.91 kB / 353.7 MB, free: 3.156 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001265/0.007209, allocations: 111.2 kB / 353.8 MB, free: 3.039 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.007211, allocations: 4 kB / 353.8 MB, free: 3.035 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.007214, allocations: 0 / 353.8 MB, free: 3.035 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.007217, allocations: 0 / 353.8 MB, free: 3.035 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002289/0.007446, allocations: 405 kB / 354.2 MB, free: 2.594 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.007448, allocations: 0 / 354.2 MB, free: 2.594 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.445e-05/0.007472, allocations: 8 kB / 354.2 MB, free: 2.586 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.007475, allocations: 0 / 354.2 MB, free: 2.586 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/0.007484, allocations: 11.98 kB / 354.2 MB, free: 2.574 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.007485, allocations: 0 / 354.2 MB, free: 2.574 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.007487, allocations: 0 / 354.2 MB, free: 2.574 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001053/0.007592, allocations: 271.4 kB / 354.5 MB, free: 2.285 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.091e-05/0.007603, allocations: 7.953 kB / 354.5 MB, free: 2.277 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.506e-05/0.007618, allocations: 0 / 354.5 MB, free: 2.277 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.904e-05/0.007657, allocations: 8 kB / 354.5 MB, free: 2.27 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.572e-05/0.007683, allocations: 11.92 kB / 354.5 MB, free: 2.258 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.329e-05/0.007696, allocations: 0 / 354.5 MB, free: 2.258 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.619e-05/0.007762, allocations: 196.3 kB / 354.7 MB, free: 2.066 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007762, allocations: 0 / 354.7 MB, free: 2.066 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001596/0.007922, allocations: 31.88 kB / 354.7 MB, free: 2.035 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.0008188/0.00874, allocations: 441.9 kB / 355.2 MB, free: 1.695 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001093/0.00885, allocations: 55.55 kB / 355.2 MB, free: 1.637 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.152e-06/0.008851, allocations: 0 / 355.2 MB, free: 1.637 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.234e-05/0.008883, allocations: 31.67 kB / 355.3 MB, free: 1.602 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002138/0.009097, allocations: 31.83 kB / 355.3 MB, free: 1.57 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002989/0.009396, allocations: 261.9 kB / 355.5 MB, free: 1.285 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.19e-05/0.009428, allocations: 71.33 kB / 355.6 MB, free: 1.195 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.028e-05/0.009458, allocations: 16.61 kB / 355.6 MB, free: 1.18 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.967e-05/0.009488, allocations: 20.48 kB / 355.7 MB, free: 1.156 MB / 282.7 MB Notification: Performance of SimCode: time 7.31e-07/0.009489, allocations: 0 / 355.7 MB, free: 1.156 MB / 282.7 MB Notification: Performance of Templates: time 0.003568/0.01306, allocations: 1.997 MB / 357.6 MB, free: 15.17 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","",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.214754654094577]