Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001065/0.001065, allocations: 79.59 kB / 21.18 MB, free: 3.383 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.001104/0.001104, allocations: 161 kB / 24.56 MB, free: 12 kB / 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.9654/0.9654, allocations: 177.1 MB / 205 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2623/0.2623, allocations: 34.26 MB / 295.7 MB, free: 0.7617 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Tables.CombiTimeTable.Test33") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.575e-06/2.575e-06, allocations: 4 kB / 378.1 MB, free: 2.562 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.454e-05/2.711e-05, allocations: 2.312 kB / 378.1 MB, free: 2.559 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.002337/0.002364, allocations: 1.769 MB / 379.9 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001122/0.003486, allocations: 1.009 MB / 380.9 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.611e-05/0.003553, allocations: 4 kB / 380.9 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002637/0.003816, allocations: 39.64 kB / 380.9 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002848/0.004101, allocations: 99.53 kB / 381 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001812/0.004282, allocations: 79.61 kB / 381.1 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001485/0.004431, allocations: 107.6 kB / 381.2 MB, free: 15.44 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.031e-05/0.004511, allocations: 8 kB / 381.2 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.255e-05/0.004594, allocations: 63.77 kB / 381.3 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.155e-05/0.004665, allocations: 27.91 kB / 381.3 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.527e-05/0.004681, allocations: 4 kB / 381.3 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.743e-05/0.004758, allocations: 43.92 kB / 381.4 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.521e-05/0.004803, allocations: 19.92 kB / 381.4 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.525e-05/0.004838, allocations: 19.92 kB / 381.4 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001622/0.005001, allocations: 107.6 kB / 381.5 MB, free: 15.15 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.005003, allocations: 0 / 381.5 MB, free: 15.15 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.41e-07/0.005004, allocations: 0 / 381.5 MB, free: 15.15 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.807e-06/0.005008, allocations: 0 / 381.5 MB, free: 15.15 MB / 362.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.0004286/0.005436, allocations: 451.8 kB / 382 MB, free: 14.67 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.287e-05/0.005469, allocations: 12.03 kB / 382 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.856e-05/0.005528, allocations: 12.84 kB / 382 MB, free: 14.65 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001509/0.005679, allocations: 153.1 kB / 382.1 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.761e-05/0.005696, allocations: 4.375 kB / 382.1 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.726e-05/0.005714, allocations: 384 / 382.1 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001102/0.005824, allocations: 62.94 kB / 382.2 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.005835, allocations: 3.938 kB / 382.2 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.055e-06/0.005843, allocations: 0 / 382.2 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.251e-06/0.005849, allocations: 0 / 382.2 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.214e-05/0.005881, allocations: 23.92 kB / 382.2 MB, free: 14.37 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003137/0.006195, allocations: 287.8 kB / 382.5 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001056/0.006301, allocations: 51.17 kB / 382.6 MB, free: 13.99 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.854e-05/0.006329, allocations: 19.62 kB / 382.6 MB, free: 13.97 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.002e-05/0.006339, allocations: 0 / 382.6 MB, free: 13.97 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.452e-05/0.006434, allocations: 72.97 kB / 382.6 MB, free: 13.88 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 9.41e-07/0.006435, allocations: 4 kB / 382.6 MB, free: 13.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003576/0.006792, allocations: 153.4 kB / 382.8 MB, free: 13.72 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.069e-05/0.006823, allocations: 55.41 kB / 382.9 MB, free: 13.66 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001223/0.006945, allocations: 242.3 kB / 383.1 MB, free: 13.4 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.272e-05/0.006958, allocations: 29.7 kB / 383.1 MB, free: 13.37 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001109/0.007069, allocations: 150.9 kB / 383.3 MB, free: 13.21 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.404e-05/0.007093, allocations: 23.8 kB / 383.3 MB, free: 13.19 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.052e-05/0.007123, allocations: 27.38 kB / 383.3 MB, free: 13.16 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001036/0.007227, allocations: 0.4962 MB / 383.8 MB, free: 12.65 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.608e-05/0.007253, allocations: 12 kB / 383.8 MB, free: 12.64 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.355e-05/0.007287, allocations: 35.36 kB / 383.9 MB, free: 12.59 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.637e-05/0.007343, allocations: 59.23 kB / 383.9 MB, free: 12.53 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.007344, allocations: 4 kB / 383.9 MB, free: 12.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001023/0.007446, allocations: 97.58 kB / 384 MB, free: 12.42 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.065e-05/0.007457, allocations: 4 kB / 384 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.007461, allocations: 0 / 384 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.007472, allocations: 0 / 384 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.537e-05/0.007537, allocations: 16 kB / 384 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.007542, allocations: 0 / 384 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.918e-05/0.007571, allocations: 11.97 kB / 384 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.007578, allocations: 4 kB / 384.1 MB, free: 12.39 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 6.668e-05/0.007645, allocations: 168.5 kB / 384.2 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.459e-05/0.007659, allocations: 11.95 kB / 384.2 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000137/0.007796, allocations: 103.1 kB / 384.3 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.007799, allocations: 4 kB / 384.3 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.307e-06/0.007803, allocations: 0 / 384.3 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.007806, allocations: 0 / 384.3 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002648/0.00807, allocations: 392.9 kB / 384.7 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.008076, allocations: 0 / 384.7 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.88e-05/0.008105, allocations: 15.92 kB / 384.7 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.008108, allocations: 4 kB / 384.7 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.216e-06/0.008116, allocations: 8.031 kB / 384.7 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.008118, allocations: 0 / 384.7 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.008119, allocations: 4 kB / 384.7 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002523/0.008372, allocations: 255.4 kB / 385 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.165e-05/0.008383, allocations: 11.91 kB / 385 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.555e-05/0.008399, allocations: 0 / 385 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.033e-05/0.008439, allocations: 8.359 kB / 385 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.834e-05/0.008468, allocations: 7.984 kB / 385 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.293e-05/0.00848, allocations: 11.94 kB / 385 MB, free: 11.32 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.364e-05/0.008554, allocations: 172.1 kB / 385.2 MB, free: 11.15 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008554, allocations: 0 / 385.2 MB, free: 11.15 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001689/0.008723, allocations: 27.94 kB / 385.2 MB, free: 11.12 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.0008917/0.009615, allocations: 434.6 kB / 385.7 MB, free: 10.85 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001189/0.009734, allocations: 55.59 kB / 385.7 MB, free: 10.79 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.009735, allocations: 0 / 385.7 MB, free: 10.79 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.938e-05/0.009775, allocations: 35.61 kB / 385.7 MB, free: 10.75 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002258/0.01, allocations: 33.66 kB / 385.8 MB, free: 10.72 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003284/0.01033, allocations: 218.1 kB / 386 MB, free: 10.48 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.89e-05/0.01037, allocations: 67.34 kB / 386.1 MB, free: 10.39 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.965e-05/0.01041, allocations: 12.97 kB / 386.1 MB, free: 10.38 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.203e-05/0.01044, allocations: 20.5 kB / 386.1 MB, free: 10.36 MB / 362.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01044, allocations: 0 / 386.1 MB, free: 10.36 MB / 362.7 MB Notification: Performance of Templates: time 0.003824/0.01426, allocations: 2.009 MB / 388.1 MB, free: 8.375 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test33.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test33.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test33 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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: 3.1735979970544577]