Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002121/0.002121, allocations: 99.53 kB / 20.97 MB, free: 3.453 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002033/0.002033, allocations: 160.8 kB / 24.27 MB, free: 156 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.609/1.609, allocations: 177 MB / 204.5 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4256/0.4256, allocations: 34.26 MB / 295.2 MB, free: 0.625 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.694e-06/1.694e-06, allocations: 0 / 377.3 MB, free: 2.801 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.889e-05/3.059e-05, allocations: 2.312 kB / 377.3 MB, free: 2.797 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.003898/0.003929, allocations: 1.917 MB / 379.2 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002836/0.006765, allocations: 1.099 MB / 380.3 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001178/0.006882, allocations: 4 kB / 380.3 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000669/0.007551, allocations: 251 kB / 380.6 MB, free: 15.51 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006116/0.008163, allocations: 239.1 kB / 380.8 MB, free: 15.28 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003487/0.008512, allocations: 123.5 kB / 380.9 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004181/0.00893, allocations: 283.2 kB / 381.2 MB, free: 14.88 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001383/0.009068, allocations: 17.95 kB / 381.2 MB, free: 14.86 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002562/0.009324, allocations: 159.6 kB / 381.4 MB, free: 14.71 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000296/0.00962, allocations: 195.5 kB / 381.6 MB, free: 14.52 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.76e-05/0.009658, allocations: 12 kB / 381.6 MB, free: 14.5 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001481/0.009806, allocations: 59.92 kB / 381.6 MB, free: 14.45 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000116/0.009922, allocations: 63.77 kB / 381.7 MB, free: 14.38 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 9.247e-05/0.01001, allocations: 51.73 kB / 381.8 MB, free: 14.33 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004325/0.01045, allocations: 251.1 kB / 382 MB, free: 14.09 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.01045, allocations: 0 / 382 MB, free: 14.09 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.01045, allocations: 0 / 382 MB, free: 14.09 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.01046, allocations: 0 / 382 MB, free: 14.09 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0009989/0.01146, allocations: 0.6387 MB / 382.6 MB, free: 13.41 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.0115, allocations: 8.031 kB / 382.6 MB, free: 13.4 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001045/0.01161, allocations: 40.7 kB / 382.7 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004117/0.01202, allocations: 239 kB / 382.9 MB, free: 13.1 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.429e-05/0.01204, allocations: 8.375 kB / 382.9 MB, free: 13.09 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.07e-05/0.01207, allocations: 4.375 kB / 382.9 MB, free: 13.09 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002806/0.01235, allocations: 117.5 kB / 383 MB, free: 12.96 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.622e-05/0.01237, allocations: 192 / 383 MB, free: 12.96 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.876e-05/0.01239, allocations: 4.375 kB / 383.1 MB, free: 12.96 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.0124, allocations: 3.938 kB / 383.1 MB, free: 12.95 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001439/0.01254, allocations: 39.97 kB / 383.1 MB, free: 12.91 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008127/0.01335, allocations: 0.5532 MB / 383.6 MB, free: 12.32 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004147/0.01377, allocations: 138.1 kB / 383.8 MB, free: 12.16 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001132/0.01388, allocations: 51.42 kB / 383.8 MB, free: 12.1 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.365e-05/0.01389, allocations: 0 / 383.8 MB, free: 12.1 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002687/0.01416, allocations: 128.4 kB / 384 MB, free: 11.95 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 9.81e-07/0.01416, allocations: 0 / 384 MB, free: 11.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.001486/0.01565, allocations: 0.5359 MB / 384.5 MB, free: 11.41 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.889e-05/0.01572, allocations: 81.09 kB / 384.6 MB, free: 11.31 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005381/0.01626, allocations: 478.8 kB / 385 MB, free: 10.83 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.302e-05/0.01629, allocations: 33.7 kB / 385.1 MB, free: 10.79 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002014/0.01649, allocations: 235.3 kB / 385.3 MB, free: 10.55 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.03e-05/0.01658, allocations: 79.38 kB / 385.4 MB, free: 10.48 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.943e-05/0.01667, allocations: 55.36 kB / 385.4 MB, free: 10.41 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003319/0.017, allocations: 0.5391 MB / 386 MB, free: 9.863 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001317/0.01713, allocations: 59.97 kB / 386 MB, free: 9.805 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001768/0.01731, allocations: 102.7 kB / 386.1 MB, free: 9.688 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003117/0.01762, allocations: 174.5 kB / 386.3 MB, free: 9.5 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.01762, allocations: 4 kB / 386.3 MB, free: 9.496 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004676/0.01809, allocations: 241.6 kB / 386.5 MB, free: 9.254 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.313e-05/0.01812, allocations: 8 kB / 386.5 MB, free: 9.246 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.01812, allocations: 0 / 386.5 MB, free: 9.246 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.246e-05/0.01817, allocations: 3.984 kB / 386.6 MB, free: 9.242 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001649/0.01833, allocations: 43.92 kB / 386.6 MB, free: 9.199 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.01834, allocations: 0 / 386.6 MB, free: 9.199 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.99e-05/0.01843, allocations: 11.94 kB / 386.6 MB, free: 9.188 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.605e-05/0.01845, allocations: 8 kB / 386.6 MB, free: 9.18 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001963/0.01864, allocations: 192.5 kB / 386.8 MB, free: 8.98 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.105e-05/0.01871, allocations: 43.77 kB / 386.8 MB, free: 8.938 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005802/0.01929, allocations: 273.2 kB / 387.1 MB, free: 8.668 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.0193, allocations: 4 kB / 387.1 MB, free: 8.664 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.0193, allocations: 0 / 387.1 MB, free: 8.664 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.01931, allocations: 0 / 387.1 MB, free: 8.664 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001463/0.02077, allocations: 0.8309 MB / 387.9 MB, free: 7.773 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.02077, allocations: 4 kB / 388 MB, free: 7.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001085/0.02088, allocations: 39.98 kB / 388 MB, free: 7.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.905e-06/0.02089, allocations: 8 kB / 388 MB, free: 7.723 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.681e-05/0.02091, allocations: 4 kB / 388 MB, free: 7.719 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.728e-06/0.02091, allocations: 4 kB / 388 MB, free: 7.715 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.02091, allocations: 0 / 388 MB, free: 7.715 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006538/0.02157, allocations: 0.548 MB / 388.6 MB, free: 7.129 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.555e-05/0.02162, allocations: 35.75 kB / 388.6 MB, free: 7.094 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.717e-05/0.02167, allocations: 8 kB / 388.6 MB, free: 7.086 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001316/0.0218, allocations: 7.938 kB / 388.6 MB, free: 7.078 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.217e-05/0.02186, allocations: 19.97 kB / 388.6 MB, free: 7.059 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.108e-05/0.02189, allocations: 23.98 kB / 388.6 MB, free: 7.035 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000354/0.02225, allocations: 315 kB / 389 MB, free: 6.73 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.02225, allocations: 0 / 389 MB, free: 6.73 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003574/0.02261, allocations: 51.92 kB / 389 MB, free: 6.68 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.004001/0.02661, allocations: 0.5365 MB / 389.5 MB, free: 6.336 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004704/0.02708, allocations: 179.9 kB / 389.7 MB, free: 6.156 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.02708, allocations: 0 / 389.7 MB, free: 6.156 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001987/0.02728, allocations: 99.7 kB / 389.8 MB, free: 6.055 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006146/0.02789, allocations: 69.2 kB / 389.9 MB, free: 5.992 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001117/0.02901, allocations: 0.544 MB / 390.4 MB, free: 5.391 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002103/0.02922, allocations: 170.3 kB / 390.6 MB, free: 5.207 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001147/0.02934, allocations: 41.92 kB / 390.6 MB, free: 5.164 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.283e-05/0.02942, allocations: 36.48 kB / 390.7 MB, free: 5.129 MB / 362.7 MB Notification: Performance of SimCode: time 1.002e-06/0.02942, allocations: 0 / 390.7 MB, free: 5.129 MB / 362.7 MB Notification: Performance of Templates: time 0.008368/0.03779, allocations: 3.341 MB / 394 MB, free: 1.828 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.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: 5.098210045951419]