Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.002098/0.002098, allocations: 92.31 kB / 20.96 MB, free: 3.477 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.003772/0.003772, allocations: 165.7 kB / 24.27 MB, free: 172 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 1.484/1.484, allocations: 177.2 MB / 204.6 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 178] 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.4003/0.4003, allocations: 34.26 MB / 295.3 MB, free: 0.6797 MB / 266.7 MB " [Timeout remaining time 179] 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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.254e-06/2.254e-06, allocations: 0 / 377.4 MB, free: 2.859 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.55e-05/3.775e-05, allocations: 5.406 kB / 377.4 MB, free: 2.855 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.005479/0.005517, allocations: 1.751 MB / 379.1 MB, free: 1.09 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003701/0.009218, allocations: 0.982 MB / 380.1 MB, free: 104 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.867e-05/0.009316, allocations: 3.938 kB / 380.1 MB, free: 100 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005966/0.009913, allocations: 107.7 kB / 380.2 MB, free: 15.99 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000672/0.01058, allocations: 131.4 kB / 380.4 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004608/0.01105, allocations: 83.59 kB / 380.4 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003865/0.01143, allocations: 135.6 kB / 380.6 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001558/0.01159, allocations: 21.52 kB / 380.6 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002578/0.01185, allocations: 83.73 kB / 380.7 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002254/0.01207, allocations: 67.86 kB / 380.7 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.357e-05/0.0121, allocations: 4 kB / 380.7 MB, free: 15.47 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002365/0.01234, allocations: 67.89 kB / 380.8 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001105/0.01245, allocations: 31.86 kB / 380.8 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001036/0.01256, allocations: 31.86 kB / 380.9 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004851/0.01304, allocations: 159.4 kB / 381 MB, free: 15.19 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.714e-06/0.01305, allocations: 0 / 381 MB, free: 15.19 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.374e-06/0.01305, allocations: 0 / 381 MB, free: 15.19 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.01306, allocations: 3.938 kB / 381 MB, free: 15.18 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.001148/0.01421, allocations: 381.3 kB / 381.4 MB, free: 14.78 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.692e-05/0.01427, allocations: 12.03 kB / 381.4 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001359/0.01441, allocations: 28.83 kB / 381.4 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005986/0.01501, allocations: 162.5 kB / 381.6 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.787e-05/0.01504, allocations: 4.375 kB / 381.6 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.839e-05/0.01508, allocations: 4.375 kB / 381.6 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003134/0.0154, allocations: 78.09 kB / 381.7 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.352e-05/0.01542, allocations: 7.922 kB / 381.7 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.529e-05/0.01545, allocations: 8 kB / 381.7 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.01545, allocations: 0 / 381.7 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002284/0.01568, allocations: 35.97 kB / 381.7 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007519/0.01643, allocations: 276.4 kB / 382 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000524/0.01696, allocations: 82.42 kB / 382.1 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001424/0.0171, allocations: 24.84 kB / 382.1 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.356e-05/0.01713, allocations: 4 kB / 382.1 MB, free: 13.99 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002998/0.01743, allocations: 75.38 kB / 382.2 MB, free: 13.91 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 2.194e-06/0.01744, allocations: 0 / 382.2 MB, free: 13.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.001741/0.01918, allocations: 333 kB / 382.5 MB, free: 13.57 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.245e-05/0.01925, allocations: 55.41 kB / 382.6 MB, free: 13.51 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005651/0.01981, allocations: 259.8 kB / 382.8 MB, free: 13.24 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.64e-05/0.01987, allocations: 33.7 kB / 382.9 MB, free: 13.2 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001582/0.02003, allocations: 116.1 kB / 383 MB, free: 13.09 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001012/0.02013, allocations: 47.78 kB / 383 MB, free: 13.04 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001113/0.02024, allocations: 37.64 kB / 383.1 MB, free: 13 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002961/0.02054, allocations: 330.8 kB / 383.4 MB, free: 12.66 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001971/0.02073, allocations: 47.97 kB / 383.4 MB, free: 12.62 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002068/0.02094, allocations: 57.64 kB / 383.5 MB, free: 12.55 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004106/0.02135, allocations: 101.7 kB / 383.6 MB, free: 12.45 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.426e-05/0.02137, allocations: 7.984 kB / 383.6 MB, free: 12.44 MB / 362.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000626/0.02199, allocations: 173.5 kB / 383.8 MB, free: 12.27 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.549e-05/0.02202, allocations: 4.109 kB / 383.8 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.02202, allocations: 3.938 kB / 383.8 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.625e-05/0.02205, allocations: 0 / 383.8 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000234/0.02228, allocations: 31.98 kB / 383.8 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.427e-06/0.02229, allocations: 3.938 kB / 383.8 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001179/0.02241, allocations: 4 kB / 383.8 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.322e-05/0.02244, allocations: 11.92 kB / 383.8 MB, free: 12.21 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 0.0002489/0.02269, allocations: 145.2 kB / 384 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.327e-05/0.02278, allocations: 19.91 kB / 384 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007471/0.02352, allocations: 198.9 kB / 384.2 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.064e-05/0.02353, allocations: 4 kB / 384.2 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.02354, allocations: 0 / 384.2 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.02355, allocations: 0 / 384.2 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001279/0.02482, allocations: 463.3 kB / 384.6 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.02483, allocations: 0 / 384.6 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001744/0.025, allocations: 31.98 kB / 384.7 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.099e-06/0.02501, allocations: 0 / 384.7 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.308e-05/0.02504, allocations: 11.94 kB / 384.7 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.02504, allocations: 0 / 384.7 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.774e-06/0.02505, allocations: 4 kB / 384.7 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007514/0.0258, allocations: 273.1 kB / 384.9 MB, free: 11.01 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.612e-05/0.02586, allocations: 19.78 kB / 385 MB, free: 10.99 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.025e-05/0.02592, allocations: 8 kB / 385 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000173/0.02609, allocations: 4 kB / 385 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003859/0.02648, allocations: 19.91 kB / 385 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.602e-05/0.02651, allocations: 8 kB / 385 MB, free: 10.95 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003619/0.02688, allocations: 197.5 kB / 385.2 MB, free: 10.76 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.02688, allocations: 0 / 385.2 MB, free: 10.76 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005729/0.02745, allocations: 39.92 kB / 385.2 MB, free: 10.72 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.004083/0.03153, allocations: 0.5395 MB / 385.8 MB, free: 10.42 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005369/0.03207, allocations: 107.9 kB / 385.9 MB, free: 10.31 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.232e-05/0.03208, allocations: 4 kB / 385.9 MB, free: 10.31 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002319/0.03231, allocations: 55.97 kB / 385.9 MB, free: 10.25 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006981/0.03301, allocations: 43.81 kB / 386 MB, free: 10.21 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001133/0.03414, allocations: 346.5 kB / 386.3 MB, free: 9.84 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002254/0.03437, allocations: 115.4 kB / 386.4 MB, free: 9.703 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001376/0.03451, allocations: 25.59 kB / 386.5 MB, free: 9.68 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001032/0.03461, allocations: 32.48 kB / 386.5 MB, free: 9.648 MB / 362.7 MB Notification: Performance of SimCode: time 6.81e-07/0.03461, allocations: 0 / 386.5 MB, free: 9.648 MB / 362.7 MB Notification: Performance of Templates: time 0.01107/0.04568, allocations: 2.349 MB / 388.8 MB, free: 7.332 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.916666017030366]