Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.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.001174/0.001174, allocations: 80.2 kB / 20.65 MB, free: 3.844 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.00131/0.00131, allocations: 173 kB / 24.06 MB, free: 456 kB / 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.9656/0.9656, allocations: 158.6 MB / 185.9 MB, free: 2.793 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.1441/0.1441, allocations: 32.38 MB / 270.7 MB, free: 14.52 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.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34") translateModel(ModelicaTest.Tables.CombiTimeTable.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.294e-06/2.294e-06, allocations: 0 / 348.2 MB, free: 9.094 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.281e-05/2.511e-05, allocations: 2.312 kB / 348.2 MB, free: 9.09 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test34): time 0.002188/0.002214, allocations: 1.725 MB / 349.9 MB, free: 7.355 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00101/0.003224, allocations: 0.7842 MB / 350.7 MB, free: 6.562 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.821e-05/0.003312, allocations: 0 / 350.7 MB, free: 6.562 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003426/0.003655, allocations: 47.69 kB / 350.8 MB, free: 6.516 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000214/0.003869, allocations: 51.77 kB / 350.8 MB, free: 6.465 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002021/0.004071, allocations: 95.62 kB / 350.9 MB, free: 6.371 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001501/0.004221, allocations: 99.62 kB / 351 MB, free: 6.273 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.342e-05/0.004314, allocations: 8.219 kB / 351 MB, free: 6.266 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.028e-05/0.004395, allocations: 47.91 kB / 351.1 MB, free: 6.219 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.53e-05/0.00448, allocations: 27.91 kB / 351.1 MB, free: 6.191 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.092e-05/0.004501, allocations: 4 kB / 351.1 MB, free: 6.188 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.75e-05/0.004578, allocations: 39.92 kB / 351.1 MB, free: 6.148 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.232e-05/0.004631, allocations: 23.86 kB / 351.2 MB, free: 6.125 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.911e-05/0.00467, allocations: 19.92 kB / 351.2 MB, free: 6.105 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001766/0.004846, allocations: 103.6 kB / 351.3 MB, free: 6.004 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.004849, allocations: 0 / 351.3 MB, free: 6.004 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.00485, allocations: 0 / 351.3 MB, free: 6.004 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.601e-06/0.004856, allocations: 0 / 351.3 MB, free: 6.004 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.0004308/0.005286, allocations: 439.9 kB / 351.7 MB, free: 5.539 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/0.005333, allocations: 8.031 kB / 351.7 MB, free: 5.531 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.012e-05/0.005373, allocations: 20.88 kB / 351.7 MB, free: 5.512 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001418/0.005515, allocations: 144.4 kB / 351.9 MB, free: 5.344 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.963e-05/0.005534, allocations: 8.359 kB / 351.9 MB, free: 5.336 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.748e-05/0.005552, allocations: 4.328 kB / 351.9 MB, free: 5.332 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001089/0.005661, allocations: 66.94 kB / 352 MB, free: 5.258 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.005672, allocations: 7.875 kB / 352 MB, free: 5.25 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.991e-06/0.005678, allocations: 0 / 352 MB, free: 5.25 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.241e-06/0.005684, allocations: 3.984 kB / 352 MB, free: 5.246 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.789e-05/0.005712, allocations: 11.98 kB / 352 MB, free: 5.234 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002327/0.005945, allocations: 252.5 kB / 352.2 MB, free: 4.961 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.299e-05/0.006038, allocations: 55.09 kB / 352.3 MB, free: 4.895 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.101e-05/0.006059, allocations: 11.69 kB / 352.3 MB, free: 4.879 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.925e-05/0.006078, allocations: 4 kB / 352.3 MB, free: 4.875 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.055e-05/0.006169, allocations: 72.98 kB / 352.4 MB, free: 4.789 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.00617, allocations: 0 / 352.4 MB, free: 4.789 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003478/0.006518, allocations: 141.4 kB / 352.5 MB, free: 4.645 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.096e-05/0.006539, allocations: 51.41 kB / 352.5 MB, free: 4.582 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.357e-05/0.006632, allocations: 216 kB / 352.8 MB, free: 4.355 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.096e-05/0.006643, allocations: 33.7 kB / 352.8 MB, free: 4.316 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.027e-05/0.006683, allocations: 146.8 kB / 352.9 MB, free: 4.168 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.885e-05/0.006712, allocations: 35.72 kB / 353 MB, free: 4.133 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.858e-05/0.006741, allocations: 31.36 kB / 353 MB, free: 4.094 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.888e-05/0.00681, allocations: 0.4962 MB / 353.5 MB, free: 3.586 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.348e-05/0.006823, allocations: 8 kB / 353.5 MB, free: 3.578 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.349e-05/0.006847, allocations: 31.36 kB / 353.5 MB, free: 3.539 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.273e-05/0.006889, allocations: 51.34 kB / 353.6 MB, free: 3.48 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.021e-06/0.006891, allocations: 0 / 353.6 MB, free: 3.48 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.082e-05/0.006971, allocations: 85.55 kB / 353.7 MB, free: 3.391 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.006983, allocations: 4 kB / 353.7 MB, free: 3.387 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.006988, allocations: 80 / 353.7 MB, free: 3.387 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.007001, allocations: 4 kB / 353.7 MB, free: 3.383 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.047e-05/0.007062, allocations: 23.92 kB / 353.7 MB, free: 3.359 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.787e-06/0.007065, allocations: 8.016 kB / 353.7 MB, free: 3.352 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.643e-05/0.007092, allocations: 4 kB / 353.7 MB, free: 3.348 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.371e-06/0.007097, allocations: 0 / 353.7 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 5.737e-05/0.007155, allocations: 160.6 kB / 353.9 MB, free: 3.18 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.379e-05/0.007168, allocations: 19.84 kB / 353.9 MB, free: 3.16 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001127/0.007281, allocations: 98.38 kB / 354 MB, free: 3.059 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.007284, allocations: 0 / 354 MB, free: 3.059 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.007285, allocations: 0 / 354 MB, free: 3.059 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.758e-06/0.007289, allocations: 0 / 354 MB, free: 3.059 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000205/0.007494, allocations: 373.5 kB / 354.3 MB, free: 2.656 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.007495, allocations: 0 / 354.3 MB, free: 2.656 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.179e-05/0.007517, allocations: 8 kB / 354.4 MB, free: 2.648 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.007519, allocations: 384 / 354.4 MB, free: 2.648 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.076e-06/0.007527, allocations: 8 kB / 354.4 MB, free: 2.641 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.00753, allocations: 4 kB / 354.4 MB, free: 2.637 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.007531, allocations: 0 / 354.4 MB, free: 2.637 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001015/0.007633, allocations: 251.4 kB / 354.6 MB, free: 2.367 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.099e-05/0.007644, allocations: 11.94 kB / 354.6 MB, free: 2.355 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.514e-05/0.007659, allocations: 4 kB / 354.6 MB, free: 2.352 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.137e-05/0.0077, allocations: 8.031 kB / 354.6 MB, free: 2.344 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.637e-05/0.007726, allocations: 7.984 kB / 354.6 MB, free: 2.336 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.094e-05/0.007737, allocations: 7.938 kB / 354.7 MB, free: 2.328 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.047e-05/0.007778, allocations: 160 kB / 354.8 MB, free: 2.172 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007778, allocations: 0 / 354.8 MB, free: 2.172 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001534/0.007931, allocations: 23.94 kB / 354.8 MB, free: 2.148 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.0008605/0.008792, allocations: 431.4 kB / 355.3 MB, free: 1.82 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.786e-05/0.00889, allocations: 55.53 kB / 355.3 MB, free: 1.762 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.008891, allocations: 4.062 kB / 355.3 MB, free: 1.758 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.003e-05/0.008921, allocations: 27.83 kB / 355.3 MB, free: 1.727 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002121/0.009133, allocations: 35.95 kB / 355.4 MB, free: 1.691 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002688/0.009402, allocations: 221.3 kB / 355.6 MB, free: 1.441 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.818e-05/0.00943, allocations: 67.34 kB / 355.7 MB, free: 1.355 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.955e-05/0.00946, allocations: 20.47 kB / 355.7 MB, free: 1.336 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.467e-05/0.009514, allocations: 86.19 kB / 355.8 MB, free: 1.25 MB / 282.7 MB Notification: Performance of SimCode: time 4.91e-07/0.009515, allocations: 4.062 kB / 355.8 MB, free: 1.246 MB / 282.7 MB Notification: Performance of Templates: time 0.003332/0.01285, allocations: 2.009 MB / 357.8 MB, free: 15.26 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test34/Test34.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.136037186719477]