Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002447/0.002447, allocations: 86.09 kB / 20.68 MB, free: 1.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002373/0.002373, allocations: 157.1 kB / 23.95 MB, free: 4.168 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.479/1.479, allocations: 177 MB / 204.1 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2241/0.2241, allocations: 34.25 MB / 294.8 MB, free: 14.55 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 3.938 kB / 442.8 MB, free: 5.207 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.399e-05/2.6e-05, allocations: 6.281 kB / 442.8 MB, free: 5.199 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.003087/0.003113, allocations: 1.735 MB / 444.5 MB, free: 3.449 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001952/0.005065, allocations: 0.9853 MB / 445.5 MB, free: 2.457 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.057e-05/0.005135, allocations: 3.938 kB / 445.5 MB, free: 2.453 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003315/0.005467, allocations: 107.5 kB / 445.6 MB, free: 2.348 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003433/0.00581, allocations: 131.5 kB / 445.7 MB, free: 2.219 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002098/0.00602, allocations: 83.59 kB / 445.8 MB, free: 2.137 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002213/0.006241, allocations: 139.6 kB / 445.9 MB, free: 2 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.954e-05/0.006331, allocations: 13.59 kB / 446 MB, free: 1.984 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001293/0.00646, allocations: 83.73 kB / 446 MB, free: 1.902 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001345/0.006594, allocations: 67.84 kB / 446.1 MB, free: 1.836 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.285e-05/0.006617, allocations: 4 kB / 446.1 MB, free: 1.832 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001191/0.006736, allocations: 59.92 kB / 446.2 MB, free: 1.773 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.956e-05/0.006806, allocations: 43.77 kB / 446.2 MB, free: 1.73 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.313e-05/0.006859, allocations: 19.94 kB / 446.2 MB, free: 1.711 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002614/0.00712, allocations: 171.4 kB / 446.4 MB, free: 1.543 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.007123, allocations: 0 / 446.4 MB, free: 1.543 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.22e-07/0.007124, allocations: 0 / 446.4 MB, free: 1.543 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.847e-06/0.007128, allocations: 0 / 446.4 MB, free: 1.543 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.000605/0.007733, allocations: 393.1 kB / 446.8 MB, free: 1.129 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.121e-05/0.007764, allocations: 8.031 kB / 446.8 MB, free: 1.121 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.393e-05/0.007818, allocations: 20.8 kB / 446.8 MB, free: 1.102 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002826/0.008101, allocations: 166.5 kB / 447 MB, free: 0.9102 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.716e-05/0.008118, allocations: 4.375 kB / 447 MB, free: 0.9062 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.995e-05/0.008148, allocations: 12.36 kB / 447 MB, free: 0.8945 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001793/0.008327, allocations: 74.22 kB / 447.1 MB, free: 0.8164 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.008339, allocations: 192 / 447.1 MB, free: 0.8164 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.008349, allocations: 384 / 447.1 MB, free: 0.8164 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.008354, allocations: 7.938 kB / 447.1 MB, free: 0.8086 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000123/0.008477, allocations: 43.89 kB / 447.1 MB, free: 0.7656 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004237/0.008901, allocations: 272.4 kB / 447.4 MB, free: 480 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000284/0.009185, allocations: 70.55 kB / 447.4 MB, free: 400 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.585e-05/0.009261, allocations: 28.84 kB / 447.5 MB, free: 368 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.993e-05/0.009281, allocations: 11.88 kB / 447.5 MB, free: 356 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001701/0.009451, allocations: 87.38 kB / 447.6 MB, free: 256 kB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.372e-06/0.009452, allocations: 0 / 447.6 MB, free: 256 kB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.1936/0.2031, allocations: 310.5 kB / 447.9 MB, free: 19.26 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.249e-05/0.2031, allocations: 56.66 kB / 447.9 MB, free: 19.2 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002841/0.2034, allocations: 263.6 kB / 448.2 MB, free: 19.09 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.776e-05/0.2034, allocations: 32.7 kB / 448.2 MB, free: 19.06 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.265e-05/0.2035, allocations: 115.1 kB / 448.3 MB, free: 18.98 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.517e-05/0.2035, allocations: 45.11 kB / 448.4 MB, free: 18.96 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.596e-05/0.2036, allocations: 31.59 kB / 448.4 MB, free: 18.95 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.587e-05/0.2036, allocations: 333.3 kB / 448.7 MB, free: 18.64 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.626e-05/0.2037, allocations: 40.5 kB / 448.8 MB, free: 18.64 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00011/0.2038, allocations: 63.03 kB / 448.8 MB, free: 18.62 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002006/0.204, allocations: 103.4 kB / 448.9 MB, free: 18.61 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.204, allocations: 3.344 kB / 448.9 MB, free: 18.61 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003278/0.2044, allocations: 171 kB / 449.1 MB, free: 18.56 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/0.2044, allocations: 5.375 kB / 449.1 MB, free: 18.56 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.2044, allocations: 8.406 kB / 449.1 MB, free: 18.56 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.515e-05/0.2044, allocations: 1 kB / 449.1 MB, free: 18.56 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001315/0.2046, allocations: 29.73 kB / 449.1 MB, free: 18.56 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.118e-06/0.2046, allocations: 5.359 kB / 449.2 MB, free: 18.56 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.19e-05/0.2046, allocations: 2.766 kB / 449.2 MB, free: 18.56 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.523e-05/0.2046, allocations: 4.938 kB / 449.2 MB, free: 18.56 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 (16): * Single equations (assignments): 16 * 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.0001171/0.2048, allocations: 140.2 kB / 449.3 MB, free: 18.43 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.465e-05/0.2048, allocations: 15.97 kB / 449.3 MB, free: 18.43 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004349/0.2052, allocations: 208.2 kB / 449.5 MB, free: 18.34 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.2052, allocations: 1.25 kB / 449.5 MB, free: 18.34 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.2052, allocations: 1.812 kB / 449.5 MB, free: 18.34 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.2052, allocations: 0.6562 kB / 449.5 MB, free: 18.34 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000602/0.2058, allocations: 462.5 kB / 450 MB, free: 18.01 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.225e-06/0.2059, allocations: 1 kB / 450 MB, free: 18.01 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.894e-05/0.2059, allocations: 22.7 kB / 450 MB, free: 18.01 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.2059, allocations: 1.688 kB / 450 MB, free: 18.01 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.41e-05/0.2059, allocations: 6.594 kB / 450 MB, free: 18.01 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.2059, allocations: 1.438 kB / 450 MB, free: 18.01 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.103e-06/0.206, allocations: 5.844 kB / 450 MB, free: 18.01 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003219/0.2063, allocations: 285 kB / 450.3 MB, free: 17.81 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.553e-05/0.2063, allocations: 13.97 kB / 450.3 MB, free: 17.8 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.399e-05/0.2063, allocations: 8.391 kB / 450.3 MB, free: 17.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.799e-05/0.2064, allocations: 4.391 kB / 450.3 MB, free: 17.8 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.055e-05/0.2065, allocations: 14.92 kB / 450.3 MB, free: 17.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.461e-05/0.2065, allocations: 7.203 kB / 450.3 MB, free: 17.8 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001719/0.2067, allocations: 204.3 kB / 450.5 MB, free: 17.68 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2067, allocations: 6.844 kB / 450.5 MB, free: 17.68 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003165/0.207, allocations: 40.09 kB / 450.6 MB, free: 17.68 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (16): * Single equations (assignments): 14 * 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.002094/0.2091, allocations: 0.5307 MB / 451.1 MB, free: 17.49 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003056/0.2094, allocations: 107.6 kB / 451.2 MB, free: 17.46 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.2094, allocations: 2.281 kB / 451.2 MB, free: 17.46 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001183/0.2095, allocations: 53.92 kB / 451.3 MB, free: 17.44 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003978/0.2099, allocations: 27.44 kB / 451.3 MB, free: 17.43 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006517/0.2106, allocations: 358 kB / 451.6 MB, free: 17.2 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001128/0.2107, allocations: 120.8 kB / 451.8 MB, free: 17.12 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.229e-05/0.2107, allocations: 24.45 kB / 451.8 MB, free: 17.11 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.738e-05/0.2108, allocations: 22.73 kB / 451.8 MB, free: 17.11 MB / 366.1 MB Notification: Performance of SimCode: time 6.41e-07/0.2108, allocations: 0 / 451.8 MB, free: 17.11 MB / 366.1 MB Notification: Performance of Templates: time 0.006462/0.2173, allocations: 2.331 MB / 454.1 MB, free: 16.81 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.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.066765770316124]