Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.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.001141/0.001141, allocations: 81.86 kB / 21.44 MB, free: 3.055 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.001126/0.001126, allocations: 168.1 kB / 24.84 MB, free: 8.754 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.917/0.917, allocations: 158.6 MB / 186.7 MB, free: 2.801 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.135/0.135, allocations: 32.37 MB / 271.5 MB, free: 14.53 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.Test7,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.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,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.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 349 MB, free: 9.102 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.643e-05/1.776e-05, allocations: 4.281 kB / 349 MB, free: 9.098 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.002194/0.002212, allocations: 1.726 MB / 350.7 MB, free: 7.359 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009465/0.003159, allocations: 0.792 MB / 351.5 MB, free: 6.559 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.99e-05/0.003229, allocations: 0 / 351.5 MB, free: 6.559 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003017/0.00353, allocations: 99.67 kB / 351.6 MB, free: 6.461 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001945/0.003725, allocations: 95.56 kB / 351.7 MB, free: 6.367 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002067/0.003932, allocations: 91.64 kB / 351.8 MB, free: 6.277 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001371/0.004069, allocations: 107.7 kB / 351.9 MB, free: 6.172 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.795e-05/0.004147, allocations: 8.234 kB / 351.9 MB, free: 6.164 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.86e-05/0.004225, allocations: 63.8 kB / 352 MB, free: 6.102 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.569e-05/0.004311, allocations: 63.86 kB / 352 MB, free: 6.039 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.636e-05/0.004327, allocations: 8 kB / 352 MB, free: 6.031 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.011e-05/0.004407, allocations: 39.92 kB / 352.1 MB, free: 5.992 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.455e-05/0.004452, allocations: 35.84 kB / 352.1 MB, free: 5.957 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.176e-05/0.004484, allocations: 15.94 kB / 352.1 MB, free: 5.941 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001501/0.004634, allocations: 103.6 kB / 352.2 MB, free: 5.84 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.004636, allocations: 4 kB / 352.2 MB, free: 5.836 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.004637, allocations: 4 kB / 352.2 MB, free: 5.832 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.747e-06/0.004641, allocations: 3.938 kB / 352.2 MB, free: 5.828 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.0003373/0.004978, allocations: 459.7 kB / 352.7 MB, free: 5.344 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.205e-05/0.00501, allocations: 12.03 kB / 352.7 MB, free: 5.332 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.642e-05/0.005046, allocations: 12.84 kB / 352.7 MB, free: 5.32 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001273/0.005174, allocations: 161.2 kB / 352.9 MB, free: 5.137 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.005188, allocations: 384 / 352.9 MB, free: 5.137 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.608e-05/0.005204, allocations: 4.375 kB / 352.9 MB, free: 5.133 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.15e-05/0.005296, allocations: 58.94 kB / 352.9 MB, free: 5.066 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.005304, allocations: 3.938 kB / 352.9 MB, free: 5.062 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.943e-06/0.005311, allocations: 0 / 352.9 MB, free: 5.062 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.005317, allocations: 0 / 352.9 MB, free: 5.062 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.995e-05/0.005346, allocations: 15.92 kB / 352.9 MB, free: 5.047 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002193/0.005566, allocations: 268.4 kB / 353.2 MB, free: 4.758 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.745e-05/0.005653, allocations: 51.17 kB / 353.3 MB, free: 4.695 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.236e-05/0.005676, allocations: 23.59 kB / 353.3 MB, free: 4.668 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.04e-05/0.005686, allocations: 7.938 kB / 353.3 MB, free: 4.66 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.856e-05/0.005765, allocations: 72.97 kB / 353.4 MB, free: 4.574 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.072e-06/0.005766, allocations: 0 / 353.4 MB, free: 4.574 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.000319/0.006085, allocations: 133.4 kB / 353.5 MB, free: 4.438 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.349e-05/0.006108, allocations: 51.41 kB / 353.5 MB, free: 4.375 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001151/0.006223, allocations: 253.7 kB / 353.8 MB, free: 4.109 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.377e-06/0.006233, allocations: 25.7 kB / 353.8 MB, free: 4.078 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.81e-05/0.006281, allocations: 170.8 kB / 354 MB, free: 3.906 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.251e-05/0.006313, allocations: 23.75 kB / 354 MB, free: 3.883 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.051e-05/0.006354, allocations: 35.34 kB / 354 MB, free: 3.84 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.611e-05/0.00642, allocations: 0.5001 MB / 354.5 MB, free: 3.328 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.073e-05/0.006441, allocations: 11.98 kB / 354.6 MB, free: 3.316 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.692e-05/0.006468, allocations: 27.38 kB / 354.6 MB, free: 3.281 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.791e-05/0.006515, allocations: 47.28 kB / 354.6 MB, free: 3.227 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.006516, allocations: 0 / 354.6 MB, free: 3.227 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.974e-05/0.006616, allocations: 93.58 kB / 354.7 MB, free: 3.129 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.052e-05/0.006627, allocations: 8.031 kB / 354.7 MB, free: 3.121 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.00663, allocations: 0 / 354.7 MB, free: 3.121 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.003e-05/0.00664, allocations: 4 kB / 354.7 MB, free: 3.117 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.241e-05/0.006703, allocations: 15.98 kB / 354.7 MB, free: 3.102 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.875e-06/0.006706, allocations: 0 / 354.7 MB, free: 3.102 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.412e-05/0.00674, allocations: 7.953 kB / 354.8 MB, free: 3.094 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.952e-06/0.006746, allocations: 0 / 354.8 MB, free: 3.094 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.352e-05/0.006799, allocations: 164.5 kB / 354.9 MB, free: 2.922 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.844e-05/0.006818, allocations: 19.88 kB / 354.9 MB, free: 2.902 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001273/0.006945, allocations: 99.09 kB / 355 MB, free: 2.797 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.006947, allocations: 4 kB / 355 MB, free: 2.793 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-06/0.006948, allocations: 4 kB / 355 MB, free: 2.789 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.006953, allocations: 3.984 kB / 355 MB, free: 2.785 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002278/0.007181, allocations: 361.6 kB / 355.4 MB, free: 2.395 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.007182, allocations: 0 / 355.4 MB, free: 2.395 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.74e-05/0.007209, allocations: 12.31 kB / 355.4 MB, free: 2.383 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.007211, allocations: 0 / 355.4 MB, free: 2.383 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.007222, allocations: 7.984 kB / 355.4 MB, free: 2.375 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.007224, allocations: 4 kB / 355.4 MB, free: 2.371 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.007225, allocations: 3.938 kB / 355.4 MB, free: 2.367 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001161/0.007341, allocations: 267.4 kB / 355.7 MB, free: 2.082 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.33e-05/0.007354, allocations: 11.91 kB / 355.7 MB, free: 2.07 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.708e-05/0.007371, allocations: 0 / 355.7 MB, free: 2.07 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.544e-05/0.007427, allocations: 4 kB / 355.7 MB, free: 2.066 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.618e-05/0.007453, allocations: 11.98 kB / 355.7 MB, free: 2.055 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.155e-05/0.007464, allocations: 4 kB / 355.7 MB, free: 2.051 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.163e-05/0.007526, allocations: 176.2 kB / 355.9 MB, free: 1.879 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007526, allocations: 0 / 355.9 MB, free: 1.879 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002382/0.007764, allocations: 27.94 kB / 355.9 MB, free: 1.852 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.001025/0.00879, allocations: 435.5 kB / 356.3 MB, free: 1.52 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001099/0.008899, allocations: 55.52 kB / 356.4 MB, free: 1.461 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.008901, allocations: 0 / 356.4 MB, free: 1.461 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.641e-05/0.008937, allocations: 31.61 kB / 356.4 MB, free: 1.426 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002805/0.009218, allocations: 39.84 kB / 356.5 MB, free: 1.387 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002884/0.009506, allocations: 228.7 kB / 356.7 MB, free: 1.133 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.29e-05/0.009539, allocations: 75.31 kB / 356.8 MB, free: 1.039 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.402e-05/0.009573, allocations: 16.61 kB / 356.8 MB, free: 1.023 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.873e-05/0.009632, allocations: 94.19 kB / 356.9 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of SimCode: time 7.52e-07/0.009632, allocations: 0 / 356.9 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of Templates: time 0.003861/0.01349, allocations: 2.041 MB / 358.9 MB, free: 14.91 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.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.0214361967518926]