Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.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.001305/0.001305, allocations: 85.95 kB / 20.68 MB, free: 1.023 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.001363/0.001363, allocations: 163.2 kB / 23.95 MB, free: 4.156 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.38/1.38, allocations: 177.1 MB / 204.3 MB, free: 9.176 MB / 190.1 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.2138/0.2138, allocations: 32.81 MB / 293.5 MB, free: 28 kB / 270.1 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.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44") translateModel(ModelicaTest.Tables.CombiTimeTable.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 440.2 MB, free: 8.07 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.668e-05/2.826e-05, allocations: 9.516 kB / 440.2 MB, free: 8.062 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.002945/0.002973, allocations: 1.708 MB / 441.9 MB, free: 6.34 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001768/0.004741, allocations: 0.9742 MB / 442.9 MB, free: 5.359 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.354e-05/0.004805, allocations: 4 kB / 442.9 MB, free: 5.355 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000255/0.00506, allocations: 35.78 kB / 442.9 MB, free: 5.32 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002837/0.005344, allocations: 99.47 kB / 443 MB, free: 5.223 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002025/0.005546, allocations: 83.53 kB / 443.1 MB, free: 5.141 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001749/0.005721, allocations: 111.7 kB / 443.2 MB, free: 5.031 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.501e-05/0.005796, allocations: 8 kB / 443.2 MB, free: 5.023 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001137/0.00591, allocations: 55.78 kB / 443.3 MB, free: 4.969 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.17e-05/0.005982, allocations: 27.89 kB / 443.3 MB, free: 4.941 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.953e-05/0.006001, allocations: 4 kB / 443.3 MB, free: 4.938 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.156e-05/0.006093, allocations: 39.98 kB / 443.3 MB, free: 4.898 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.917e-05/0.006152, allocations: 27.86 kB / 443.4 MB, free: 4.871 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.386e-05/0.006196, allocations: 19.92 kB / 443.4 MB, free: 4.852 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002054/0.006401, allocations: 123.5 kB / 443.5 MB, free: 4.73 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.006403, allocations: 3.938 kB / 443.5 MB, free: 4.727 MB / 366.1 MB Notification: Performance of FrontEnd: time 7.42e-07/0.006404, allocations: 0 / 443.5 MB, free: 4.727 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.607e-06/0.006408, allocations: 0 / 443.5 MB, free: 4.727 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.0005195/0.006927, allocations: 353.5 kB / 443.8 MB, free: 4.352 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.301e-05/0.00696, allocations: 15.97 kB / 443.9 MB, free: 4.336 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.648e-05/0.007007, allocations: 12.89 kB / 443.9 MB, free: 4.324 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002171/0.007224, allocations: 157.5 kB / 444 MB, free: 4.145 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.007237, allocations: 384 / 444 MB, free: 4.145 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.179e-05/0.007259, allocations: 8.375 kB / 444 MB, free: 4.137 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000142/0.007401, allocations: 50.23 kB / 444.1 MB, free: 4.082 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.619e-05/0.007417, allocations: 7.938 kB / 444.1 MB, free: 4.074 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.627e-06/0.007426, allocations: 0 / 444.1 MB, free: 4.074 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.007431, allocations: 8 kB / 444.1 MB, free: 4.066 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.183e-05/0.007513, allocations: 23.91 kB / 444.1 MB, free: 4.043 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003537/0.007867, allocations: 232.6 kB / 444.3 MB, free: 3.785 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000184/0.008051, allocations: 46.69 kB / 444.4 MB, free: 3.73 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.151e-05/0.008112, allocations: 24.78 kB / 444.4 MB, free: 3.703 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.374e-05/0.008126, allocations: 4 kB / 444.4 MB, free: 3.699 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001486/0.008275, allocations: 67.33 kB / 444.5 MB, free: 3.621 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.473e-06/0.008276, allocations: 4 kB / 444.5 MB, free: 3.617 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005543/0.008831, allocations: 189.3 kB / 444.7 MB, free: 3.426 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.259e-05/0.008873, allocations: 51.41 kB / 444.7 MB, free: 3.363 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002154/0.009089, allocations: 211 kB / 444.9 MB, free: 3.148 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.009107, allocations: 25.7 kB / 445 MB, free: 3.117 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.045e-05/0.009187, allocations: 112.1 kB / 445.1 MB, free: 3.004 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.688e-05/0.009224, allocations: 31.77 kB / 445.1 MB, free: 2.973 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.085e-05/0.009265, allocations: 21.72 kB / 445.1 MB, free: 2.945 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.009424, allocations: 326.8 kB / 445.4 MB, free: 2.617 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.784e-05/0.009481, allocations: 15.98 kB / 445.5 MB, free: 2.602 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.177e-05/0.009553, allocations: 37.7 kB / 445.5 MB, free: 2.559 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001326/0.009686, allocations: 77.64 kB / 445.6 MB, free: 2.477 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.009687, allocations: 0 / 445.6 MB, free: 2.477 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002021/0.009889, allocations: 101.6 kB / 445.7 MB, free: 2.371 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.009901, allocations: 4 kB / 445.7 MB, free: 2.367 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.009907, allocations: 3.984 kB / 445.7 MB, free: 2.363 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.009923, allocations: 7.984 kB / 445.7 MB, free: 2.355 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.348e-05/0.01001, allocations: 16.12 kB / 445.7 MB, free: 2.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.657e-06/0.01001, allocations: 0 / 445.7 MB, free: 2.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.5e-05/0.01006, allocations: 8.344 kB / 445.7 MB, free: 2.332 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.01006, allocations: 11.92 kB / 445.7 MB, free: 2.32 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.0001064/0.01017, allocations: 130.4 kB / 445.8 MB, free: 2.184 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.462e-05/0.0102, allocations: 11.95 kB / 445.9 MB, free: 2.172 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002635/0.01046, allocations: 123.1 kB / 446 MB, free: 2.047 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.01046, allocations: 3.984 kB / 446 MB, free: 2.043 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.01047, allocations: 0 / 446 MB, free: 2.043 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.01047, allocations: 0 / 446 MB, free: 2.043 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000462/0.01093, allocations: 358.9 kB / 446.3 MB, free: 1.652 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.129e-06/0.01094, allocations: 8.016 kB / 446.3 MB, free: 1.645 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.905e-05/0.01097, allocations: 8 kB / 446.3 MB, free: 1.637 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.197e-06/0.01098, allocations: 4 kB / 446.3 MB, free: 1.633 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-06/0.01099, allocations: 0 / 446.3 MB, free: 1.633 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.01099, allocations: 0 / 446.3 MB, free: 1.633 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.01099, allocations: 7.938 kB / 446.4 MB, free: 1.625 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002656/0.01126, allocations: 212.2 kB / 446.6 MB, free: 1.398 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.697e-05/0.01127, allocations: 11.89 kB / 446.6 MB, free: 1.387 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.343e-05/0.0113, allocations: 8 kB / 446.6 MB, free: 1.379 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.696e-05/0.01137, allocations: 0 / 446.6 MB, free: 1.379 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.145e-05/0.01141, allocations: 7.984 kB / 446.6 MB, free: 1.371 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.42e-05/0.01142, allocations: 8 kB / 446.6 MB, free: 1.363 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00015/0.01157, allocations: 163.2 kB / 446.8 MB, free: 1.203 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.01157, allocations: 0 / 446.8 MB, free: 1.203 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002599/0.01183, allocations: 31.92 kB / 446.8 MB, free: 1.172 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.001758/0.01359, allocations: 495.5 kB / 447.3 MB, free: 0.8984 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001831/0.01377, allocations: 67.89 kB / 447.3 MB, free: 0.832 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.01377, allocations: 0 / 447.3 MB, free: 0.832 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.929e-05/0.01385, allocations: 31.92 kB / 447.4 MB, free: 0.8008 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003362/0.01419, allocations: 27.97 kB / 447.4 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004787/0.01467, allocations: 246.1 kB / 447.6 MB, free: 0.5 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.483e-05/0.01476, allocations: 96.92 kB / 447.7 MB, free: 392 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.546e-05/0.01481, allocations: 16.98 kB / 447.7 MB, free: 372 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.904e-05/0.01485, allocations: 20.48 kB / 447.8 MB, free: 352 kB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.01485, allocations: 0 / 447.8 MB, free: 352 kB / 366.1 MB Notification: Performance of Templates: time 0.1624/0.1772, allocations: 1.846 MB / 449.6 MB, free: 21.16 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test44/Test44.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.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.465786624699831]