Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.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.0009122/0.0009122, allocations: 80.8 kB / 21.5 MB, free: 2.996 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.001172/0.001172, allocations: 170.3 kB / 24.91 MB, free: 9.195 MB / 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 0.9732/0.9732, allocations: 177.1 MB / 205.3 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] 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.2353/0.2353, allocations: 32.8 MB / 294.6 MB, free: 1.254 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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 323.3 MB, free: 9.629 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.067e-05/2.22e-05, allocations: 3.016 kB / 323.3 MB, free: 9.625 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.002409/0.002431, allocations: 1.789 MB / 325.1 MB, free: 7.828 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001338/0.003769, allocations: 1.013 MB / 326.1 MB, free: 6.809 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.723e-05/0.003856, allocations: 7.938 kB / 326.1 MB, free: 6.801 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003204/0.004177, allocations: 103.6 kB / 326.2 MB, free: 6.699 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000327/0.004504, allocations: 139.4 kB / 326.4 MB, free: 6.562 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000188/0.004692, allocations: 83.55 kB / 326.5 MB, free: 6.48 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001667/0.004858, allocations: 139.6 kB / 326.6 MB, free: 6.344 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.996e-05/0.004948, allocations: 14.17 kB / 326.6 MB, free: 6.328 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.627e-05/0.005045, allocations: 79.8 kB / 326.7 MB, free: 6.25 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001016/0.005146, allocations: 63.8 kB / 326.7 MB, free: 6.188 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.708e-05/0.005163, allocations: 4 kB / 326.7 MB, free: 6.184 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.881e-05/0.005262, allocations: 67.91 kB / 326.8 MB, free: 6.117 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.725e-05/0.005319, allocations: 31.86 kB / 326.8 MB, free: 6.086 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.154e-05/0.005361, allocations: 31.92 kB / 326.9 MB, free: 6.055 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002063/0.005567, allocations: 143.4 kB / 327 MB, free: 5.914 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.00557, allocations: 0 / 327 MB, free: 5.914 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.005572, allocations: 0 / 327 MB, free: 5.914 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.538e-06/0.005576, allocations: 0 / 327 MB, free: 5.914 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004158/0.005992, allocations: 357.1 kB / 327.4 MB, free: 5.543 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.5e-05/0.006027, allocations: 11.97 kB / 327.4 MB, free: 5.531 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.476e-05/0.006062, allocations: 12.92 kB / 327.4 MB, free: 5.52 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003129/0.006375, allocations: 162.4 kB / 327.5 MB, free: 5.332 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.102e-05/0.006396, allocations: 4.375 kB / 327.5 MB, free: 5.328 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.272e-05/0.006418, allocations: 8.359 kB / 327.6 MB, free: 5.32 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000138/0.006556, allocations: 81.69 kB / 327.6 MB, free: 5.23 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.006569, allocations: 3.938 kB / 327.6 MB, free: 5.227 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.195e-06/0.006577, allocations: 0 / 327.6 MB, free: 5.227 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.233e-06/0.006585, allocations: 4 kB / 327.6 MB, free: 5.223 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.515e-05/0.00664, allocations: 16.97 kB / 327.7 MB, free: 5.207 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003072/0.006947, allocations: 197.9 kB / 327.9 MB, free: 4.996 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002034/0.007151, allocations: 97.23 kB / 327.9 MB, free: 4.891 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.726e-05/0.007188, allocations: 24.83 kB / 328 MB, free: 4.863 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.555e-05/0.007203, allocations: 7.938 kB / 328 MB, free: 4.855 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001227/0.007326, allocations: 78.33 kB / 328.1 MB, free: 4.766 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.492e-06/0.007327, allocations: 0 / 328.1 MB, free: 4.766 MB / 298.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004688/0.007796, allocations: 197.9 kB / 328.3 MB, free: 4.566 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.083e-05/0.007827, allocations: 51.52 kB / 328.3 MB, free: 4.504 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001159/0.007943, allocations: 213.1 kB / 328.5 MB, free: 4.281 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.283e-05/0.007966, allocations: 33.69 kB / 328.5 MB, free: 4.242 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.586e-05/0.008002, allocations: 108 kB / 328.6 MB, free: 4.133 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.087e-05/0.008043, allocations: 51.56 kB / 328.7 MB, free: 4.082 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.284e-05/0.008075, allocations: 25.72 kB / 328.7 MB, free: 4.051 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.549e-05/0.008161, allocations: 342.7 kB / 329.1 MB, free: 3.707 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.227e-05/0.008183, allocations: 14.83 kB / 329.1 MB, free: 3.691 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.282e-05/0.008216, allocations: 33.64 kB / 329.1 MB, free: 3.652 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.947e-05/0.008275, allocations: 64.5 kB / 329.2 MB, free: 3.582 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.008278, allocations: 3.984 kB / 329.2 MB, free: 3.578 MB / 298.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001062/0.008384, allocations: 90.81 kB / 329.3 MB, free: 3.484 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.008396, allocations: 8 kB / 329.3 MB, free: 3.477 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.008402, allocations: 3.984 kB / 329.3 MB, free: 3.473 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.008414, allocations: 4.031 kB / 329.3 MB, free: 3.469 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.184e-05/0.008476, allocations: 20 kB / 329.3 MB, free: 3.449 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.007e-06/0.00848, allocations: 3.984 kB / 329.3 MB, free: 3.445 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.871e-05/0.008509, allocations: 8 kB / 329.3 MB, free: 3.438 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-06/0.008516, allocations: 4 kB / 329.3 MB, free: 3.434 MB / 298.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 (16): * Single equations (assignments): 16 * 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 7.242e-05/0.008589, allocations: 124.5 kB / 329.4 MB, free: 3.301 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.444e-05/0.008603, allocations: 11.98 kB / 329.4 MB, free: 3.289 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001362/0.008739, allocations: 109.4 kB / 329.6 MB, free: 3.176 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.219e-06/0.008745, allocations: 7.984 kB / 329.6 MB, free: 3.168 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.008746, allocations: 0 / 329.6 MB, free: 3.168 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.008751, allocations: 4 kB / 329.6 MB, free: 3.164 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002992/0.00905, allocations: 364.1 kB / 329.9 MB, free: 2.777 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.009052, allocations: 0 / 329.9 MB, free: 2.777 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.333e-05/0.009095, allocations: 23.98 kB / 329.9 MB, free: 2.754 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.009098, allocations: 0 / 329.9 MB, free: 2.754 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.706e-06/0.009106, allocations: 4 kB / 329.9 MB, free: 2.75 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.00911, allocations: 7.938 kB / 330 MB, free: 2.742 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.009113, allocations: 7.938 kB / 330 MB, free: 2.734 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001392/0.009252, allocations: 240 kB / 330.2 MB, free: 2.477 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.548e-05/0.009268, allocations: 19.91 kB / 330.2 MB, free: 2.457 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.891e-05/0.009287, allocations: 4 kB / 330.2 MB, free: 2.453 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.56e-05/0.009332, allocations: 7.938 kB / 330.2 MB, free: 2.445 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.025e-05/0.009362, allocations: 15.91 kB / 330.2 MB, free: 2.43 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.413e-05/0.009377, allocations: 8 kB / 330.3 MB, free: 2.422 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.64e-05/0.009433, allocations: 77.86 kB / 330.3 MB, free: 2.344 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009433, allocations: 0 / 330.3 MB, free: 2.344 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001669/0.0096, allocations: 35.92 kB / 330.4 MB, free: 2.309 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (16): * Single equations (assignments): 14 * 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.001475/0.01107, allocations: 0.6482 MB / 331 MB, free: 2 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001151/0.01119, allocations: 72.69 kB / 331.1 MB, free: 1.926 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.0112, allocations: 4 kB / 331.1 MB, free: 1.922 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.272e-05/0.01124, allocations: 36.78 kB / 331.1 MB, free: 1.883 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001854/0.01142, allocations: 43.78 kB / 331.2 MB, free: 1.844 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006501/0.01207, allocations: 301.4 kB / 331.5 MB, free: 1.516 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.694e-05/0.01212, allocations: 80 kB / 331.5 MB, free: 1.418 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.797e-05/0.01217, allocations: 29.47 kB / 331.6 MB, free: 1.387 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.33e-05/0.01225, allocations: 79.36 kB / 331.6 MB, free: 1.309 MB / 298.7 MB Notification: Performance of SimCode: time 9.21e-07/0.01225, allocations: 0 / 331.6 MB, free: 1.309 MB / 298.7 MB Notification: Performance of Templates: time 0.004342/0.0166, allocations: 2.564 MB / 334.2 MB, free: 14.78 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.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: 2.9239241308532655]