Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.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.000972/0.000972, 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.0009319/0.0009319, allocations: 173.4 kB / 24.05 MB, free: 456 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 0.9937/0.9937, 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.1588/0.1588, allocations: 32.38 MB / 270.7 MB, free: 14.54 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.Test18,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.Test18") translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,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.Test18") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 0 / 348.2 MB, free: 9.105 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.525e-05/3.742e-05, allocations: 10.19 kB / 348.2 MB, free: 9.094 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.005029/0.005067, allocations: 1.721 MB / 349.9 MB, free: 7.363 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001523/0.00659, allocations: 0.7881 MB / 350.7 MB, free: 6.566 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001782/0.006768, allocations: 4 kB / 350.7 MB, free: 6.562 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003912/0.007159, allocations: 39.77 kB / 350.8 MB, free: 6.523 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002931/0.007452, allocations: 55.7 kB / 350.8 MB, free: 6.469 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003302/0.007783, allocations: 87.69 kB / 350.9 MB, free: 6.383 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001474/0.00793, allocations: 99.64 kB / 351 MB, free: 6.285 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.008033, allocations: 8.219 kB / 351 MB, free: 6.277 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.686e-05/0.00813, allocations: 51.83 kB / 351.1 MB, free: 6.227 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.879e-05/0.008209, allocations: 19.92 kB / 351.1 MB, free: 6.207 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.915e-05/0.008228, allocations: 4 kB / 351.1 MB, free: 6.203 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.671e-05/0.008305, allocations: 51.91 kB / 351.1 MB, free: 6.152 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.819e-05/0.008353, allocations: 23.86 kB / 351.2 MB, free: 6.129 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.973e-05/0.008392, allocations: 15.94 kB / 351.2 MB, free: 6.113 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001624/0.008555, allocations: 95.59 kB / 351.3 MB, free: 6.02 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.00856, allocations: 3.984 kB / 351.3 MB, free: 6.016 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.008562, allocations: 0 / 351.3 MB, free: 6.016 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.747e-06/0.008566, allocations: 0 / 351.3 MB, free: 6.016 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.0003958/0.008962, allocations: 436 kB / 351.7 MB, free: 5.555 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.009005, allocations: 12.03 kB / 351.7 MB, free: 5.543 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.715e-05/0.009043, allocations: 12.84 kB / 351.7 MB, free: 5.531 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001251/0.009168, allocations: 152.3 kB / 351.9 MB, free: 5.355 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.771e-05/0.009185, allocations: 4.375 kB / 351.9 MB, free: 5.352 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.796e-05/0.009203, allocations: 4.375 kB / 351.9 MB, free: 5.348 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001093/0.009313, allocations: 58.88 kB / 351.9 MB, free: 5.281 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.009322, allocations: 3.938 kB / 351.9 MB, free: 5.277 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.965e-06/0.00933, allocations: 7.984 kB / 351.9 MB, free: 5.27 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.009337, allocations: 4 kB / 351.9 MB, free: 5.266 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.291e-05/0.00936, allocations: 4 kB / 352 MB, free: 5.262 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002137/0.009574, allocations: 252.4 kB / 352.2 MB, free: 4.988 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.385e-05/0.009658, allocations: 59.09 kB / 352.3 MB, free: 4.918 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.013e-05/0.009678, allocations: 23.67 kB / 352.3 MB, free: 4.891 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.602e-05/0.009694, allocations: 3.938 kB / 352.3 MB, free: 4.887 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.384e-05/0.009778, allocations: 72.97 kB / 352.4 MB, free: 4.801 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.332e-06/0.009779, allocations: 0 / 352.4 MB, free: 4.801 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003025/0.01008, allocations: 129.5 kB / 352.5 MB, free: 4.668 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.063e-05/0.0101, allocations: 55.39 kB / 352.5 MB, free: 4.602 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.107e-05/0.01018, allocations: 214.9 kB / 352.7 MB, free: 4.375 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.007e-06/0.01019, allocations: 29.7 kB / 352.8 MB, free: 4.34 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.55e-05/0.01023, allocations: 150.8 kB / 352.9 MB, free: 4.188 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.538e-05/0.01025, allocations: 31.77 kB / 353 MB, free: 4.156 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.923e-05/0.01028, allocations: 27.38 kB / 353 MB, free: 4.121 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.924e-05/0.01034, allocations: 0.5001 MB / 353.5 MB, free: 3.609 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.406e-05/0.01036, allocations: 7.984 kB / 353.5 MB, free: 3.602 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.596e-05/0.01038, allocations: 35.3 kB / 353.5 MB, free: 3.559 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.877e-05/0.01042, allocations: 43.36 kB / 353.6 MB, free: 3.508 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.01042, allocations: 0 / 353.6 MB, free: 3.508 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.517e-05/0.01052, allocations: 85.59 kB / 353.6 MB, free: 3.418 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.01053, allocations: 4 kB / 353.6 MB, free: 3.414 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.01054, allocations: 4.109 kB / 353.7 MB, free: 3.41 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/0.01056, allocations: 7.984 kB / 353.7 MB, free: 3.402 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.934e-05/0.01063, allocations: 12 kB / 353.7 MB, free: 3.391 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.01063, allocations: 3.984 kB / 353.7 MB, free: 3.387 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.865e-05/0.01066, allocations: 4 kB / 353.7 MB, free: 3.383 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.511e-06/0.01067, allocations: 0 / 353.7 MB, free: 3.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.466e-05/0.01073, allocations: 168.5 kB / 353.8 MB, free: 3.207 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.545e-05/0.01075, allocations: 19.84 kB / 353.9 MB, free: 3.188 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001212/0.01087, allocations: 94.39 kB / 354 MB, free: 3.09 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.01087, allocations: 3.984 kB / 354 MB, free: 3.086 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.01087, allocations: 4 kB / 354 MB, free: 3.082 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.01088, allocations: 0 / 354 MB, free: 3.082 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002193/0.01109, allocations: 357.6 kB / 354.3 MB, free: 2.695 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.0111, allocations: 0 / 354.3 MB, free: 2.695 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.613e-05/0.01112, allocations: 12 kB / 354.3 MB, free: 2.684 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.01112, allocations: 0 / 354.3 MB, free: 2.684 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.01113, allocations: 8.359 kB / 354.3 MB, free: 2.676 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.01114, allocations: 4 kB / 354.3 MB, free: 2.672 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.584e-06/0.01114, allocations: 4 kB / 354.3 MB, free: 2.668 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001082/0.01125, allocations: 263.4 kB / 354.6 MB, free: 2.387 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.015e-05/0.01126, allocations: 7.953 kB / 354.6 MB, free: 2.379 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.474e-05/0.01127, allocations: 0 / 354.6 MB, free: 2.379 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.904e-05/0.01131, allocations: 8 kB / 354.6 MB, free: 2.371 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.625e-05/0.01134, allocations: 7.984 kB / 354.6 MB, free: 2.363 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.013e-05/0.01135, allocations: 0 / 354.6 MB, free: 2.363 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.587e-05/0.01138, allocations: 159.1 kB / 354.8 MB, free: 2.207 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01138, allocations: 0 / 354.8 MB, free: 2.207 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001585/0.01154, allocations: 27.92 kB / 354.8 MB, free: 2.18 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.0008154/0.01236, allocations: 440.2 kB / 355.2 MB, free: 1.84 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.718e-05/0.01245, allocations: 55.53 kB / 355.3 MB, free: 1.781 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.062e-06/0.01245, allocations: 0 / 355.3 MB, free: 1.781 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.057e-05/0.01248, allocations: 23.83 kB / 355.3 MB, free: 1.754 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000221/0.01271, allocations: 39.95 kB / 355.4 MB, free: 1.715 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003034/0.01301, allocations: 209.4 kB / 355.6 MB, free: 1.477 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.315e-05/0.01304, allocations: 71.34 kB / 355.6 MB, free: 1.387 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.4e-05/0.01308, allocations: 16.61 kB / 355.6 MB, free: 1.371 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.958e-05/0.01314, allocations: 86.19 kB / 355.7 MB, free: 1.285 MB / 282.7 MB Notification: Performance of SimCode: time 3.71e-07/0.01314, allocations: 0 / 355.7 MB, free: 1.285 MB / 282.7 MB Notification: Performance of Templates: time 0.003613/0.01675, allocations: 2.008 MB / 357.7 MB, free: 15.3 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.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.068621515762061]