Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.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.001708/0.001708, allocations: 74.66 kB / 19.93 MB, free: 1.781 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.001933/0.001933, allocations: 165.8 kB / 23.21 MB, free: 4.906 MB / 14.72 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 1.599/1.599, allocations: 158.6 MB / 185 MB, free: 6.414 MB / 174.1 MB " [Timeout remaining time 178] 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.2174/0.2174, allocations: 32.37 MB / 269.6 MB, free: 4.68 MB / 254.1 MB " [Timeout remaining time 179] 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.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46") translateModel(ModelicaTest.Tables.CombiTimeTable.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 407.4 MB, free: 2.945 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.447e-05/3.611e-05, allocations: 2.281 kB / 407.4 MB, free: 2.941 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.004202/0.004238, allocations: 1.674 MB / 409.1 MB, free: 1.258 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002006/0.006243, allocations: 0.7879 MB / 409.9 MB, free: 472 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001535/0.006397, allocations: 0 / 409.9 MB, free: 472 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004783/0.006875, allocations: 47.81 kB / 409.9 MB, free: 424 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003905/0.007266, allocations: 63.62 kB / 410 MB, free: 360 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003946/0.00766, allocations: 99.06 kB / 410.1 MB, free: 264 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002742/0.007934, allocations: 91.7 kB / 410.2 MB, free: 172 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001396/0.008074, allocations: 16.14 kB / 410.2 MB, free: 156 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001632/0.008237, allocations: 47.84 kB / 410.3 MB, free: 108 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001266/0.008364, allocations: 19.92 kB / 410.3 MB, free: 88 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.18e-05/0.008396, allocations: 4 kB / 410.3 MB, free: 84 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000156/0.008552, allocations: 47.91 kB / 410.3 MB, free: 36 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.881e-05/0.008641, allocations: 31.86 kB / 410.4 MB, free: 4 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.308e-05/0.008724, allocations: 19.92 kB / 410.4 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003228/0.009046, allocations: 131.5 kB / 410.5 MB, free: 15.86 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.009051, allocations: 7.938 kB / 410.5 MB, free: 15.85 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.009052, allocations: 0 / 410.5 MB, free: 15.85 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.743e-06/0.009059, allocations: 0 / 410.5 MB, free: 15.85 MB / 350.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.0007392/0.009798, allocations: 369.3 kB / 410.9 MB, free: 15.46 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.009841, allocations: 8.031 kB / 410.9 MB, free: 15.45 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.531e-05/0.009916, allocations: 16.84 kB / 410.9 MB, free: 15.43 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004159/0.01033, allocations: 157.3 kB / 411.1 MB, free: 15.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.184e-05/0.01035, allocations: 4.375 kB / 411.1 MB, free: 15.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.53e-05/0.01038, allocations: 384 / 411.1 MB, free: 15.25 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002084/0.01059, allocations: 54.23 kB / 411.1 MB, free: 15.19 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.985e-05/0.01061, allocations: 11.94 kB / 411.1 MB, free: 15.18 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.587e-05/0.01062, allocations: 3.984 kB / 411.1 MB, free: 15.18 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-06/0.01063, allocations: 0 / 411.1 MB, free: 15.18 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.553e-05/0.01073, allocations: 27.92 kB / 411.2 MB, free: 15.15 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005097/0.01123, allocations: 236.6 kB / 411.4 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002125/0.01145, allocations: 62.59 kB / 411.4 MB, free: 14.82 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.657e-05/0.01151, allocations: 28.78 kB / 411.5 MB, free: 14.79 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.43e-05/0.01154, allocations: 4 kB / 411.5 MB, free: 14.78 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001826/0.01172, allocations: 71.33 kB / 411.5 MB, free: 14.7 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.713e-06/0.01172, allocations: 0 / 411.5 MB, free: 14.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006955/0.01242, allocations: 189.2 kB / 411.7 MB, free: 14.51 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.748e-05/0.01248, allocations: 51.41 kB / 411.8 MB, free: 14.45 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000312/0.01279, allocations: 263.7 kB / 412 MB, free: 14.18 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.22e-05/0.01281, allocations: 25.7 kB / 412.1 MB, free: 14.14 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.541e-05/0.01291, allocations: 112.1 kB / 412.2 MB, free: 14.03 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.973e-05/0.01294, allocations: 27.83 kB / 412.2 MB, free: 14 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.65e-05/0.01299, allocations: 21.72 kB / 412.2 MB, free: 13.98 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001784/0.01317, allocations: 326.8 kB / 412.5 MB, free: 13.65 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.682e-05/0.01324, allocations: 27.98 kB / 412.6 MB, free: 13.62 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001051/0.01334, allocations: 37.7 kB / 412.6 MB, free: 13.58 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001462/0.01349, allocations: 65.58 kB / 412.7 MB, free: 13.51 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.01349, allocations: 0 / 412.7 MB, free: 13.51 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002447/0.01373, allocations: 109.6 kB / 412.8 MB, free: 13.39 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.41e-05/0.01376, allocations: 4 kB / 412.8 MB, free: 13.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.01376, allocations: 0 / 412.8 MB, free: 13.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.603e-05/0.01379, allocations: 4 kB / 412.8 MB, free: 13.39 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001143/0.01391, allocations: 20.16 kB / 412.8 MB, free: 13.37 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.869e-06/0.01392, allocations: 3.984 kB / 412.8 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.86e-05/0.01397, allocations: 11.94 kB / 412.8 MB, free: 13.35 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.01398, allocations: 0 / 412.8 MB, free: 13.35 MB / 350.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.0001431/0.01412, allocations: 141.7 kB / 413 MB, free: 13.2 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.811e-05/0.01415, allocations: 15.91 kB / 413 MB, free: 13.19 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002842/0.01444, allocations: 123.1 kB / 413.1 MB, free: 13.07 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.01444, allocations: 0 / 413.1 MB, free: 13.07 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.01444, allocations: 0 / 413.1 MB, free: 13.07 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.01445, allocations: 0 / 413.1 MB, free: 13.07 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005481/0.015, allocations: 366.9 kB / 413.5 MB, free: 12.67 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.217e-06/0.01501, allocations: 3.984 kB / 413.5 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.241e-05/0.01505, allocations: 8 kB / 413.5 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.01505, allocations: 4 kB / 413.5 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.878e-06/0.01506, allocations: 0 / 413.5 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.658e-06/0.01507, allocations: 8.25 kB / 413.5 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.01507, allocations: 4 kB / 413.5 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00033/0.0154, allocations: 220.2 kB / 413.7 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.969e-05/0.01543, allocations: 15.91 kB / 413.7 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.816e-05/0.01546, allocations: 8.031 kB / 413.7 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.539e-05/0.01554, allocations: 4 kB / 413.7 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.105e-05/0.01558, allocations: 7.984 kB / 413.7 MB, free: 12.37 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.585e-05/0.01559, allocations: 0 / 413.7 MB, free: 12.37 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002061/0.0158, allocations: 211.2 kB / 413.9 MB, free: 12.16 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.0158, allocations: 0 / 413.9 MB, free: 12.16 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002883/0.01609, allocations: 20 kB / 414 MB, free: 12.14 MB / 350.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.002093/0.01818, allocations: 494.9 kB / 414.4 MB, free: 11.74 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003092/0.01849, allocations: 59.91 kB / 414.5 MB, free: 11.68 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.01849, allocations: 0 / 414.5 MB, free: 11.68 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001408/0.01863, allocations: 31.92 kB / 414.5 MB, free: 11.65 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004227/0.01906, allocations: 39.94 kB / 414.6 MB, free: 11.61 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006751/0.01973, allocations: 287.2 kB / 414.8 MB, free: 11.3 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001911/0.01992, allocations: 109.8 kB / 415 MB, free: 11.16 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.333e-05/0.01999, allocations: 12.36 kB / 415 MB, free: 11.15 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.752e-05/0.02006, allocations: 20.48 kB / 415 MB, free: 11.13 MB / 350.1 MB Notification: Performance of SimCode: time 6.82e-07/0.02006, allocations: 0 / 415 MB, free: 11.13 MB / 350.1 MB Notification: Performance of Templates: time 0.006398/0.02646, allocations: 1.856 MB / 416.8 MB, free: 9.301 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test46/Test46.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.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: 5.189699176698923]