Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.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.0009055/0.0009055, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.0008811/0.0008811, allocations: 160.8 kB / 25.61 MB, free: 8.895 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 0.8939/0.8939, allocations: 177.1 MB / 206 MB, free: 4.52 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.1538/0.1538, allocations: 34.26 MB / 296.9 MB, free: 13.94 MB / 282.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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9") translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 379.4 MB, free: 23.32 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.48e-05/2.62e-05, allocations: 9.203 kB / 379.4 MB, free: 23.32 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.002965/0.002991, allocations: 1.746 MB / 381.1 MB, free: 21.55 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001445/0.004436, allocations: 0.9896 MB / 382.1 MB, free: 20.56 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.926e-05/0.004525, allocations: 0 / 382.1 MB, free: 20.56 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000338/0.004863, allocations: 91.62 kB / 382.2 MB, free: 20.47 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003238/0.005187, allocations: 119.4 kB / 382.3 MB, free: 20.35 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001974/0.005384, allocations: 71.67 kB / 382.4 MB, free: 20.28 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000186/0.00557, allocations: 123.6 kB / 382.5 MB, free: 20.16 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.083e-05/0.005661, allocations: 4 kB / 382.5 MB, free: 20.16 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000104/0.005765, allocations: 71.75 kB / 382.6 MB, free: 20.09 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001068/0.005872, allocations: 55.86 kB / 382.7 MB, free: 20.03 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.752e-05/0.005889, allocations: 4 kB / 382.7 MB, free: 20.03 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.17e-05/0.005981, allocations: 47.92 kB / 382.7 MB, free: 19.98 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.687e-05/0.006038, allocations: 31.86 kB / 382.7 MB, free: 19.95 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.07e-05/0.006079, allocations: 19.92 kB / 382.8 MB, free: 19.93 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001918/0.00627, allocations: 107.6 kB / 382.9 MB, free: 19.82 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.006273, allocations: 0 / 382.9 MB, free: 19.82 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.006274, allocations: 0 / 382.9 MB, free: 19.82 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.539e-06/0.006279, allocations: 0 / 382.9 MB, free: 19.82 MB / 314.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.0003916/0.006671, allocations: 463.7 kB / 383.3 MB, free: 19.34 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.006706, allocations: 12.03 kB / 383.3 MB, free: 19.32 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.031e-05/0.006746, allocations: 8.891 kB / 383.3 MB, free: 19.32 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001725/0.006919, allocations: 160.4 kB / 383.5 MB, free: 19.13 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.844e-05/0.006937, allocations: 4.375 kB / 383.5 MB, free: 19.13 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.797e-05/0.006955, allocations: 4.375 kB / 383.5 MB, free: 19.12 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001202/0.007075, allocations: 58.94 kB / 383.6 MB, free: 19.06 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.007087, allocations: 3.938 kB / 383.6 MB, free: 19.05 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.806e-06/0.007095, allocations: 0 / 383.6 MB, free: 19.05 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.461e-06/0.007101, allocations: 0 / 383.6 MB, free: 19.05 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.277e-05/0.007134, allocations: 11.98 kB / 383.6 MB, free: 19.04 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002577/0.007391, allocations: 268.3 kB / 383.8 MB, free: 18.75 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001124/0.007504, allocations: 51.16 kB / 383.9 MB, free: 18.69 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.713e-05/0.007531, allocations: 15.69 kB / 383.9 MB, free: 18.67 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.266e-05/0.007544, allocations: 4 kB / 383.9 MB, free: 18.67 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001108/0.007654, allocations: 68.92 kB / 384 MB, free: 18.59 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 2.245e-06/0.007657, allocations: 0 / 384 MB, free: 18.59 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003779/0.008034, allocations: 145.4 kB / 384.1 MB, free: 18.44 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.736e-05/0.008062, allocations: 55.39 kB / 384.2 MB, free: 18.37 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001498/0.008212, allocations: 235.5 kB / 384.4 MB, free: 18.12 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.523e-05/0.008227, allocations: 37.64 kB / 384.4 MB, free: 18.08 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.442e-05/0.008291, allocations: 154.8 kB / 384.6 MB, free: 17.92 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.34e-05/0.008325, allocations: 27.8 kB / 384.6 MB, free: 17.89 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.418e-05/0.008369, allocations: 31.36 kB / 384.6 MB, free: 17.86 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.444e-05/0.008443, allocations: 0.5001 MB / 385.1 MB, free: 17.34 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.407e-05/0.008467, allocations: 8 kB / 385.1 MB, free: 17.34 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.714e-05/0.008505, allocations: 35.34 kB / 385.2 MB, free: 17.29 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.94e-05/0.008564, allocations: 47.73 kB / 385.2 MB, free: 17.24 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.008565, allocations: 0 / 385.2 MB, free: 17.24 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001259/0.008691, allocations: 85.58 kB / 385.3 MB, free: 17.15 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.008704, allocations: 4 kB / 385.3 MB, free: 17.14 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.008711, allocations: 11.97 kB / 385.3 MB, free: 17.13 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.318e-06/0.00872, allocations: 0 / 385.3 MB, free: 17.13 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.7e-05/0.008797, allocations: 19.98 kB / 385.3 MB, free: 17.11 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.555e-06/0.008799, allocations: 0 / 385.3 MB, free: 17.11 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.067e-05/0.00884, allocations: 0 / 385.3 MB, free: 17.11 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.303e-06/0.008847, allocations: 4 kB / 385.4 MB, free: 17.11 MB / 314.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 6.549e-05/0.008913, allocations: 172.5 kB / 385.5 MB, free: 16.93 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.475e-05/0.008938, allocations: 19.84 kB / 385.5 MB, free: 16.91 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001613/0.009099, allocations: 103.1 kB / 385.6 MB, free: 16.8 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.009101, allocations: 0 / 385.6 MB, free: 16.8 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-06/0.009103, allocations: 4 kB / 385.6 MB, free: 16.8 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.009107, allocations: 0 / 385.6 MB, free: 16.8 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002958/0.009403, allocations: 369.5 kB / 386 MB, free: 16.4 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.009405, allocations: 0 / 386 MB, free: 16.4 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.823e-05/0.009443, allocations: 12 kB / 386 MB, free: 16.39 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.009445, allocations: 0 / 386 MB, free: 16.39 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.704e-06/0.009453, allocations: 7.922 kB / 386 MB, free: 16.38 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.736e-06/0.009456, allocations: 4 kB / 386 MB, free: 16.38 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.009457, allocations: 0 / 386 MB, free: 16.38 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000138/0.009595, allocations: 251.7 kB / 386.3 MB, free: 16.11 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.763e-05/0.009613, allocations: 11.98 kB / 386.3 MB, free: 16.09 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.258e-05/0.009636, allocations: 8 kB / 386.3 MB, free: 16.09 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.29e-05/0.009709, allocations: 0 / 386.3 MB, free: 16.09 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.949e-05/0.009738, allocations: 7.984 kB / 386.3 MB, free: 16.08 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.347e-05/0.009752, allocations: 4 kB / 386.3 MB, free: 16.07 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.787e-05/0.009819, allocations: 181.5 kB / 386.5 MB, free: 15.9 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.009819, allocations: 0 / 386.5 MB, free: 15.9 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003182/0.01014, allocations: 20 kB / 386.5 MB, free: 15.88 MB / 314.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.001335/0.01147, allocations: 440.2 kB / 386.9 MB, free: 15.61 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001129/0.01159, allocations: 55.53 kB / 387 MB, free: 15.55 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.01159, allocations: 0 / 387 MB, free: 15.55 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.137e-05/0.01163, allocations: 35.61 kB / 387 MB, free: 15.51 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003656/0.01199, allocations: 37.06 kB / 387.1 MB, free: 15.48 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000375/0.01237, allocations: 230.6 kB / 387.3 MB, free: 15.23 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.796e-05/0.01241, allocations: 71.19 kB / 387.4 MB, free: 15.14 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.848e-05/0.01246, allocations: 17.42 kB / 387.4 MB, free: 15.12 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.393e-05/0.01253, allocations: 86.19 kB / 387.5 MB, free: 15.03 MB / 314.7 MB Notification: Performance of SimCode: time 1.302e-06/0.01253, allocations: 0 / 387.5 MB, free: 15.03 MB / 314.7 MB Notification: Performance of Templates: time 0.00462/0.01715, allocations: 2.068 MB / 389.5 MB, free: 12.99 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.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: 2.9401410492137074]