Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.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.004311/0.004311, allocations: 81.08 kB / 20.65 MB, free: 3.84 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.001372/0.001372, allocations: 177 kB / 24.06 MB, free: 452 kB / 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 1.038/1.038, allocations: 158.6 MB / 185.9 MB, free: 2.809 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.1395/0.1395, allocations: 32.38 MB / 270.7 MB, free: 14.53 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.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24") translateModel(ModelicaTest.Tables.CombiTimeTable.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 348.2 MB, free: 9.098 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.017e-05/3.219e-05, allocations: 2.312 kB / 348.2 MB, free: 9.094 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.00249/0.002522, allocations: 1.728 MB / 349.9 MB, free: 7.355 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000901/0.003423, allocations: 0.7881 MB / 350.7 MB, free: 6.559 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.298e-05/0.003496, allocations: 0 / 350.7 MB, free: 6.559 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002818/0.003778, allocations: 47.75 kB / 350.8 MB, free: 6.512 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002063/0.003984, allocations: 59.69 kB / 350.8 MB, free: 6.453 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002126/0.004197, allocations: 83.72 kB / 350.9 MB, free: 6.371 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001284/0.004325, allocations: 99.61 kB / 351 MB, free: 6.273 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.888e-05/0.004404, allocations: 8.234 kB / 351 MB, free: 6.266 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.343e-05/0.004477, allocations: 47.84 kB / 351.1 MB, free: 6.219 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.26e-05/0.00454, allocations: 27.89 kB / 351.1 MB, free: 6.191 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.58e-05/0.004556, allocations: 4 kB / 351.1 MB, free: 6.188 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.158e-05/0.004627, allocations: 43.94 kB / 351.1 MB, free: 6.145 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.489e-05/0.004672, allocations: 31.84 kB / 351.2 MB, free: 6.113 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.231e-05/0.004705, allocations: 19.92 kB / 351.2 MB, free: 6.094 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001568/0.004861, allocations: 91.66 kB / 351.3 MB, free: 6.004 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.004866, allocations: 0 / 351.3 MB, free: 6.004 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.004867, allocations: 0 / 351.3 MB, free: 6.004 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.317e-06/0.00487, allocations: 7.938 kB / 351.3 MB, free: 5.996 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003593/0.00523, allocations: 447.8 kB / 351.7 MB, free: 5.523 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.005268, allocations: 8.031 kB / 351.7 MB, free: 5.516 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.697e-05/0.005305, allocations: 16.84 kB / 351.7 MB, free: 5.5 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001304/0.005435, allocations: 157.8 kB / 351.9 MB, free: 5.32 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.572e-05/0.005451, allocations: 384 / 351.9 MB, free: 5.32 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.711e-05/0.005468, allocations: 4.375 kB / 351.9 MB, free: 5.316 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001059/0.005574, allocations: 58.94 kB / 352 MB, free: 5.25 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.005583, allocations: 3.938 kB / 352 MB, free: 5.246 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.276e-06/0.005592, allocations: 0 / 352 MB, free: 5.246 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.005596, allocations: 4 kB / 352 MB, free: 5.242 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.365e-05/0.005619, allocations: 11.92 kB / 352 MB, free: 5.23 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000216/0.005835, allocations: 264.4 kB / 352.2 MB, free: 4.945 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.792e-05/0.005923, allocations: 55.17 kB / 352.3 MB, free: 4.879 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.232e-05/0.005946, allocations: 19.66 kB / 352.3 MB, free: 4.855 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.63e-05/0.005962, allocations: 7.938 kB / 352.3 MB, free: 4.848 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.562e-05/0.006048, allocations: 68.98 kB / 352.4 MB, free: 4.766 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.563e-06/0.006049, allocations: 0 / 352.4 MB, free: 4.766 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003304/0.00638, allocations: 129.5 kB / 352.5 MB, free: 4.633 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.242e-05/0.006402, allocations: 51.41 kB / 352.6 MB, free: 4.57 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.461e-05/0.006487, allocations: 231.9 kB / 352.8 MB, free: 4.328 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.468e-06/0.006496, allocations: 29.7 kB / 352.8 MB, free: 4.293 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.51e-05/0.006531, allocations: 158.8 kB / 353 MB, free: 4.133 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.228e-05/0.006553, allocations: 23.8 kB / 353 MB, free: 4.109 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.007e-05/0.006584, allocations: 35.34 kB / 353 MB, free: 4.066 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.874e-05/0.006632, allocations: 0.4962 MB / 353.5 MB, free: 3.559 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.582e-05/0.006648, allocations: 8 kB / 353.5 MB, free: 3.551 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.162e-05/0.00667, allocations: 27.36 kB / 353.6 MB, free: 3.516 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.828e-05/0.006708, allocations: 51.28 kB / 353.6 MB, free: 3.457 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.006709, allocations: 0 / 353.6 MB, free: 3.457 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.315e-05/0.006792, allocations: 89.55 kB / 353.7 MB, free: 3.363 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.006807, allocations: 8.031 kB / 353.7 MB, free: 3.355 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.006812, allocations: 80 / 353.7 MB, free: 3.355 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.327e-06/0.006822, allocations: 4 kB / 353.7 MB, free: 3.352 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.049e-05/0.006882, allocations: 15.98 kB / 353.7 MB, free: 3.336 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.266e-06/0.006885, allocations: 3.984 kB / 353.7 MB, free: 3.332 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.819e-05/0.006914, allocations: 8 kB / 353.7 MB, free: 3.324 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.017e-06/0.006918, allocations: 0 / 353.7 MB, free: 3.324 MB / 282.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 4.828e-05/0.006966, allocations: 160.5 kB / 353.9 MB, free: 3.156 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.538e-05/0.006981, allocations: 23.83 kB / 353.9 MB, free: 3.133 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001172/0.007099, allocations: 95.12 kB / 354 MB, free: 3.031 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.007101, allocations: 4 kB / 354 MB, free: 3.027 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.007102, allocations: 0 / 354 MB, free: 3.027 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.007106, allocations: 4 kB / 354 MB, free: 3.023 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001967/0.007302, allocations: 365.5 kB / 354.4 MB, free: 2.629 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.007305, allocations: 0 / 354.4 MB, free: 2.629 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.497e-05/0.00733, allocations: 11.94 kB / 354.4 MB, free: 2.617 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.007333, allocations: 4 kB / 354.4 MB, free: 2.613 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.801e-06/0.007339, allocations: 384 / 354.4 MB, free: 2.613 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.007341, allocations: 0 / 354.4 MB, free: 2.613 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.007343, allocations: 8 kB / 354.4 MB, free: 2.605 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.136e-05/0.007434, allocations: 259.5 kB / 354.7 MB, free: 2.328 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.09e-05/0.007445, allocations: 11.91 kB / 354.7 MB, free: 2.316 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.409e-05/0.007459, allocations: 3.984 kB / 354.7 MB, free: 2.312 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.083e-05/0.0075, allocations: 4 kB / 354.7 MB, free: 2.309 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.471e-05/0.007525, allocations: 11.98 kB / 354.7 MB, free: 2.297 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.007e-05/0.007535, allocations: 0 / 354.7 MB, free: 2.297 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.915e-05/0.007574, allocations: 159.8 kB / 354.8 MB, free: 2.141 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007574, allocations: 0 / 354.8 MB, free: 2.141 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001646/0.007739, allocations: 23.94 kB / 354.9 MB, free: 2.117 MB / 282.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.0008835/0.008622, allocations: 447.7 kB / 355.3 MB, free: 1.777 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001238/0.008746, allocations: 51.55 kB / 355.4 MB, free: 1.723 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.008748, allocations: 0 / 355.4 MB, free: 1.723 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.82e-05/0.008787, allocations: 31.77 kB / 355.4 MB, free: 1.688 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002988/0.009085, allocations: 35.95 kB / 355.4 MB, free: 1.652 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003301/0.009416, allocations: 217.1 kB / 355.6 MB, free: 1.41 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.559e-05/0.009451, allocations: 75.33 kB / 355.7 MB, free: 1.316 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.108e-05/0.009492, allocations: 12.62 kB / 355.7 MB, free: 1.305 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.178e-05/0.009554, allocations: 90.12 kB / 355.8 MB, free: 1.215 MB / 282.7 MB Notification: Performance of SimCode: time 9.82e-07/0.009555, allocations: 0 / 355.8 MB, free: 1.215 MB / 282.7 MB Notification: Performance of Templates: time 0.004361/0.01392, allocations: 2.018 MB / 357.8 MB, free: 15.21 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test24/Test24.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.2061478481628]