Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.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.001024/0.001024, allocations: 77.88 kB / 21.42 MB, free: 3.074 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.001145/0.001145, allocations: 169.2 kB / 24.82 MB, free: 8.93 MB / 18.57 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 0.9324/0.9324, allocations: 177.1 MB / 205.3 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.256/0.256, allocations: 32.8 MB / 294.6 MB, free: 1.238 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16") translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 376.6 MB, free: 4.316 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.844e-05/2.036e-05, allocations: 2.312 kB / 376.6 MB, free: 4.312 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.002365/0.002386, allocations: 1.766 MB / 378.3 MB, free: 2.531 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001228/0.003613, allocations: 0.9936 MB / 379.3 MB, free: 1.531 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.692e-05/0.00369, allocations: 4 kB / 379.3 MB, free: 1.527 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002852/0.003975, allocations: 39.7 kB / 379.4 MB, free: 1.488 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002709/0.004246, allocations: 95.48 kB / 379.5 MB, free: 1.395 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000178/0.004424, allocations: 87.59 kB / 379.5 MB, free: 1.309 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001451/0.004569, allocations: 99.69 kB / 379.6 MB, free: 1.211 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.876e-05/0.004648, allocations: 4 kB / 379.6 MB, free: 1.207 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.031e-05/0.004728, allocations: 63.75 kB / 379.7 MB, free: 1.145 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.494e-05/0.004793, allocations: 27.92 kB / 379.7 MB, free: 1.117 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.367e-05/0.004807, allocations: 4 kB / 379.7 MB, free: 1.113 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.937e-05/0.004896, allocations: 47.91 kB / 379.8 MB, free: 1.066 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.693e-05/0.004943, allocations: 19.92 kB / 379.8 MB, free: 1.047 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.766e-05/0.004981, allocations: 15.94 kB / 379.8 MB, free: 1.031 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001511/0.005132, allocations: 107.6 kB / 379.9 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.453e-06/0.005134, allocations: 0 / 379.9 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.005134, allocations: 3.938 kB / 379.9 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.128e-06/0.005138, allocations: 0 / 379.9 MB, free: 0.9219 MB / 346.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.000373/0.005511, allocations: 435.9 kB / 380.4 MB, free: 472 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.005547, allocations: 16.03 kB / 380.4 MB, free: 456 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.102e-05/0.005578, allocations: 12.88 kB / 380.4 MB, free: 444 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001283/0.005706, allocations: 156.4 kB / 380.5 MB, free: 260 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.005718, allocations: 384 / 380.5 MB, free: 260 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.493e-05/0.005733, allocations: 4.375 kB / 380.5 MB, free: 256 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.519e-05/0.005819, allocations: 58.94 kB / 380.6 MB, free: 188 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.005826, allocations: 3.938 kB / 380.6 MB, free: 184 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.296e-06/0.005835, allocations: 4 kB / 380.6 MB, free: 180 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.695e-06/0.005842, allocations: 3.938 kB / 380.6 MB, free: 176 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.558e-05/0.005868, allocations: 7.984 kB / 380.6 MB, free: 168 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002249/0.006093, allocations: 256.5 kB / 380.9 MB, free: 15.89 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.753e-05/0.00617, allocations: 51.16 kB / 380.9 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.92e-05/0.00619, allocations: 15.62 kB / 380.9 MB, free: 15.8 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.315e-05/0.006203, allocations: 11.92 kB / 380.9 MB, free: 15.79 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.687e-05/0.00628, allocations: 64.98 kB / 381 MB, free: 15.71 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.843e-06/0.006281, allocations: 3.984 kB / 381 MB, free: 15.71 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002762/0.006558, allocations: 137.7 kB / 381.1 MB, free: 15.57 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.258e-05/0.00658, allocations: 55.41 kB / 381.2 MB, free: 15.5 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.006688, allocations: 222.5 kB / 381.4 MB, free: 15.27 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.347e-05/0.006701, allocations: 29.69 kB / 381.4 MB, free: 15.23 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.086e-05/0.006752, allocations: 150.9 kB / 381.6 MB, free: 15.08 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.624e-05/0.006778, allocations: 35.72 kB / 381.6 MB, free: 15.05 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.869e-05/0.006817, allocations: 23.38 kB / 381.7 MB, free: 15.02 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001077/0.006925, allocations: 0.4962 MB / 382.1 MB, free: 14.51 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.547e-05/0.00694, allocations: 12.05 kB / 382.2 MB, free: 14.5 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.765e-05/0.006968, allocations: 39.3 kB / 382.2 MB, free: 14.45 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.067e-05/0.007009, allocations: 39.36 kB / 382.2 MB, free: 14.4 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.00701, allocations: 0 / 382.2 MB, free: 14.4 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.402e-05/0.007094, allocations: 89.52 kB / 382.3 MB, free: 14.31 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.062e-05/0.007104, allocations: 8 kB / 382.3 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.007108, allocations: 0 / 382.3 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.416e-06/0.007117, allocations: 0 / 382.3 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.283e-05/0.007169, allocations: 15.98 kB / 382.3 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.695e-06/0.007172, allocations: 4.156 kB / 382.4 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.574e-05/0.007198, allocations: 4 kB / 382.4 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-06/0.007204, allocations: 7.984 kB / 382.4 MB, free: 14.27 MB / 362.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 6.658e-05/0.00727, allocations: 168.5 kB / 382.5 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.558e-05/0.007286, allocations: 19.88 kB / 382.5 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001224/0.007408, allocations: 91.14 kB / 382.6 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.007412, allocations: 7.984 kB / 382.6 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/0.007414, allocations: 0 / 382.6 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.007417, allocations: 3.938 kB / 382.6 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002299/0.007647, allocations: 353.7 kB / 383 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.007649, allocations: 0 / 383 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.212e-05/0.007671, allocations: 15.94 kB / 383 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.564e-06/0.007673, allocations: 3.984 kB / 383 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.999e-06/0.007678, allocations: 0 / 383 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.00768, allocations: 8.031 kB / 383 MB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.007681, allocations: 0 / 383 MB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000129/0.00781, allocations: 259.3 kB / 383.3 MB, free: 13.28 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.006e-05/0.00782, allocations: 7.953 kB / 383.3 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.527e-05/0.007835, allocations: 4 kB / 383.3 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.83e-05/0.007874, allocations: 0 / 383.3 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.257e-05/0.007896, allocations: 11.98 kB / 383.3 MB, free: 13.26 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.064e-05/0.007907, allocations: 4 kB / 383.3 MB, free: 13.25 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.764e-05/0.007965, allocations: 159.8 kB / 383.5 MB, free: 13.1 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.007965, allocations: 0 / 383.5 MB, free: 13.1 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001616/0.008126, allocations: 23.94 kB / 383.5 MB, free: 13.07 MB / 362.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.0007963/0.008923, allocations: 442.3 kB / 383.9 MB, free: 12.8 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.019e-05/0.009003, allocations: 47.59 kB / 384 MB, free: 12.75 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.142e-06/0.009004, allocations: 0 / 384 MB, free: 12.75 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.36e-05/0.009038, allocations: 35.61 kB / 384 MB, free: 12.71 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002041/0.009242, allocations: 28.22 kB / 384 MB, free: 12.68 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002564/0.009498, allocations: 218.4 kB / 384.2 MB, free: 12.43 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.693e-05/0.009535, allocations: 71.33 kB / 384.3 MB, free: 12.34 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.892e-05/0.009564, allocations: 8.984 kB / 384.3 MB, free: 12.34 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.491e-05/0.009629, allocations: 94.17 kB / 384.4 MB, free: 12.24 MB / 362.7 MB Notification: Performance of SimCode: time 5.91e-07/0.009629, allocations: 0 / 384.4 MB, free: 12.24 MB / 362.7 MB Notification: Performance of Templates: time 0.00331/0.01294, allocations: 2.039 MB / 386.4 MB, free: 10.23 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.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: 2.860557056032121]