Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.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.001149/0.001149, allocations: 77.88 kB / 21.42 MB, free: 3.074 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.001244/0.001244, allocations: 168.7 kB / 24.82 MB, free: 8.918 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.9977/0.9977, allocations: 177.2 MB / 205.3 MB, free: 5.504 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.2709/0.2709, allocations: 32.8 MB / 294.6 MB, free: 1.168 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.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33") translateModel(ModelicaTest.Tables.CombiTimeTable.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.435e-06/2.435e-06, allocations: 0 / 376.6 MB, free: 4.293 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.66e-05/1.904e-05, allocations: 2.312 kB / 376.6 MB, free: 4.289 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.002636/0.002655, allocations: 1.76 MB / 378.3 MB, free: 2.516 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00135/0.004005, allocations: 0.9936 MB / 379.3 MB, free: 1.516 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.028e-05/0.004076, allocations: 0 / 379.3 MB, free: 1.516 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002524/0.004328, allocations: 35.72 kB / 379.4 MB, free: 1.48 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002725/0.004601, allocations: 99.47 kB / 379.5 MB, free: 1.383 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001746/0.004775, allocations: 83.59 kB / 379.5 MB, free: 1.301 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000146/0.004921, allocations: 103.7 kB / 379.6 MB, free: 1.199 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.797e-05/0.004999, allocations: 15.97 kB / 379.7 MB, free: 1.184 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.001e-05/0.005089, allocations: 55.78 kB / 379.7 MB, free: 1.129 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.09e-05/0.00516, allocations: 23.92 kB / 379.7 MB, free: 1.105 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.591e-05/0.005176, allocations: 7.984 kB / 379.7 MB, free: 1.098 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.38e-05/0.00526, allocations: 43.92 kB / 379.8 MB, free: 1.055 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.348e-05/0.005303, allocations: 19.86 kB / 379.8 MB, free: 1.035 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.547e-05/0.005339, allocations: 19.92 kB / 379.8 MB, free: 1.016 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001607/0.005499, allocations: 99.66 kB / 379.9 MB, free: 0.918 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.563e-06/0.005501, allocations: 0 / 379.9 MB, free: 0.918 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.005502, allocations: 0 / 379.9 MB, free: 0.918 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.925e-06/0.005504, allocations: 7.938 kB / 379.9 MB, free: 0.9102 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003929/0.005897, allocations: 451.8 kB / 380.4 MB, free: 444 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.237e-05/0.00593, allocations: 8.031 kB / 380.4 MB, free: 436 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.512e-05/0.005965, allocations: 16.84 kB / 380.4 MB, free: 420 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001478/0.006113, allocations: 157 kB / 380.5 MB, free: 236 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.539e-05/0.006128, allocations: 4.359 kB / 380.6 MB, free: 232 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.826e-05/0.006146, allocations: 8.375 kB / 380.6 MB, free: 224 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.879e-05/0.006245, allocations: 54.94 kB / 380.6 MB, free: 160 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.729e-06/0.006255, allocations: 3.938 kB / 380.6 MB, free: 156 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.091e-06/0.006261, allocations: 0 / 380.6 MB, free: 156 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.006265, allocations: 8 kB / 380.6 MB, free: 148 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.678e-05/0.006292, allocations: 15.92 kB / 380.6 MB, free: 132 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002444/0.006537, allocations: 260.4 kB / 380.9 MB, free: 15.85 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.577e-05/0.006622, allocations: 51.16 kB / 380.9 MB, free: 15.79 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.315e-05/0.006646, allocations: 11.69 kB / 381 MB, free: 15.77 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.408e-05/0.00666, allocations: 7.938 kB / 381 MB, free: 15.76 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.725e-05/0.006747, allocations: 72.97 kB / 381 MB, free: 15.68 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 9.52e-07/0.006748, allocations: 0 / 381 MB, free: 15.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003092/0.007057, allocations: 133.8 kB / 381.2 MB, free: 15.54 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.605e-05/0.007083, allocations: 55.39 kB / 381.2 MB, free: 15.47 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001291/0.007212, allocations: 226.3 kB / 381.4 MB, free: 15.23 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.266e-05/0.007225, allocations: 25.7 kB / 381.5 MB, free: 15.2 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.155e-05/0.007286, allocations: 154.8 kB / 381.6 MB, free: 15.05 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.818e-05/0.007315, allocations: 27.78 kB / 381.6 MB, free: 15.02 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.99e-05/0.007354, allocations: 31.36 kB / 381.7 MB, free: 14.98 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001281/0.007483, allocations: 0.4923 MB / 382.2 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.89e-05/0.007501, allocations: 8.047 kB / 382.2 MB, free: 14.47 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.361e-05/0.007535, allocations: 35.36 kB / 382.2 MB, free: 14.43 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.677e-05/0.007592, allocations: 59.28 kB / 382.3 MB, free: 14.36 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/0.007593, allocations: 0 / 382.3 MB, free: 14.36 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001093/0.007702, allocations: 85.47 kB / 382.4 MB, free: 14.27 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.007713, allocations: 6.031 kB / 382.4 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.007718, allocations: 0 / 382.4 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.007732, allocations: 4 kB / 382.4 MB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.225e-05/0.007794, allocations: 15.98 kB / 382.4 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.745e-06/0.007797, allocations: 0 / 382.4 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.598e-05/0.007833, allocations: 8 kB / 382.4 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.47e-06/0.007838, allocations: 0 / 382.4 MB, free: 14.24 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 (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 7.748e-05/0.007916, allocations: 172.5 kB / 382.6 MB, free: 14.06 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.088e-05/0.007936, allocations: 19.84 kB / 382.6 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001476/0.008084, allocations: 99.22 kB / 382.7 MB, free: 13.94 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.008086, allocations: 0 / 382.7 MB, free: 13.94 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-06/0.008087, allocations: 0 / 382.7 MB, free: 13.94 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-06/0.008092, allocations: 3.984 kB / 382.7 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002828/0.008374, allocations: 361.6 kB / 383 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.008375, allocations: 0 / 383 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.025e-05/0.008406, allocations: 11.94 kB / 383 MB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.008409, allocations: 8.031 kB / 383 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.284e-06/0.008416, allocations: 3.984 kB / 383.1 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.008417, allocations: 0 / 383.1 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.00842, allocations: 4 kB / 383.1 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001524/0.008572, allocations: 255.4 kB / 383.3 MB, free: 13.24 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.251e-05/0.008585, allocations: 7.953 kB / 383.3 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.614e-05/0.008601, allocations: 0 / 383.3 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.901e-05/0.00866, allocations: 4 kB / 383.3 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.524e-05/0.008685, allocations: 11.98 kB / 383.3 MB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.024e-05/0.008695, allocations: 0 / 383.3 MB, free: 13.22 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.548e-05/0.008771, allocations: 172.1 kB / 383.5 MB, free: 13.05 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008771, allocations: 4 kB / 383.5 MB, free: 13.05 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002395/0.00901, allocations: 23.94 kB / 383.5 MB, free: 13.02 MB / 362.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.0009801/0.00999, allocations: 437.9 kB / 384 MB, free: 12.75 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.786e-05/0.01009, allocations: 51.59 kB / 384 MB, free: 12.7 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.112e-06/0.01009, allocations: 0 / 384 MB, free: 12.7 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.843e-05/0.01013, allocations: 31.61 kB / 384 MB, free: 12.66 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002774/0.01041, allocations: 36 kB / 384.1 MB, free: 12.63 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003096/0.01071, allocations: 221.9 kB / 384.3 MB, free: 12.38 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.609e-05/0.01076, allocations: 67.34 kB / 384.3 MB, free: 12.29 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.123e-05/0.0108, allocations: 17.27 kB / 384.4 MB, free: 12.27 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.963e-05/0.01088, allocations: 90.19 kB / 384.5 MB, free: 12.18 MB / 362.7 MB Notification: Performance of SimCode: time 3.91e-07/0.01088, allocations: 3.938 kB / 384.5 MB, free: 12.18 MB / 362.7 MB Notification: Performance of Templates: time 0.00397/0.01485, allocations: 2.041 MB / 386.5 MB, free: 10.17 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test33/Test33.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.953079129103571]