Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001548/0.001548, allocations: 116.8 kB / 19.18 MB, free: 3.762 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001956/0.001956, allocations: 210.6 kB / 22.13 MB, free: 0.8125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.487/1.487, allocations: 230.2 MB / 255.2 MB, free: 15.23 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2462/0.2462, allocations: 46.88 MB / 358.1 MB, free: 10.5 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test3") translateModel(ModelicaTest.Tables.CombiTimeTable.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test3") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00329/0.00329, allocations: 79.88 kB / 0.4924 GB, free: 7.949 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1933/0.1966, allocations: 65.99 MB / 0.5569 GB, free: 5.828 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.005527/0.2021, allocations: 1.735 MB / 0.5586 GB, free: 4.074 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003244/0.2053, allocations: 1.034 MB / 0.5596 GB, free: 3.035 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001111/0.2054, allocations: 0 / 0.5596 GB, free: 3.035 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004186/0.2059, allocations: 43.77 kB / 0.5596 GB, free: 2.992 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005124/0.2064, allocations: 95.53 kB / 0.5597 GB, free: 2.898 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003506/0.2067, allocations: 75.69 kB / 0.5598 GB, free: 2.824 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002774/0.207, allocations: 107.7 kB / 0.5599 GB, free: 2.719 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001454/0.2071, allocations: 12 kB / 0.5599 GB, free: 2.707 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001571/0.2073, allocations: 43.78 kB / 0.5599 GB, free: 2.664 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001229/0.2074, allocations: 27.84 kB / 0.56 GB, free: 2.637 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.591e-05/0.2075, allocations: 4 kB / 0.56 GB, free: 2.633 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001634/0.2076, allocations: 43.98 kB / 0.56 GB, free: 2.59 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.395e-05/0.2077, allocations: 23.86 kB / 0.56 GB, free: 2.566 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.859e-05/0.2078, allocations: 43.72 kB / 0.5601 GB, free: 2.523 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000338/0.2081, allocations: 111.6 kB / 0.5602 GB, free: 2.414 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.2081, allocations: 0 / 0.5602 GB, free: 2.414 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.2081, allocations: 0 / 0.5602 GB, free: 2.414 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.2081, allocations: 0 / 0.5602 GB, free: 2.414 MB / 414.1 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.0007943/0.2089, allocations: 410.7 kB / 0.5606 GB, free: 1.965 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.209, allocations: 8.031 kB / 0.5606 GB, free: 1.957 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.89e-05/0.209, allocations: 16.88 kB / 0.5606 GB, free: 1.941 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004233/0.2095, allocations: 204.1 kB / 0.5608 GB, free: 1.703 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.553e-05/0.2095, allocations: 12.36 kB / 0.5608 GB, free: 1.691 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.298e-05/0.2095, allocations: 384 / 0.5608 GB, free: 1.691 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002128/0.2097, allocations: 57.98 kB / 0.5609 GB, free: 1.629 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/0.2097, allocations: 0 / 0.5609 GB, free: 1.629 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.2098, allocations: 0 / 0.5609 GB, free: 1.629 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/0.2098, allocations: 7.984 kB / 0.5609 GB, free: 1.621 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000111/0.2099, allocations: 19.98 kB / 0.5609 GB, free: 1.602 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005507/0.2104, allocations: 284.8 kB / 0.5612 GB, free: 1.273 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002795/0.2107, allocations: 58.62 kB / 0.5612 GB, free: 1.207 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.066e-05/0.2108, allocations: 24.78 kB / 0.5612 GB, free: 1.18 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.658e-05/0.2108, allocations: 0 / 0.5612 GB, free: 1.18 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002113/0.211, allocations: 67.38 kB / 0.5613 GB, free: 1.102 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 2.074e-06/0.211, allocations: 4 kB / 0.5613 GB, free: 1.098 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008618/0.2119, allocations: 173.3 kB / 0.5615 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.984e-05/0.212, allocations: 55.41 kB / 0.5615 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002637/0.2122, allocations: 166.2 kB / 0.5617 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.7e-05/0.2122, allocations: 29.7 kB / 0.5617 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.839e-05/0.2123, allocations: 100.1 kB / 0.5618 GB, free: 0.543 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.666e-05/0.2124, allocations: 27.78 kB / 0.5618 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.579e-05/0.2125, allocations: 21.66 kB / 0.5619 GB, free: 500 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000205/0.2127, allocations: 330.8 kB / 0.5622 GB, free: 160 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.356e-05/0.2128, allocations: 23.98 kB / 0.5622 GB, free: 136 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001161/0.2129, allocations: 33.7 kB / 0.5622 GB, free: 96 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002024/0.2131, allocations: 58.09 kB / 0.5623 GB, free: 32 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.2131, allocations: 0 / 0.5623 GB, free: 32 kB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003648/0.2134, allocations: 105.6 kB / 0.5624 GB, free: 15.92 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.462e-05/0.2135, allocations: 13.88 kB / 0.5624 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.2135, allocations: 4 kB / 0.5624 GB, free: 15.9 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.2135, allocations: 0 / 0.5624 GB, free: 15.9 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001541/0.2136, allocations: 12 kB / 0.5624 GB, free: 15.89 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.4e-05/0.2137, allocations: 11.98 kB / 0.5624 GB, free: 15.88 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.163e-05/0.2137, allocations: 4 kB / 0.5624 GB, free: 15.88 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.987e-05/0.2138, allocations: 8.172 kB / 0.5624 GB, free: 15.87 MB / 430.1 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.0001697/0.2139, allocations: 123.3 kB / 0.5626 GB, free: 15.74 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.917e-05/0.214, allocations: 15.89 kB / 0.5626 GB, free: 15.73 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.099e-05/0.2141, allocations: 16.7 kB / 0.5626 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.2141, allocations: 0 / 0.5626 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.535e-06/0.2141, allocations: 0 / 0.5626 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.728e-06/0.2141, allocations: 0 / 0.5626 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008157/0.2149, allocations: 399.2 kB / 0.563 GB, free: 15.26 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.2149, allocations: 0 / 0.563 GB, free: 15.26 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.275e-05/0.2149, allocations: 11.98 kB / 0.563 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/0.215, allocations: 0 / 0.563 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.348e-05/0.215, allocations: 4.031 kB / 0.563 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.879e-06/0.215, allocations: 11.88 kB / 0.563 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.215, allocations: 0 / 0.563 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004307/0.2154, allocations: 200.3 kB / 0.5632 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.514e-05/0.2155, allocations: 89.02 kB / 0.5633 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.986e-05/0.2155, allocations: 7.984 kB / 0.5633 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001304/0.2157, allocations: 7.938 kB / 0.5633 GB, free: 14.9 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.866e-05/0.2157, allocations: 4 kB / 0.5633 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.848e-05/0.2158, allocations: 7.984 kB / 0.5633 GB, free: 14.89 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00019/0.2159, allocations: 132.1 kB / 0.5634 GB, free: 14.76 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.2159, allocations: 0 / 0.5634 GB, free: 14.76 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004654/0.2164, allocations: 27.94 kB / 0.5634 GB, free: 14.73 MB / 430.1 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 (8): * Single equations (assignments): 6 * 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.002476/0.2189, allocations: 450.2 kB / 0.5639 GB, free: 14.46 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003201/0.2192, allocations: 55.91 kB / 0.5639 GB, free: 14.41 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.743e-06/0.2192, allocations: 7.938 kB / 0.5639 GB, free: 14.4 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001131/0.2193, allocations: 27.92 kB / 0.564 GB, free: 14.37 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005783/0.2199, allocations: 33.14 kB / 0.564 GB, free: 14.34 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007461/0.2206, allocations: 240.9 kB / 0.5642 GB, free: 14.07 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004745/0.2211, allocations: 0.7002 MB / 0.5649 GB, free: 13.34 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.268e-05/0.2212, allocations: 19.42 kB / 0.5649 GB, free: 13.32 MB / 430.1 MB Notification: Performance of SimCode: time 3.61e-07/0.2212, allocations: 0 / 0.5649 GB, free: 13.32 MB / 430.1 MB Notification: Performance of Templates: time 0.006387/0.2276, allocations: 1.912 MB / 0.5668 GB, free: 11.41 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test3.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test3.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: 7.9867151151411235]