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.00108/0.00108, allocations: 71.77 kB / 21.69 MB, free: 2.852 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.001095/0.001095, allocations: 166.6 kB / 24.99 MB, free: 8.793 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.9611/0.9611, allocations: 177.1 MB / 205.3 MB, free: 5.629 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.2719/0.2719, allocations: 32.81 MB / 294.6 MB, free: 1.273 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.413e-06/1.413e-06, allocations: 0 / 376.1 MB, free: 4.895 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.171e-05/2.312e-05, allocations: 2.312 kB / 376.1 MB, free: 4.891 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.008802/0.008825, allocations: 1.805 MB / 377.9 MB, free: 3.07 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001451/0.01028, allocations: 1.005 MB / 378.9 MB, free: 2.059 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.271e-05/0.01037, allocations: 8 kB / 378.9 MB, free: 2.051 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003413/0.01071, allocations: 103.6 kB / 379 MB, free: 1.949 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003512/0.01106, allocations: 135.4 kB / 379.1 MB, free: 1.816 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002147/0.01128, allocations: 83.59 kB / 379.2 MB, free: 1.734 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001989/0.01148, allocations: 147.5 kB / 379.4 MB, free: 1.59 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.363e-05/0.01157, allocations: 9.594 kB / 379.4 MB, free: 1.578 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001064/0.01168, allocations: 75.86 kB / 379.5 MB, free: 1.504 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001108/0.01179, allocations: 75.78 kB / 379.5 MB, free: 1.43 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.69e-05/0.0118, allocations: 4 kB / 379.5 MB, free: 1.426 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001137/0.01192, allocations: 59.91 kB / 379.6 MB, free: 1.367 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.009e-05/0.01198, allocations: 43.8 kB / 379.6 MB, free: 1.324 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.733e-05/0.01202, allocations: 23.91 kB / 379.7 MB, free: 1.301 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002218/0.01225, allocations: 131.5 kB / 379.8 MB, free: 1.172 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.01225, allocations: 0 / 379.8 MB, free: 1.172 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.01225, allocations: 0 / 379.8 MB, free: 1.172 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.93e-06/0.01225, allocations: 4 kB / 379.8 MB, free: 1.168 MB / 346.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.0005107/0.01276, allocations: 499.5 kB / 380.3 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.266e-05/0.0128, allocations: 8.031 kB / 380.3 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.835e-05/0.01286, allocations: 28.73 kB / 380.3 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001869/0.01304, allocations: 161.3 kB / 380.5 MB, free: 432 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.82e-05/0.01306, allocations: 4.375 kB / 380.5 MB, free: 428 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.066e-05/0.01308, allocations: 4.375 kB / 380.5 MB, free: 424 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003154/0.01624, allocations: 74.92 kB / 380.5 MB, free: 340 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.01625, allocations: 3.938 kB / 380.6 MB, free: 336 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.01626, allocations: 3.984 kB / 380.6 MB, free: 332 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-06/0.01627, allocations: 0 / 380.6 MB, free: 332 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.937e-05/0.01634, allocations: 31.92 kB / 380.6 MB, free: 300 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003981/0.01674, allocations: 327.7 kB / 380.9 MB, free: 15.94 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000207/0.01694, allocations: 70.97 kB / 381 MB, free: 15.86 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.047e-05/0.01698, allocations: 19.67 kB / 381 MB, free: 15.83 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.155e-05/0.017, allocations: 4 kB / 381 MB, free: 15.83 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001175/0.01711, allocations: 77.09 kB / 381.1 MB, free: 15.74 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.433e-06/0.01711, allocations: 3.938 kB / 381.1 MB, free: 15.73 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.0006598/0.01777, allocations: 277.1 kB / 381.4 MB, free: 15.46 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.439e-05/0.01781, allocations: 55.41 kB / 381.4 MB, free: 15.39 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001917/0.018, allocations: 270.8 kB / 381.7 MB, free: 15.11 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.848e-05/0.01802, allocations: 29.7 kB / 381.7 MB, free: 15.07 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.946e-05/0.0181, allocations: 166.8 kB / 381.9 MB, free: 14.91 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.435e-05/0.01814, allocations: 51.72 kB / 381.9 MB, free: 14.86 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.117e-05/0.01819, allocations: 39.36 kB / 382 MB, free: 14.81 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.01832, allocations: 0.504 MB / 382.5 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.764e-05/0.01837, allocations: 19.98 kB / 382.5 MB, free: 14.27 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.205e-05/0.01843, allocations: 53.33 kB / 382.5 MB, free: 14.21 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001145/0.01855, allocations: 86.67 kB / 382.6 MB, free: 14.12 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.01855, allocations: 0 / 382.6 MB, free: 14.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001921/0.01874, allocations: 141.5 kB / 382.7 MB, free: 13.98 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.01875, allocations: 4 kB / 382.8 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.01876, allocations: 0 / 382.8 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.01877, allocations: 7.984 kB / 382.8 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.936e-05/0.01885, allocations: 23.98 kB / 382.8 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.01886, allocations: 0 / 382.8 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.873e-05/0.0189, allocations: 11.98 kB / 382.8 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.037e-05/0.01891, allocations: 7.938 kB / 382.8 MB, free: 13.93 MB / 362.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 8.049e-05/0.01899, allocations: 168.5 kB / 383 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003048/0.02203, allocations: 27.86 kB / 383 MB, free: 13.72 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002709/0.0223, allocations: 166.5 kB / 383.2 MB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.02231, allocations: 4 kB / 383.2 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.02231, allocations: 0 / 383.2 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.02232, allocations: 0 / 383.2 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004866/0.0228, allocations: 0.4888 MB / 383.7 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.02281, allocations: 0 / 383.7 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.964e-05/0.02287, allocations: 27.98 kB / 383.7 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.02287, allocations: 4 kB / 383.7 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/0.02288, allocations: 11.94 kB / 383.7 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.02288, allocations: 0 / 383.7 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.02289, allocations: 3.938 kB / 383.7 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002631/0.02315, allocations: 307.1 kB / 384 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.237e-05/0.02317, allocations: 19.84 kB / 384 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.766e-05/0.0232, allocations: 7.984 kB / 384 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.836e-05/0.02327, allocations: 4 kB / 384 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.003e-05/0.02331, allocations: 11.98 kB / 384 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.793e-05/0.02333, allocations: 15.98 kB / 384.1 MB, free: 12.58 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001157/0.02344, allocations: 189.4 kB / 384.2 MB, free: 12.4 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02344, allocations: 0 / 384.2 MB, free: 12.4 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000283/0.02373, allocations: 39.94 kB / 384.3 MB, free: 12.36 MB / 362.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.001183/0.02491, allocations: 493.8 kB / 384.8 MB, free: 12.06 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003217/0.02812, allocations: 79.59 kB / 384.8 MB, free: 11.98 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.02813, allocations: 0 / 384.8 MB, free: 11.98 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.637e-05/0.0282, allocations: 51.59 kB / 384.9 MB, free: 11.92 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003611/0.02856, allocations: 46.19 kB / 384.9 MB, free: 11.88 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004937/0.02906, allocations: 309.9 kB / 385.2 MB, free: 11.54 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.835e-05/0.02912, allocations: 83.75 kB / 385.3 MB, free: 11.44 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.146e-05/0.02918, allocations: 29.66 kB / 385.3 MB, free: 11.41 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.541e-05/0.02922, allocations: 20.5 kB / 385.4 MB, free: 11.39 MB / 362.7 MB Notification: Performance of SimCode: time 7.81e-07/0.02922, allocations: 0 / 385.4 MB, free: 11.39 MB / 362.7 MB Notification: Performance of Templates: time 0.01085/0.04007, allocations: 2.377 MB / 387.7 MB, free: 9.047 MB / 362.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: 3.3084758499171585]