Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42.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.001165/0.001165, allocations: 78.66 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.001147/0.001147, allocations: 165.8 kB / 24.82 MB, free: 9.266 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 1.1/1.1, allocations: 177.1 MB / 205.3 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] 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.3877/0.3877, allocations: 34.27 MB / 296.1 MB, free: 0.7305 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.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42") translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 378.6 MB, free: 2.305 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.613e-05/2.744e-05, allocations: 6.25 kB / 378.6 MB, free: 2.297 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.00289/0.002918, allocations: 1.758 MB / 380.3 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001348/0.004266, allocations: 1 MB / 381.3 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.943e-05/0.004365, allocations: 7.938 kB / 381.4 MB, free: 15.51 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003463/0.004711, allocations: 47.69 kB / 381.4 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000349/0.00506, allocations: 91.55 kB / 381.5 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002569/0.005317, allocations: 79.66 kB / 381.6 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001892/0.005506, allocations: 111.6 kB / 381.7 MB, free: 15.19 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.005621, allocations: 7.984 kB / 381.7 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001058/0.005727, allocations: 51.84 kB / 381.7 MB, free: 15.13 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.019e-05/0.005807, allocations: 35.89 kB / 381.8 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.564e-05/0.005822, allocations: 4 kB / 381.8 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.682e-05/0.005919, allocations: 47.86 kB / 381.8 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.939e-05/0.005969, allocations: 15.94 kB / 381.8 MB, free: 15.03 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.981e-05/0.006008, allocations: 27.91 kB / 381.9 MB, free: 15 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001704/0.006179, allocations: 99.59 kB / 382 MB, free: 14.9 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.006183, allocations: 0 / 382 MB, free: 14.9 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.62e-07/0.006184, allocations: 0 / 382 MB, free: 14.9 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.008e-06/0.006188, allocations: 0 / 382 MB, free: 14.9 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.0004713/0.006659, allocations: 455.8 kB / 382.4 MB, free: 14.42 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.0067, allocations: 8.031 kB / 382.4 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.984e-05/0.006739, allocations: 20.89 kB / 382.4 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001611/0.006901, allocations: 156.8 kB / 382.6 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/0.006917, allocations: 384 / 382.6 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.874e-05/0.006936, allocations: 8.359 kB / 382.6 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001161/0.007052, allocations: 58.94 kB / 382.7 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.007063, allocations: 3.938 kB / 382.7 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.085e-06/0.007071, allocations: 4 kB / 382.7 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.007077, allocations: 0 / 382.7 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.47e-05/0.007101, allocations: 7.984 kB / 382.7 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002802/0.007382, allocations: 268.3 kB / 382.9 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001049/0.007487, allocations: 51.16 kB / 383 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.227e-05/0.007509, allocations: 15.69 kB / 383 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.766e-05/0.007526, allocations: 4 kB / 383 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.827e-05/0.007625, allocations: 72.91 kB / 383.1 MB, free: 13.66 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.422e-06/0.007626, allocations: 0 / 383.1 MB, free: 13.66 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003279/0.007954, allocations: 137.4 kB / 383.2 MB, free: 13.52 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.764e-05/0.007982, allocations: 55.34 kB / 383.3 MB, free: 13.46 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001219/0.008104, allocations: 229.8 kB / 383.5 MB, free: 13.21 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.318e-05/0.008117, allocations: 33.7 kB / 383.5 MB, free: 13.18 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.326e-05/0.00818, allocations: 154.8 kB / 383.7 MB, free: 13.02 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.864e-05/0.008209, allocations: 23.8 kB / 383.7 MB, free: 13 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.648e-05/0.008245, allocations: 35.34 kB / 383.7 MB, free: 12.95 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.008372, allocations: 0.4923 MB / 384.2 MB, free: 12.45 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.126e-05/0.008394, allocations: 8 kB / 384.2 MB, free: 12.44 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.069e-05/0.008424, allocations: 39.34 kB / 384.3 MB, free: 12.39 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.394e-05/0.008478, allocations: 43.38 kB / 384.3 MB, free: 12.34 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.008479, allocations: 0 / 384.3 MB, free: 12.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001108/0.00859, allocations: 101.5 kB / 384.4 MB, free: 12.24 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.008603, allocations: 4 kB / 384.4 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.008608, allocations: 384 / 384.4 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.008621, allocations: 0 / 384.4 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.599e-05/0.008697, allocations: 27.91 kB / 384.4 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.008703, allocations: 4 kB / 384.4 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.484e-05/0.008738, allocations: 0 / 384.4 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.714e-06/0.008746, allocations: 4 kB / 384.4 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.0001053/0.008851, allocations: 160.6 kB / 384.6 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.116e-05/0.008872, allocations: 19.84 kB / 384.6 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001742/0.009047, allocations: 103.1 kB / 384.7 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.009052, allocations: 0 / 384.7 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.009055, allocations: 0 / 384.7 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.00906, allocations: 0 / 384.7 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003002/0.00936, allocations: 369.6 kB / 385.1 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.009362, allocations: 0 / 385.1 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.49e-05/0.009397, allocations: 8 kB / 385.1 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.009403, allocations: 4 kB / 385.1 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.582e-06/0.009409, allocations: 3.938 kB / 385.1 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.009412, allocations: 3.984 kB / 385.1 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/0.009416, allocations: 7.969 kB / 385.1 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001494/0.009565, allocations: 251.5 kB / 385.4 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.225e-05/0.009577, allocations: 11.89 kB / 385.4 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.647e-05/0.009594, allocations: 4 kB / 385.4 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.379e-05/0.009638, allocations: 4 kB / 385.4 MB, free: 11.19 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.876e-05/0.009666, allocations: 7.984 kB / 385.4 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.228e-05/0.009679, allocations: 0 / 385.4 MB, free: 11.18 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.703e-05/0.009756, allocations: 180.2 kB / 385.6 MB, free: 11.01 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009756, allocations: 0 / 385.6 MB, free: 11.01 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001757/0.009931, allocations: 23.94 kB / 385.6 MB, free: 10.98 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.0009481/0.01088, allocations: 438.3 kB / 386 MB, free: 10.71 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001459/0.01103, allocations: 51.58 kB / 386.1 MB, free: 10.66 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.01103, allocations: 0 / 386.1 MB, free: 10.66 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.234e-05/0.01107, allocations: 31.61 kB / 386.1 MB, free: 10.62 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002812/0.01135, allocations: 44.48 kB / 386.1 MB, free: 10.59 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004171/0.01177, allocations: 229.9 kB / 386.4 MB, free: 10.33 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.177e-05/0.01181, allocations: 67.47 kB / 386.4 MB, free: 10.25 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.979e-05/0.01185, allocations: 16.97 kB / 386.4 MB, free: 10.23 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.333e-05/0.01192, allocations: 90.19 kB / 386.5 MB, free: 10.14 MB / 362.7 MB Notification: Performance of SimCode: time 1.092e-06/0.01192, allocations: 0 / 386.5 MB, free: 10.14 MB / 362.7 MB Notification: Performance of Templates: time 0.004187/0.01611, allocations: 2.037 MB / 388.6 MB, free: 8.125 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test42/Test42.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: 3.4043967300094664]