Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.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.001856/0.001856, allocations: 88.23 kB / 20.2 MB, free: 4.223 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.002327/0.002327, allocations: 165.7 kB / 23.52 MB, free: 0.9141 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 1.448/1.448, allocations: 158.6 MB / 185.3 MB, free: 2.918 MB / 170.7 MB " [Timeout remaining time 178] 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.2398/0.2398, allocations: 32.37 MB / 270 MB, free: 14.8 MB / 266.7 MB " [Timeout remaining time 179] 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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2") translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.156e-06/3.156e-06, allocations: 0 / 347 MB, free: 9.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.686e-05/5.001e-05, allocations: 2.312 kB / 347 MB, free: 9.727 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.003069/0.003119, allocations: 1.693 MB / 348.7 MB, free: 8.023 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001319/0.004438, allocations: 0.7648 MB / 349.5 MB, free: 7.25 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.608e-05/0.004514, allocations: 0 / 349.5 MB, free: 7.25 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003392/0.004853, allocations: 43.7 kB / 349.5 MB, free: 7.207 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002204/0.005074, allocations: 59.69 kB / 349.6 MB, free: 7.148 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000241/0.005315, allocations: 83.7 kB / 349.7 MB, free: 7.066 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001502/0.005465, allocations: 103.7 kB / 349.8 MB, free: 6.965 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.997e-05/0.005555, allocations: 8.234 kB / 349.8 MB, free: 6.957 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.724e-05/0.005642, allocations: 47.78 kB / 349.8 MB, free: 6.91 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.187e-05/0.005714, allocations: 31.89 kB / 349.8 MB, free: 6.879 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.202e-05/0.005736, allocations: 4 kB / 349.8 MB, free: 6.875 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.263e-05/0.005819, allocations: 43.92 kB / 349.9 MB, free: 6.832 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.994e-05/0.005869, allocations: 11.94 kB / 349.9 MB, free: 6.82 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.038e-05/0.005919, allocations: 23.91 kB / 349.9 MB, free: 6.797 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002023/0.006121, allocations: 111.6 kB / 350 MB, free: 6.688 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.006125, allocations: 0 / 350 MB, free: 6.688 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.006126, allocations: 4 kB / 350 MB, free: 6.684 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.117e-06/0.00613, allocations: 0 / 350 MB, free: 6.684 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.0004913/0.006621, allocations: 321.8 kB / 350.3 MB, free: 6.34 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.00666, allocations: 11.97 kB / 350.4 MB, free: 6.328 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.764e-05/0.006718, allocations: 16.88 kB / 350.4 MB, free: 6.312 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000211/0.006929, allocations: 142.2 kB / 350.5 MB, free: 6.148 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/0.006944, allocations: 4.359 kB / 350.5 MB, free: 6.145 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.497e-05/0.006969, allocations: 4.375 kB / 350.5 MB, free: 6.141 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001513/0.00712, allocations: 61.55 kB / 350.6 MB, free: 6.074 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.007133, allocations: 4 kB / 350.6 MB, free: 6.07 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.007144, allocations: 0 / 350.6 MB, free: 6.07 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.007148, allocations: 0 / 350.6 MB, free: 6.07 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.276e-05/0.007221, allocations: 23.98 kB / 350.6 MB, free: 6.047 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002794/0.0075, allocations: 228.5 kB / 350.8 MB, free: 5.793 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001656/0.007666, allocations: 58.62 kB / 350.9 MB, free: 5.727 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.732e-05/0.007723, allocations: 20.84 kB / 350.9 MB, free: 5.703 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.029e-05/0.007744, allocations: 4 kB / 350.9 MB, free: 5.699 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000144/0.007887, allocations: 63.39 kB / 351 MB, free: 5.625 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.007889, allocations: 4 kB / 351 MB, free: 5.621 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005782/0.008467, allocations: 185.3 kB / 351.2 MB, free: 5.434 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.458e-05/0.008501, allocations: 55.41 kB / 351.2 MB, free: 5.367 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001198/0.008621, allocations: 166.3 kB / 351.4 MB, free: 5.191 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.32e-05/0.008634, allocations: 29.7 kB / 351.4 MB, free: 5.156 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.193e-05/0.008676, allocations: 92.14 kB / 351.5 MB, free: 5.062 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.934e-05/0.008706, allocations: 23.84 kB / 351.5 MB, free: 5.039 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.706e-05/0.008743, allocations: 25.72 kB / 351.5 MB, free: 5.008 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.66e-05/0.008799, allocations: 326.8 kB / 351.9 MB, free: 4.68 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.671e-05/0.008856, allocations: 23.98 kB / 351.9 MB, free: 4.656 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.757e-05/0.008914, allocations: 37.64 kB / 351.9 MB, free: 4.613 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001163/0.00903, allocations: 61.7 kB / 352 MB, free: 4.547 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.009031, allocations: 0 / 352 MB, free: 4.547 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001615/0.009192, allocations: 109.5 kB / 352.1 MB, free: 4.434 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.009204, allocations: 8 kB / 352.1 MB, free: 4.426 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.009208, allocations: 0 / 352.1 MB, free: 4.426 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.009227, allocations: 0 / 352.1 MB, free: 4.426 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.665e-05/0.009313, allocations: 12.38 kB / 352.1 MB, free: 4.414 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.009318, allocations: 8.031 kB / 352.1 MB, free: 4.406 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.741e-05/0.009366, allocations: 15.92 kB / 352.1 MB, free: 4.391 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.606e-06/0.009374, allocations: 7.938 kB / 352.1 MB, free: 4.383 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 6.838e-05/0.009443, allocations: 125.7 kB / 352.3 MB, free: 4.25 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.422e-05/0.009467, allocations: 11.91 kB / 352.3 MB, free: 4.238 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002157/0.009683, allocations: 126.5 kB / 352.4 MB, free: 4.109 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.009686, allocations: 7.984 kB / 352.4 MB, free: 4.102 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.009692, allocations: 0 / 352.4 MB, free: 4.102 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.009697, allocations: 3.984 kB / 352.4 MB, free: 4.098 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003427/0.01004, allocations: 335 kB / 352.7 MB, free: 3.73 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.01004, allocations: 4 kB / 352.7 MB, free: 3.727 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.517e-05/0.01008, allocations: 8 kB / 352.8 MB, free: 3.719 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.01008, allocations: 0 / 352.8 MB, free: 3.719 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.141e-05/0.01009, allocations: 8 kB / 352.8 MB, free: 3.711 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.01009, allocations: 7.922 kB / 352.8 MB, free: 3.703 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.01009, allocations: 0 / 352.8 MB, free: 3.703 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001958/0.01029, allocations: 208.3 kB / 353 MB, free: 3.48 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.574e-05/0.0103, allocations: 11.91 kB / 353 MB, free: 3.469 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.213e-05/0.01033, allocations: 0 / 353 MB, free: 3.469 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.446e-05/0.0104, allocations: 19.95 kB / 353 MB, free: 3.449 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.08e-05/0.01044, allocations: 4 kB / 353 MB, free: 3.445 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.606e-05/0.01046, allocations: 7.984 kB / 353 MB, free: 3.438 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.075e-05/0.01053, allocations: 127.2 kB / 353.1 MB, free: 3.312 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01053, allocations: 0 / 353.1 MB, free: 3.312 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002576/0.01079, allocations: 16 kB / 353.2 MB, free: 3.297 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.002183/0.01297, allocations: 0.4982 MB / 353.7 MB, free: 2.906 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000183/0.01315, allocations: 55.95 kB / 353.7 MB, free: 2.852 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.01315, allocations: 3.938 kB / 353.7 MB, free: 2.848 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.823e-05/0.01322, allocations: 31.98 kB / 353.7 MB, free: 2.816 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003609/0.01358, allocations: 33.45 kB / 353.8 MB, free: 2.785 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004437/0.01403, allocations: 216.6 kB / 354 MB, free: 2.547 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.211e-05/0.01409, allocations: 87.31 kB / 354.1 MB, free: 2.441 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.541e-05/0.01413, allocations: 16.8 kB / 354.1 MB, free: 2.426 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.955e-05/0.01417, allocations: 20.48 kB / 354.1 MB, free: 2.402 MB / 282.7 MB Notification: Performance of SimCode: time 6.91e-07/0.01417, allocations: 0 / 354.1 MB, free: 2.402 MB / 282.7 MB Notification: Performance of Templates: time 0.004945/0.01912, allocations: 1.824 MB / 355.9 MB, free: 0.5938 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.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: 4.975109324906953]