Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.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.002332/0.002332, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002677/0.002677, allocations: 169.6 kB / 24.28 MB, free: 152 kB / 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.603/1.603, allocations: 177.1 MB / 204.6 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] 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.3549/0.3549, allocations: 32.8 MB / 293.9 MB, free: 1.199 MB / 266.7 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.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.023e-06/2.023e-06, allocations: 0 / 375.3 MB, free: 4.945 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.348e-05/4.551e-05, allocations: 5.266 kB / 375.3 MB, free: 4.941 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.003656/0.003701, allocations: 1.817 MB / 377.1 MB, free: 3.109 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003137/0.006838, allocations: 1.773 MB / 378.9 MB, free: 1.328 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.012e-05/0.006928, allocations: 4 kB / 378.9 MB, free: 1.324 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003445/0.007273, allocations: 51.62 kB / 379 MB, free: 1.273 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004662/0.007739, allocations: 147.2 kB / 379.1 MB, free: 1.129 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002494/0.007988, allocations: 115.6 kB / 379.2 MB, free: 1.016 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003098/0.008298, allocations: 215.2 kB / 379.4 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.79e-05/0.008346, allocations: 5.812 kB / 379.4 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002031/0.008549, allocations: 111.7 kB / 379.6 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002016/0.008751, allocations: 59.75 kB / 379.6 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.633e-05/0.008787, allocations: 12 kB / 379.6 MB, free: 0.6172 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002078/0.008995, allocations: 103.9 kB / 379.7 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.686e-05/0.009082, allocations: 39.84 kB / 379.8 MB, free: 488 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 7.232e-05/0.009154, allocations: 35.86 kB / 379.8 MB, free: 452 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004091/0.009563, allocations: 239.2 kB / 380 MB, free: 212 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.009567, allocations: 0 / 380 MB, free: 212 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.009568, allocations: 4 kB / 380 MB, free: 208 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.92e-06/0.009573, allocations: 3.938 kB / 380 MB, free: 204 kB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008192/0.01039, allocations: 0.5262 MB / 380.6 MB, free: 15.64 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.01043, allocations: 8.031 kB / 380.6 MB, free: 15.63 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.102e-05/0.01052, allocations: 20.84 kB / 380.6 MB, free: 15.61 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003464/0.01087, allocations: 184.3 kB / 380.8 MB, free: 15.4 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.254e-05/0.01089, allocations: 12.36 kB / 380.8 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.874e-05/0.01091, allocations: 4.375 kB / 380.8 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002957/0.01121, allocations: 164.3 kB / 381 MB, free: 15.19 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.521e-05/0.01122, allocations: 7.938 kB / 381 MB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.575e-05/0.01124, allocations: 3.984 kB / 381 MB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.01124, allocations: 4 kB / 381 MB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001127/0.01136, allocations: 27.91 kB / 381 MB, free: 15.15 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004354/0.01179, allocations: 184.3 kB / 381.2 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003067/0.0121, allocations: 114.2 kB / 381.3 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001035/0.0122, allocations: 39.36 kB / 381.3 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.995e-05/0.01222, allocations: 3.938 kB / 381.3 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002732/0.0125, allocations: 124.4 kB / 381.5 MB, free: 14.6 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.132e-06/0.0125, allocations: 3.938 kB / 381.5 MB, free: 14.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004805/0.01298, allocations: 161.4 kB / 381.6 MB, free: 14.43 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001058/0.01308, allocations: 136.5 kB / 381.7 MB, free: 14.27 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003876/0.01347, allocations: 314.7 kB / 382.1 MB, free: 13.94 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.716e-05/0.0135, allocations: 29.7 kB / 382.1 MB, free: 13.9 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001217/0.01362, allocations: 166.9 kB / 382.2 MB, free: 13.73 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.495e-05/0.01368, allocations: 31.84 kB / 382.3 MB, free: 13.7 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.671e-05/0.01374, allocations: 35.38 kB / 382.3 MB, free: 13.66 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002866/0.01403, allocations: 0.5117 MB / 382.8 MB, free: 13.14 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.945e-05/0.01411, allocations: 23.98 kB / 382.8 MB, free: 13.11 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001755/0.01428, allocations: 141.3 kB / 383 MB, free: 12.94 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001918/0.01447, allocations: 95.17 kB / 383.1 MB, free: 12.83 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.01448, allocations: 0 / 383.1 MB, free: 12.83 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002959/0.01477, allocations: 141.5 kB / 383.2 MB, free: 12.69 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.01479, allocations: 7.984 kB / 383.2 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.0148, allocations: 3.938 kB / 383.2 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.01481, allocations: 4 kB / 383.2 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001194/0.01493, allocations: 20.03 kB / 383.3 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.756e-06/0.01494, allocations: 7.984 kB / 383.3 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.48e-05/0.01502, allocations: 15.94 kB / 383.3 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.187e-05/0.01504, allocations: 4 kB / 383.3 MB, free: 12.62 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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.00016/0.0152, allocations: 168.6 kB / 383.4 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.623e-05/0.01526, allocations: 27.84 kB / 383.5 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003662/0.01563, allocations: 154.7 kB / 383.6 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.153e-06/0.01564, allocations: 4 kB / 383.6 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.01564, allocations: 0 / 383.6 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.01564, allocations: 0 / 383.6 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002278/0.01587, allocations: 188.5 kB / 383.8 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.01587, allocations: 0 / 383.8 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.862e-05/0.01592, allocations: 11.94 kB / 383.8 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.01592, allocations: 4 kB / 383.8 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.352e-05/0.01594, allocations: 3.984 kB / 383.8 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.261e-06/0.01594, allocations: 7.938 kB / 383.8 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.01594, allocations: 0 / 383.8 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003787/0.01632, allocations: 196.1 kB / 384 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.189e-05/0.01637, allocations: 19.91 kB / 384 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.732e-05/0.0164, allocations: 3.984 kB / 384.1 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.475e-05/0.01648, allocations: 11.94 kB / 384.1 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.167e-05/0.01653, allocations: 11.98 kB / 384.1 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-05/0.01655, allocations: 4 kB / 384.1 MB, free: 11.75 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002483/0.0168, allocations: 229.7 kB / 384.3 MB, free: 11.53 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.0168, allocations: 0 / 384.3 MB, free: 11.53 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003038/0.0171, allocations: 59.86 kB / 384.4 MB, free: 11.47 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.003437/0.02054, allocations: 0.5341 MB / 384.9 MB, free: 11.15 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002797/0.02082, allocations: 91.58 kB / 385 MB, free: 11.05 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.02082, allocations: 0 / 385 MB, free: 11.05 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000125/0.02094, allocations: 51.61 kB / 385 MB, free: 11 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004165/0.02136, allocations: 76.22 kB / 385.1 MB, free: 10.93 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006401/0.022, allocations: 298.3 kB / 385.4 MB, free: 10.61 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001297/0.02213, allocations: 115.5 kB / 385.5 MB, free: 10.47 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.702e-05/0.02223, allocations: 33.97 kB / 385.5 MB, free: 10.44 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.357e-05/0.02231, allocations: 40.41 kB / 385.6 MB, free: 10.4 MB / 362.7 MB Notification: Performance of SimCode: time 5.51e-07/0.02231, allocations: 0 / 385.6 MB, free: 10.4 MB / 362.7 MB Notification: Performance of Templates: time 0.008449/0.03076, allocations: 3.421 MB / 389 MB, free: 7.031 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.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.016511622001417]