Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45.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.001345/0.001345, allocations: 84.92 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001462/0.001462, allocations: 164.5 kB / 23.95 MB, free: 4.168 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.549/1.549, allocations: 177.1 MB / 204.3 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2162/0.2162, allocations: 34.28 MB / 295 MB, free: 14.58 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45") translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 3.938 kB / 442.8 MB, free: 5.312 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.377e-05/2.512e-05, allocations: 2.281 kB / 442.8 MB, free: 5.309 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.003089/0.003114, allocations: 1.72 MB / 444.5 MB, free: 3.574 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001886/0.005, allocations: 0.9665 MB / 445.5 MB, free: 2.602 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.741e-05/0.005078, allocations: 3.938 kB / 445.5 MB, free: 2.598 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002754/0.005353, allocations: 39.81 kB / 445.5 MB, free: 2.559 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003128/0.005666, allocations: 99.53 kB / 445.6 MB, free: 2.461 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002024/0.005868, allocations: 87.48 kB / 445.7 MB, free: 2.375 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001909/0.006059, allocations: 107.6 kB / 445.8 MB, free: 2.27 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.817e-05/0.006147, allocations: 8 kB / 445.8 MB, free: 2.262 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001115/0.006259, allocations: 55.81 kB / 445.8 MB, free: 2.207 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.101e-05/0.00634, allocations: 23.92 kB / 445.9 MB, free: 2.184 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.146e-05/0.006361, allocations: 4 kB / 445.9 MB, free: 2.18 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.54e-05/0.006457, allocations: 43.97 kB / 445.9 MB, free: 2.137 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.515e-05/0.006522, allocations: 23.92 kB / 445.9 MB, free: 2.113 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.835e-05/0.00657, allocations: 23.86 kB / 446 MB, free: 2.09 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002256/0.006796, allocations: 123.5 kB / 446.1 MB, free: 1.969 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.006799, allocations: 0 / 446.1 MB, free: 1.969 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.0068, allocations: 4 kB / 446.1 MB, free: 1.965 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.006805, allocations: 0 / 446.1 MB, free: 1.965 MB / 366.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.0005828/0.007388, allocations: 349.6 kB / 446.4 MB, free: 1.594 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.428e-05/0.007422, allocations: 8.031 kB / 446.4 MB, free: 1.586 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.126e-05/0.007463, allocations: 8.891 kB / 446.4 MB, free: 1.578 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002162/0.00768, allocations: 153.5 kB / 446.6 MB, free: 1.402 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.158e-05/0.007701, allocations: 12.36 kB / 446.6 MB, free: 1.391 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.308e-05/0.007724, allocations: 4.312 kB / 446.6 MB, free: 1.387 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001651/0.007889, allocations: 62.17 kB / 446.7 MB, free: 1.32 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.007903, allocations: 3.938 kB / 446.7 MB, free: 1.316 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.457e-06/0.007913, allocations: 7.938 kB / 446.7 MB, free: 1.309 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.007917, allocations: 0 / 446.7 MB, free: 1.309 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.133e-05/0.007998, allocations: 19.98 kB / 446.7 MB, free: 1.289 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003632/0.008362, allocations: 232.6 kB / 446.9 MB, free: 1.031 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001965/0.008558, allocations: 62.61 kB / 447 MB, free: 0.9609 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.737e-05/0.008625, allocations: 28.77 kB / 447 MB, free: 0.9297 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.419e-05/0.00864, allocations: 0 / 447 MB, free: 0.9297 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001603/0.0088, allocations: 67.39 kB / 447.1 MB, free: 0.8516 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.403e-06/0.008801, allocations: 4 kB / 447.1 MB, free: 0.8477 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005905/0.009392, allocations: 185.5 kB / 447.3 MB, free: 0.6602 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.041e-05/0.009432, allocations: 51.41 kB / 447.3 MB, free: 0.5977 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002243/0.009656, allocations: 219 kB / 447.5 MB, free: 384 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.107e-05/0.009677, allocations: 25.7 kB / 447.6 MB, free: 352 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.009e-05/0.009748, allocations: 104.1 kB / 447.7 MB, free: 244 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.538e-05/0.009783, allocations: 27.78 kB / 447.7 MB, free: 216 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.798e-05/0.009831, allocations: 21.72 kB / 447.7 MB, free: 188 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.2069/0.2167, allocations: 327.4 kB / 448 MB, free: 19.07 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001464/0.2168, allocations: 18.47 kB / 448 MB, free: 19.07 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.036e-05/0.2169, allocations: 39.08 kB / 448.1 MB, free: 19.06 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001435/0.2171, allocations: 67.19 kB / 448.2 MB, free: 19.04 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.2171, allocations: 1.156 kB / 448.2 MB, free: 19.04 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002577/0.2173, allocations: 108.5 kB / 448.3 MB, free: 19.01 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.2174, allocations: 6.438 kB / 448.3 MB, free: 19.01 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.2174, allocations: 1.156 kB / 448.3 MB, free: 19.01 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.059e-05/0.2174, allocations: 1.094 kB / 448.3 MB, free: 19.01 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001132/0.2175, allocations: 18.47 kB / 448.3 MB, free: 19.01 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/0.2175, allocations: 1.797 kB / 448.3 MB, free: 19.01 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.253e-05/0.2176, allocations: 2.891 kB / 448.3 MB, free: 19.01 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.838e-06/0.2176, allocations: 3.016 kB / 448.3 MB, free: 19.01 MB / 366.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.0001112/0.2177, allocations: 132.7 kB / 448.4 MB, free: 18.9 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.954e-05/0.2177, allocations: 11.8 kB / 448.4 MB, free: 18.9 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003099/0.218, allocations: 125.9 kB / 448.6 MB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.218, allocations: 1.062 kB / 448.6 MB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.218, allocations: 5.062 kB / 448.6 MB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.2181, allocations: 0.5156 kB / 448.6 MB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004741/0.2185, allocations: 350.1 kB / 448.9 MB, free: 18.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.2185, allocations: 2.516 kB / 448.9 MB, free: 18.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.286e-05/0.2186, allocations: 18.58 kB / 448.9 MB, free: 18.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.2186, allocations: 1.375 kB / 448.9 MB, free: 18.62 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.541e-05/0.2186, allocations: 9.516 kB / 448.9 MB, free: 18.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.2186, allocations: 1.094 kB / 448.9 MB, free: 18.61 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.2186, allocations: 2.047 kB / 448.9 MB, free: 18.61 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002581/0.2189, allocations: 213.9 kB / 449.2 MB, free: 18.47 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.228e-05/0.2189, allocations: 12.78 kB / 449.2 MB, free: 18.47 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.975e-05/0.2189, allocations: 6.703 kB / 449.2 MB, free: 18.47 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.469e-05/0.219, allocations: 3.453 kB / 449.2 MB, free: 18.47 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.076e-05/0.219, allocations: 8.219 kB / 449.2 MB, free: 18.47 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.043e-05/0.2191, allocations: 6.906 kB / 449.2 MB, free: 18.47 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000139/0.2192, allocations: 158.3 kB / 449.3 MB, free: 18.39 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2192, allocations: 1.25 kB / 449.3 MB, free: 18.39 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002878/0.2195, allocations: 26.5 kB / 449.4 MB, free: 18.39 MB / 366.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 (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.001898/0.2214, allocations: 499.2 kB / 449.9 MB, free: 18.25 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002219/0.2216, allocations: 57 kB / 449.9 MB, free: 18.25 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2216, allocations: 3.938 kB / 449.9 MB, free: 18.25 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.905e-05/0.2217, allocations: 32.44 kB / 449.9 MB, free: 18.24 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003818/0.2221, allocations: 34.72 kB / 450 MB, free: 18.24 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004962/0.2226, allocations: 251.8 kB / 450.2 MB, free: 18.06 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001094/0.2227, allocations: 95.73 kB / 450.3 MB, free: 17.99 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.08e-05/0.2227, allocations: 14.31 kB / 450.3 MB, free: 17.98 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.838e-05/0.2228, allocations: 16.16 kB / 450.4 MB, free: 17.97 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2228, allocations: 0 / 450.4 MB, free: 17.97 MB / 366.1 MB Notification: Performance of Templates: time 0.005937/0.2287, allocations: 1.857 MB / 452.2 MB, free: 17.72 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test45/Test45.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45.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.054161433130503]