Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.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.001621/0.001621, allocations: 95.2 kB / 20.43 MB, free: 4.141 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.001923/0.001923, allocations: 165 kB / 23.79 MB, free: 0.7812 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.9384/0.9384, allocations: 158.6 MB / 185.7 MB, free: 2.918 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.1333/0.1333, allocations: 32.37 MB / 270.4 MB, free: 14.71 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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1") translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 3.938 kB / 347.7 MB, free: 9.379 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.595e-05/3.811e-05, allocations: 4.281 kB / 347.7 MB, free: 9.375 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.002951/0.002989, allocations: 1.738 MB / 349.5 MB, free: 7.625 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001109/0.004099, allocations: 0.8037 MB / 350.3 MB, free: 6.812 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.541e-05/0.004174, allocations: 0 / 350.3 MB, free: 6.812 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003476/0.004522, allocations: 51.75 kB / 350.3 MB, free: 6.762 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002311/0.004753, allocations: 63.69 kB / 350.4 MB, free: 6.699 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002232/0.004976, allocations: 87.7 kB / 350.5 MB, free: 6.613 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001621/0.005138, allocations: 95.69 kB / 350.6 MB, free: 6.52 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.763e-05/0.005236, allocations: 4.234 kB / 350.6 MB, free: 6.516 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.377e-05/0.005329, allocations: 59.77 kB / 350.6 MB, free: 6.457 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.118e-05/0.005411, allocations: 19.91 kB / 350.7 MB, free: 6.438 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.125e-05/0.005432, allocations: 4 kB / 350.7 MB, free: 6.434 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.928e-05/0.005521, allocations: 43.92 kB / 350.7 MB, free: 6.391 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.064e-05/0.005582, allocations: 39.84 kB / 350.7 MB, free: 6.352 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.517e-05/0.005627, allocations: 15.94 kB / 350.8 MB, free: 6.336 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002001/0.005827, allocations: 115.5 kB / 350.9 MB, free: 6.223 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.005831, allocations: 0 / 350.9 MB, free: 6.223 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.005832, allocations: 0 / 350.9 MB, free: 6.223 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.005837, allocations: 0 / 350.9 MB, free: 6.223 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.0004845/0.006321, allocations: 471.7 kB / 351.3 MB, free: 5.727 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.006367, allocations: 8.031 kB / 351.3 MB, free: 5.719 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.292e-05/0.00642, allocations: 16.84 kB / 351.4 MB, free: 5.703 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001866/0.006606, allocations: 156.4 kB / 351.5 MB, free: 5.523 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.988e-05/0.006626, allocations: 8.375 kB / 351.5 MB, free: 5.516 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.824e-05/0.006655, allocations: 4.375 kB / 351.5 MB, free: 5.512 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001238/0.006778, allocations: 66.88 kB / 351.6 MB, free: 5.438 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.00679, allocations: 3.938 kB / 351.6 MB, free: 5.434 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.0068, allocations: 0 / 351.6 MB, free: 5.434 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.305e-06/0.006808, allocations: 0 / 351.6 MB, free: 5.434 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.024e-05/0.006849, allocations: 11.98 kB / 351.6 MB, free: 5.422 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003072/0.007156, allocations: 299.8 kB / 351.9 MB, free: 5.094 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001094/0.007265, allocations: 55.11 kB / 352 MB, free: 5.027 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.571e-05/0.007301, allocations: 27.61 kB / 352 MB, free: 4.996 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.883e-05/0.00732, allocations: 0 / 352 MB, free: 4.996 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001095/0.007429, allocations: 65.05 kB / 352 MB, free: 4.918 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.012e-06/0.00743, allocations: 0 / 352 MB, free: 4.918 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.000441/0.007871, allocations: 173.5 kB / 352.2 MB, free: 4.742 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.265e-05/0.007894, allocations: 55.34 kB / 352.3 MB, free: 4.676 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001516/0.008045, allocations: 277.3 kB / 352.5 MB, free: 4.387 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.53e-05/0.008061, allocations: 25.7 kB / 352.6 MB, free: 4.355 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.033e-05/0.008111, allocations: 158.9 kB / 352.7 MB, free: 4.195 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.925e-05/0.00814, allocations: 31.78 kB / 352.7 MB, free: 4.164 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.895e-05/0.008179, allocations: 35.38 kB / 352.8 MB, free: 4.121 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.301e-05/0.008242, allocations: 0.504 MB / 353.3 MB, free: 3.605 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.236e-05/0.008275, allocations: 8 kB / 353.3 MB, free: 3.598 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.172e-05/0.008316, allocations: 39.3 kB / 353.3 MB, free: 3.551 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.889e-05/0.008385, allocations: 47.31 kB / 353.4 MB, free: 3.496 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.008387, allocations: 0 / 353.4 MB, free: 3.496 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001319/0.008519, allocations: 101.5 kB / 353.5 MB, free: 3.391 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.008533, allocations: 4 kB / 353.5 MB, free: 3.387 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.00854, allocations: 4 kB / 353.5 MB, free: 3.383 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.008556, allocations: 4.031 kB / 353.5 MB, free: 3.379 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.426e-05/0.00864, allocations: 12 kB / 353.5 MB, free: 3.367 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.008646, allocations: 0 / 353.5 MB, free: 3.367 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.877e-05/0.008685, allocations: 7.984 kB / 353.5 MB, free: 3.359 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-06/0.008693, allocations: 4 kB / 353.5 MB, free: 3.355 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 5.938e-05/0.008752, allocations: 164.5 kB / 353.7 MB, free: 3.184 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.386e-05/0.008776, allocations: 19.91 kB / 353.7 MB, free: 3.164 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000172/0.008948, allocations: 107.2 kB / 353.8 MB, free: 3.051 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.00895, allocations: 4 kB / 353.8 MB, free: 3.047 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.008954, allocations: 0 / 353.8 MB, free: 3.047 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.008958, allocations: 4 kB / 353.8 MB, free: 3.043 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002986/0.009256, allocations: 405 kB / 354.2 MB, free: 2.602 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.009259, allocations: 4 kB / 354.2 MB, free: 2.598 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.363e-05/0.009292, allocations: 8 kB / 354.2 MB, free: 2.59 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.009295, allocations: 0 / 354.2 MB, free: 2.59 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.009305, allocations: 4 kB / 354.2 MB, free: 2.586 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.009307, allocations: 0 / 354.2 MB, free: 2.586 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.009308, allocations: 3.984 kB / 354.2 MB, free: 2.582 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001455/0.009454, allocations: 267.3 kB / 354.5 MB, free: 2.297 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.411e-05/0.009468, allocations: 7.984 kB / 354.5 MB, free: 2.289 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.052e-05/0.009488, allocations: 8 kB / 354.5 MB, free: 2.281 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.306e-05/0.009552, allocations: 0 / 354.5 MB, free: 2.281 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.567e-05/0.009587, allocations: 15.92 kB / 354.5 MB, free: 2.266 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.442e-05/0.009602, allocations: 4 kB / 354.5 MB, free: 2.262 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.876e-05/0.00969, allocations: 192.3 kB / 354.7 MB, free: 2.074 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.00969, allocations: 0 / 354.7 MB, free: 2.074 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002829/0.009973, allocations: 31.89 kB / 354.7 MB, free: 2.043 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.001105/0.01108, allocations: 443.6 kB / 355.2 MB, free: 1.703 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001321/0.01121, allocations: 51.61 kB / 355.2 MB, free: 1.648 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.01121, allocations: 0 / 355.2 MB, free: 1.648 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.504e-05/0.01125, allocations: 35.61 kB / 355.3 MB, free: 1.609 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00023/0.01148, allocations: 35.83 kB / 355.3 MB, free: 1.574 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003054/0.01178, allocations: 258 kB / 355.5 MB, free: 1.293 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.079e-05/0.01181, allocations: 75.27 kB / 355.6 MB, free: 1.199 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.867e-05/0.01184, allocations: 16.61 kB / 355.6 MB, free: 1.184 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.931e-05/0.01187, allocations: 20.48 kB / 355.7 MB, free: 1.16 MB / 282.7 MB Notification: Performance of SimCode: time 8.52e-07/0.01187, allocations: 0 / 355.7 MB, free: 1.16 MB / 282.7 MB Notification: Performance of Templates: time 0.00348/0.01535, allocations: 1.854 MB / 357.5 MB, free: 15.32 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.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.3167703142389655]