Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49.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.001921/0.001921, allocations: 84.34 kB / 20.95 MB, free: 3.453 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.002373/0.002373, allocations: 165.7 kB / 24.27 MB, free: 144 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.59/1.59, allocations: 177.1 MB / 204.6 MB, free: 5.605 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.3448/0.3448, allocations: 34.27 MB / 295.3 MB, free: 0.6875 MB / 266.7 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.Test49,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.Test49") translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,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.Test49") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 3.938 kB / 377.4 MB, free: 2.883 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.984e-05/3.155e-05, allocations: 2.312 kB / 377.4 MB, free: 2.879 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.003791/0.003823, allocations: 1.718 MB / 379.1 MB, free: 1.148 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00218/0.006003, allocations: 0.9859 MB / 380.1 MB, free: 160 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001063/0.006109, allocations: 0 / 380.1 MB, free: 160 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003638/0.006473, allocations: 55.69 kB / 380.1 MB, free: 104 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004459/0.006919, allocations: 95.48 kB / 380.2 MB, free: 8 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003182/0.007237, allocations: 83.59 kB / 380.3 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002476/0.007485, allocations: 111.7 kB / 380.4 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.031e-05/0.007575, allocations: 4 kB / 380.4 MB, free: 15.81 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001428/0.007718, allocations: 59.77 kB / 380.5 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003727/0.008091, allocations: 27.91 kB / 380.5 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.426e-05/0.008115, allocations: 4 kB / 380.5 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001219/0.008237, allocations: 43.92 kB / 380.5 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.74e-05/0.008314, allocations: 31.86 kB / 380.6 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.969e-05/0.008384, allocations: 27.84 kB / 380.6 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002741/0.008658, allocations: 123.6 kB / 380.7 MB, free: 15.5 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.008664, allocations: 4 kB / 380.7 MB, free: 15.5 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.133e-06/0.008665, allocations: 4 kB / 380.7 MB, free: 15.49 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.00867, allocations: 0 / 380.7 MB, free: 15.49 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.000704/0.009374, allocations: 373.2 kB / 381.1 MB, free: 15.1 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.009418, allocations: 8.031 kB / 381.1 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.5e-05/0.009503, allocations: 20.84 kB / 381.1 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003826/0.009886, allocations: 162.5 kB / 381.3 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.96e-05/0.009905, allocations: 4.375 kB / 381.3 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.967e-05/0.009935, allocations: 4.375 kB / 381.3 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001856/0.01012, allocations: 50.23 kB / 381.3 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.886e-05/0.01014, allocations: 7.938 kB / 381.3 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.809e-05/0.01016, allocations: 11.98 kB / 381.4 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.01016, allocations: 0 / 381.4 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.499e-05/0.01026, allocations: 23.92 kB / 381.4 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005072/0.01076, allocations: 240.5 kB / 381.6 MB, free: 14.51 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002157/0.01098, allocations: 54.69 kB / 381.7 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.918e-05/0.01106, allocations: 24.78 kB / 381.7 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.994e-05/0.01108, allocations: 0 / 381.7 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002103/0.01129, allocations: 71.33 kB / 381.8 MB, free: 14.34 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.763e-06/0.01129, allocations: 4 kB / 381.8 MB, free: 14.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007211/0.01201, allocations: 205.4 kB / 382 MB, free: 14.13 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.632e-05/0.01207, allocations: 51.41 kB / 382 MB, free: 14.07 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003569/0.01243, allocations: 271 kB / 382.3 MB, free: 13.79 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.917e-05/0.01246, allocations: 29.7 kB / 382.3 MB, free: 13.75 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.915e-05/0.01255, allocations: 112.1 kB / 382.4 MB, free: 13.64 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.34e-05/0.0126, allocations: 27.78 kB / 382.4 MB, free: 13.61 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.498e-05/0.01265, allocations: 25.72 kB / 382.5 MB, free: 13.58 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001993/0.01285, allocations: 330.8 kB / 382.8 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.164e-05/0.01291, allocations: 16 kB / 382.8 MB, free: 13.23 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.232e-05/0.013, allocations: 41.7 kB / 382.9 MB, free: 13.19 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001454/0.01314, allocations: 73.64 kB / 382.9 MB, free: 13.11 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.01314, allocations: 0 / 382.9 MB, free: 13.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002534/0.0134, allocations: 113.5 kB / 383 MB, free: 12.99 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.01341, allocations: 4 kB / 383 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.01342, allocations: 0 / 383 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.97e-05/0.01344, allocations: 0 / 383 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.01354, allocations: 23.92 kB / 383.1 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.01354, allocations: 4.031 kB / 383.1 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.077e-05/0.01359, allocations: 0 / 383.1 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.291e-05/0.01361, allocations: 8 kB / 383.1 MB, free: 12.95 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.0001474/0.01375, allocations: 137.8 kB / 383.2 MB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.565e-05/0.01379, allocations: 15.91 kB / 383.2 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002943/0.01408, allocations: 123.1 kB / 383.3 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.84e-05/0.0141, allocations: 7.984 kB / 383.4 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.01411, allocations: 0 / 383.4 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.01411, allocations: 0 / 383.4 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005688/0.01468, allocations: 370.9 kB / 383.7 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.01468, allocations: 0 / 383.7 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.873e-05/0.01473, allocations: 11.94 kB / 383.7 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.01473, allocations: 0 / 383.7 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.835e-05/0.01475, allocations: 7.984 kB / 383.7 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.01475, allocations: 0 / 383.7 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.01475, allocations: 0 / 383.7 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003494/0.0151, allocations: 224.2 kB / 384 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.85e-05/0.01513, allocations: 11.91 kB / 384 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.748e-05/0.01516, allocations: 4 kB / 384 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.67e-05/0.01525, allocations: 12.02 kB / 384 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.77e-05/0.01529, allocations: 7.984 kB / 384 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.015e-05/0.01531, allocations: 4 kB / 384 MB, free: 11.96 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002351/0.01555, allocations: 208.5 kB / 384.2 MB, free: 11.76 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01555, allocations: 0 / 384.2 MB, free: 11.76 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002916/0.01584, allocations: 31.92 kB / 384.2 MB, free: 11.73 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.002322/0.01816, allocations: 493.6 kB / 384.7 MB, free: 11.45 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002362/0.0184, allocations: 67.89 kB / 384.8 MB, free: 11.39 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.0184, allocations: 0 / 384.8 MB, free: 11.39 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.755e-05/0.01849, allocations: 28.08 kB / 384.8 MB, free: 11.36 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003915/0.01888, allocations: 36.06 kB / 384.8 MB, free: 11.32 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006449/0.01953, allocations: 306 kB / 385.1 MB, free: 10.99 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001382/0.01966, allocations: 113 kB / 385.2 MB, free: 10.86 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.623e-05/0.01972, allocations: 12.97 kB / 385.3 MB, free: 10.85 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.09e-05/0.01977, allocations: 20.5 kB / 385.3 MB, free: 10.83 MB / 362.7 MB Notification: Performance of SimCode: time 7.62e-07/0.01977, allocations: 0 / 385.3 MB, free: 10.83 MB / 362.7 MB Notification: Performance of Templates: time 0.00599/0.02576, allocations: 1.887 MB / 387.2 MB, free: 8.977 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49.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.782908297958784]