Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.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.001334/0.001334, allocations: 99.31 kB / 20.43 MB, free: 4.137 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.00127/0.00127, allocations: 169 kB / 23.8 MB, free: 0.7695 MB / 18.57 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 0.9236/0.9236, allocations: 158.6 MB / 185.7 MB, free: 2.895 MB / 170.7 MB " [Timeout remaining time 179] 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.1916/0.1916, allocations: 32.38 MB / 270.4 MB, free: 14.7 MB / 266.7 MB " [Timeout remaining time 180] 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.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75") translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.052e-06/1.052e-06, allocations: 0 / 347.7 MB, free: 9.375 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.88e-05/1.985e-05, allocations: 8.219 kB / 347.8 MB, free: 9.367 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.001918/0.001938, allocations: 1.874 MB / 349.6 MB, free: 7.48 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008249/0.002763, allocations: 0.8894 MB / 350.5 MB, free: 6.582 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.354e-05/0.002826, allocations: 0 / 350.5 MB, free: 6.582 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003195/0.003146, allocations: 235.2 kB / 350.7 MB, free: 6.352 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002247/0.00337, allocations: 167.3 kB / 350.9 MB, free: 6.188 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002183/0.003589, allocations: 143.6 kB / 351 MB, free: 6.047 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001656/0.003754, allocations: 239.2 kB / 351.3 MB, free: 5.812 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.827e-05/0.003813, allocations: 5.812 kB / 351.3 MB, free: 5.809 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.218e-05/0.003905, allocations: 147.6 kB / 351.4 MB, free: 5.664 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001025/0.004007, allocations: 147.6 kB / 351.6 MB, free: 5.52 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.705e-05/0.004024, allocations: 8 kB / 351.6 MB, free: 5.512 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.557e-05/0.00409, allocations: 47.92 kB / 351.6 MB, free: 5.465 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.397e-05/0.004144, allocations: 59.77 kB / 351.7 MB, free: 5.406 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.06e-05/0.004184, allocations: 43.8 kB / 351.7 MB, free: 5.363 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001848/0.004369, allocations: 167.3 kB / 351.9 MB, free: 5.199 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.004372, allocations: 8 kB / 351.9 MB, free: 5.191 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.004373, allocations: 0 / 351.9 MB, free: 5.191 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.004378, allocations: 0 / 351.9 MB, free: 5.191 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005035/0.004881, allocations: 0.5731 MB / 352.5 MB, free: 4.582 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.287e-05/0.004914, allocations: 12.03 kB / 352.5 MB, free: 4.57 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.439e-05/0.004968, allocations: 32.75 kB / 352.5 MB, free: 4.539 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001846/0.005153, allocations: 216.6 kB / 352.7 MB, free: 4.301 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.703e-05/0.00517, allocations: 4.375 kB / 352.7 MB, free: 4.297 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.864e-05/0.005188, allocations: 4.375 kB / 352.7 MB, free: 4.293 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001429/0.005331, allocations: 106.3 kB / 352.8 MB, free: 4.172 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.005341, allocations: 3.938 kB / 352.8 MB, free: 4.168 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.949e-06/0.005351, allocations: 3.938 kB / 352.9 MB, free: 4.164 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.744e-06/0.005359, allocations: 7.984 kB / 352.9 MB, free: 4.156 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.978e-05/0.005409, allocations: 27.92 kB / 352.9 MB, free: 4.129 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003069/0.005716, allocations: 490.7 kB / 353.4 MB, free: 3.609 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001381/0.005854, allocations: 110.2 kB / 353.5 MB, free: 3.477 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.034e-05/0.005894, allocations: 35.36 kB / 353.5 MB, free: 3.434 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.023e-05/0.005904, allocations: 4 kB / 353.5 MB, free: 3.43 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001125/0.006017, allocations: 112.3 kB / 353.6 MB, free: 3.297 MB / 282.7 MB Notification: Performance of pre-optimization done (n=12): time 1.062e-06/0.006018, allocations: 0 / 353.6 MB, free: 3.297 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.0005094/0.006527, allocations: 345.2 kB / 354 MB, free: 2.953 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.852e-05/0.006546, allocations: 81.09 kB / 354 MB, free: 2.855 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002151/0.006761, allocations: 390.3 kB / 354.4 MB, free: 2.457 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.149e-05/0.006772, allocations: 29.7 kB / 354.4 MB, free: 2.422 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.415e-05/0.006837, allocations: 203.1 kB / 354.6 MB, free: 2.219 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.252e-05/0.006869, allocations: 47.64 kB / 354.7 MB, free: 2.172 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.109e-05/0.00691, allocations: 39.36 kB / 354.7 MB, free: 2.125 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.642e-05/0.006967, allocations: 0.5235 MB / 355.3 MB, free: 1.59 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.765e-05/0.007014, allocations: 24.05 kB / 355.3 MB, free: 1.566 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.699e-05/0.007071, allocations: 81.77 kB / 355.4 MB, free: 1.473 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.933e-05/0.007171, allocations: 102.8 kB / 355.5 MB, free: 1.355 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-06/0.007172, allocations: 0 / 355.5 MB, free: 1.355 MB / 282.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001793/0.007351, allocations: 157.4 kB / 355.6 MB, free: 1.195 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.042e-05/0.007362, allocations: 8 kB / 355.6 MB, free: 1.188 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.007366, allocations: 0 / 355.6 MB, free: 1.188 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.007379, allocations: 7.984 kB / 355.6 MB, free: 1.18 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.858e-05/0.007478, allocations: 27.98 kB / 355.7 MB, free: 1.152 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.007482, allocations: 4.062 kB / 355.7 MB, free: 1.148 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.2e-05/0.007534, allocations: 8 kB / 355.7 MB, free: 1.141 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.869e-06/0.007544, allocations: 8 kB / 355.7 MB, free: 1.133 MB / 282.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.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.15e-05/0.007606, allocations: 180.4 kB / 355.9 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.257e-05/0.007638, allocations: 31.81 kB / 355.9 MB, free: 0.9141 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000219/0.007857, allocations: 180.2 kB / 356.1 MB, free: 0.7305 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.00786, allocations: 4 kB / 356.1 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.007863, allocations: 0 / 356.1 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.007867, allocations: 3.984 kB / 356.1 MB, free: 0.7227 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004098/0.008277, allocations: 0.6678 MB / 356.7 MB, free: 4 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.008279, allocations: 0 / 356.7 MB, free: 4 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.321e-05/0.008353, allocations: 24.03 kB / 356.8 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.008355, allocations: 0 / 356.8 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.008368, allocations: 4 kB / 356.8 MB, free: 15.97 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.00837, allocations: 3.938 kB / 356.8 MB, free: 15.97 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/0.008374, allocations: 11.95 kB / 356.8 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003012/0.008676, allocations: 462.2 kB / 357.2 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.551e-05/0.008701, allocations: 27.8 kB / 357.3 MB, free: 15.45 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.539e-05/0.008726, allocations: 8.062 kB / 357.3 MB, free: 15.45 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000107/0.008833, allocations: 8 kB / 357.3 MB, free: 15.44 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.404e-05/0.008878, allocations: 23.91 kB / 357.3 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.129e-05/0.008899, allocations: 8 kB / 357.3 MB, free: 15.41 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001805/0.009079, allocations: 263 kB / 357.6 MB, free: 15.15 MB / 298.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.009079, allocations: 3.938 kB / 357.6 MB, free: 15.14 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003073/0.009387, allocations: 36 kB / 357.6 MB, free: 15.11 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,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 (18): * Single equations (assignments): 14 * 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.001157/0.01054, allocations: 444.4 kB / 358 MB, free: 14.77 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001803/0.01072, allocations: 99.56 kB / 358.1 MB, free: 14.67 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.01073, allocations: 3.938 kB / 358.1 MB, free: 14.66 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.816e-05/0.0108, allocations: 59.59 kB / 358.2 MB, free: 14.6 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004372/0.01124, allocations: 57.05 kB / 358.2 MB, free: 14.55 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005423/0.01178, allocations: 437.7 kB / 358.7 MB, free: 14.08 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.305e-05/0.01186, allocations: 99.89 kB / 358.8 MB, free: 13.96 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.537e-05/0.01192, allocations: 37.84 kB / 358.8 MB, free: 13.93 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.122e-05/0.01197, allocations: 28.48 kB / 358.8 MB, free: 13.89 MB / 298.7 MB Notification: Performance of SimCode: time 8.11e-07/0.01197, allocations: 0 / 358.8 MB, free: 13.89 MB / 298.7 MB Notification: Performance of Templates: time 0.00559/0.01756, allocations: 3.163 MB / 362 MB, free: 10.75 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.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.4236823269166052]