Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89.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.001364/0.001364, allocations: 96.31 kB / 20.96 MB, free: 3.594 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.001527/0.001527, allocations: 161.7 kB / 24.27 MB, free: 296 kB / 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 1.499/1.499, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 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.4084/0.4084, allocations: 34.26 MB / 295.3 MB, free: 0.6641 MB / 266.7 MB " [Timeout remaining time 179] 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.Test89,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89") translateModel(ModelicaTest.Tables.CombiTimeTable.Test89,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.294e-06/2.294e-06, allocations: 0 / 377.4 MB, free: 2.863 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.283e-05/3.513e-05, allocations: 2.312 kB / 377.4 MB, free: 2.859 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test89): time 0.003998/0.004033, allocations: 1.723 MB / 379.1 MB, free: 1.121 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003014/0.007047, allocations: 1.68 MB / 380.8 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.491e-05/0.007132, allocations: 7.938 kB / 380.8 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003446/0.007476, allocations: 39.7 kB / 380.8 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000422/0.007898, allocations: 107.4 kB / 380.9 MB, free: 15.28 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002214/0.00812, allocations: 79.66 kB / 381 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002253/0.008345, allocations: 115.6 kB / 381.1 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.008449, allocations: 7.984 kB / 381.1 MB, free: 15.08 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001357/0.008585, allocations: 51.84 kB / 381.2 MB, free: 15.03 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001483/0.008733, allocations: 35.89 kB / 381.2 MB, free: 15 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.885e-05/0.008762, allocations: 8 kB / 381.2 MB, free: 14.99 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002197/0.008982, allocations: 99.81 kB / 381.3 MB, free: 14.89 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.58e-05/0.009047, allocations: 19.92 kB / 381.3 MB, free: 14.87 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.193e-05/0.009109, allocations: 27.91 kB / 381.4 MB, free: 14.84 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003475/0.009457, allocations: 183.3 kB / 381.5 MB, free: 14.66 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.009464, allocations: 3.984 kB / 381.5 MB, free: 14.66 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.009465, allocations: 0 / 381.5 MB, free: 14.66 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.57e-06/0.00947, allocations: 0 / 381.5 MB, free: 14.66 MB / 362.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.0006851/0.01016, allocations: 345.5 kB / 381.9 MB, free: 14.29 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.0102, allocations: 8.031 kB / 381.9 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.835e-05/0.01026, allocations: 16.83 kB / 381.9 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003486/0.01061, allocations: 146.2 kB / 382 MB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/0.01063, allocations: 4.375 kB / 382.1 MB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.148e-05/0.01066, allocations: 4.375 kB / 382.1 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002385/0.0109, allocations: 109 kB / 382.2 MB, free: 13.97 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.01091, allocations: 0 / 382.2 MB, free: 13.97 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.333e-05/0.01092, allocations: 0 / 382.2 MB, free: 13.97 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.01093, allocations: 0 / 382.2 MB, free: 13.97 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.39e-05/0.01101, allocations: 19.98 kB / 382.2 MB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004349/0.01145, allocations: 240.5 kB / 382.4 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002047/0.01165, allocations: 62.61 kB / 382.5 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.358e-05/0.01173, allocations: 24.84 kB / 382.5 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.638e-05/0.01175, allocations: 0 / 382.5 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001754/0.01193, allocations: 67.39 kB / 382.6 MB, free: 13.51 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.123e-06/0.01193, allocations: 0 / 382.6 MB, free: 13.51 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006412/0.01257, allocations: 185.3 kB / 382.7 MB, free: 13.32 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.381e-05/0.01265, allocations: 77.11 kB / 382.8 MB, free: 13.23 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002144/0.01287, allocations: 165.4 kB / 383 MB, free: 13.05 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.966e-05/0.0129, allocations: 33.7 kB / 383 MB, free: 13.02 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.838e-05/0.01297, allocations: 96.12 kB / 383.1 MB, free: 12.92 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.882e-05/0.01301, allocations: 27.8 kB / 383.1 MB, free: 12.89 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.941e-05/0.01306, allocations: 25.7 kB / 383.2 MB, free: 12.86 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003018/0.01336, allocations: 326.8 kB / 383.5 MB, free: 12.53 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.584e-05/0.01343, allocations: 23.98 kB / 383.5 MB, free: 12.51 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00011/0.01354, allocations: 72.2 kB / 383.6 MB, free: 12.42 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001507/0.01369, allocations: 65.77 kB / 383.6 MB, free: 12.35 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.01369, allocations: 0 / 383.6 MB, free: 12.35 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002393/0.01393, allocations: 105.5 kB / 383.7 MB, free: 12.24 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.01395, allocations: 8.062 kB / 383.8 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.01395, allocations: 4 kB / 383.8 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.041e-05/0.01398, allocations: 0 / 383.8 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000112/0.01409, allocations: 19.98 kB / 383.8 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.01409, allocations: 0 / 383.8 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.114e-05/0.01414, allocations: 4 kB / 383.8 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.087e-05/0.01416, allocations: 4 kB / 383.8 MB, free: 12.2 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 0.0001319/0.01429, allocations: 133.6 kB / 383.9 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.238e-05/0.01432, allocations: 11.95 kB / 383.9 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003084/0.01463, allocations: 118.4 kB / 384 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.01463, allocations: 4 kB / 384 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.01464, allocations: 4 kB / 384 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.01464, allocations: 0 / 384 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005229/0.01516, allocations: 346.9 kB / 384.4 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.01517, allocations: 0 / 384.4 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.233e-05/0.01521, allocations: 11.98 kB / 384.4 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.01521, allocations: 0 / 384.4 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.503e-05/0.01523, allocations: 8 kB / 384.4 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.01523, allocations: 0 / 384.4 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.01523, allocations: 0 / 384.4 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003216/0.01555, allocations: 220.2 kB / 384.6 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.319e-05/0.01558, allocations: 15.92 kB / 384.6 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.105e-05/0.01561, allocations: 8 kB / 384.6 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.63e-05/0.01569, allocations: 0 / 384.6 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.927e-05/0.01574, allocations: 11.92 kB / 384.7 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.745e-05/0.01576, allocations: 4.375 kB / 384.7 MB, free: 11.25 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001403/0.0159, allocations: 133.8 kB / 384.8 MB, free: 11.12 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0159, allocations: 0 / 384.8 MB, free: 11.12 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003183/0.01622, allocations: 51.86 kB / 384.8 MB, free: 11.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.002633/0.01885, allocations: 0.5998 MB / 385.4 MB, free: 10.72 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002202/0.01907, allocations: 59.84 kB / 385.5 MB, free: 10.66 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.01907, allocations: 0 / 385.5 MB, free: 10.66 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.494e-05/0.01916, allocations: 31.98 kB / 385.5 MB, free: 10.63 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003865/0.01954, allocations: 35.09 kB / 385.6 MB, free: 10.6 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005542/0.0201, allocations: 217.3 kB / 385.8 MB, free: 10.36 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001069/0.0202, allocations: 81.45 kB / 385.9 MB, free: 10.25 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.75e-05/0.02027, allocations: 17.27 kB / 385.9 MB, free: 10.24 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.976e-05/0.02034, allocations: 28.48 kB / 385.9 MB, free: 10.21 MB / 362.7 MB Notification: Performance of SimCode: time 5.92e-07/0.02034, allocations: 4 kB / 385.9 MB, free: 10.21 MB / 362.7 MB Notification: Performance of Templates: time 0.007207/0.02755, allocations: 2.516 MB / 388.4 MB, free: 7.719 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test89/Test89.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89.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: 4.911443777033128]