Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001445/0.001445, allocations: 109.8 kB / 21.1 MB, free: 0.7656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001775/0.001775, allocations: 191.8 kB / 24.36 MB, free: 4.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.463/1.463, allocations: 225.6 MB / 253.1 MB, free: 13.05 MB / 206.1 MB " [Timeout remaining time 178] 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.2336/0.2336, allocations: 44.9 MB / 353.2 MB, free: 11.86 MB / 286.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15") translateModel(ModelicaTest.Tables.CombiTimeTable.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002029/0.002029, allocations: 63.89 kB / 497.4 MB, free: 1.047 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3829/0.3849, allocations: 64.3 MB / 0.5485 GB, free: 13.09 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.003902/0.3889, allocations: 1.724 MB / 0.5502 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00167/0.3905, allocations: 0.9057 MB / 0.5511 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.454e-05/0.3906, allocations: 1.438 kB / 0.5511 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003098/0.3909, allocations: 33.17 kB / 0.5511 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002392/0.3911, allocations: 52.52 kB / 0.5511 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003399/0.3915, allocations: 116.2 kB / 0.5513 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002115/0.3917, allocations: 94.2 kB / 0.5513 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/0.3918, allocations: 8.688 kB / 0.5514 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001194/0.3919, allocations: 47.56 kB / 0.5514 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.523e-05/0.392, allocations: 34.11 kB / 0.5514 GB, free: 10.78 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.399e-05/0.392, allocations: 3.781 kB / 0.5514 GB, free: 10.78 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001103/0.3922, allocations: 46.88 kB / 0.5515 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.647e-05/0.3922, allocations: 17.89 kB / 0.5515 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.112e-05/0.3923, allocations: 31.09 kB / 0.5515 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002542/0.3925, allocations: 114.6 kB / 0.5516 GB, free: 10.66 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.3925, allocations: 0.7812 kB / 0.5516 GB, free: 10.66 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3925, allocations: 0 / 0.5516 GB, free: 10.66 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.703e-06/0.3925, allocations: 0 / 0.5516 GB, free: 10.66 MB / 398.1 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.0006947/0.3932, allocations: 337.6 kB / 0.552 GB, free: 10.32 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/0.3933, allocations: 11.42 kB / 0.552 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.873e-05/0.3934, allocations: 13.38 kB / 0.552 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003506/0.3937, allocations: 151.8 kB / 0.5521 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.615e-05/0.3937, allocations: 1.531 kB / 0.5521 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.361e-05/0.3937, allocations: 6.219 kB / 0.5521 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001747/0.3939, allocations: 54.27 kB / 0.5522 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.3939, allocations: 0 / 0.5522 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.838e-06/0.3939, allocations: 1.406 kB / 0.5522 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.3939, allocations: 4 kB / 0.5522 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.119e-05/0.394, allocations: 22.39 kB / 0.5522 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004155/0.3944, allocations: 253.1 kB / 0.5525 GB, free: 9.824 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001832/0.3946, allocations: 55.27 kB / 0.5525 GB, free: 9.781 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.59e-05/0.3947, allocations: 17.02 kB / 0.5525 GB, free: 9.77 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.209e-05/0.3947, allocations: 9.25 kB / 0.5525 GB, free: 9.762 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001607/0.3949, allocations: 64.64 kB / 0.5526 GB, free: 9.699 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.3949, allocations: 4.844 kB / 0.5526 GB, free: 9.695 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005962/0.3955, allocations: 177.6 kB / 0.5528 GB, free: 9.59 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.536e-05/0.3955, allocations: 52.53 kB / 0.5528 GB, free: 9.527 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001943/0.3957, allocations: 172.7 kB / 0.553 GB, free: 9.395 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.96e-05/0.3957, allocations: 30.86 kB / 0.553 GB, free: 9.359 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.967e-05/0.3958, allocations: 100.7 kB / 0.5531 GB, free: 9.262 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.982e-05/0.3958, allocations: 31.2 kB / 0.5531 GB, free: 9.234 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.399e-05/0.3959, allocations: 23.91 kB / 0.5532 GB, free: 9.211 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001749/0.396, allocations: 326.3 kB / 0.5535 GB, free: 8.887 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.299e-05/0.3961, allocations: 18.36 kB / 0.5535 GB, free: 8.879 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.758e-05/0.3962, allocations: 36.02 kB / 0.5535 GB, free: 8.852 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001239/0.3963, allocations: 67.27 kB / 0.5536 GB, free: 8.805 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.3963, allocations: 0 / 0.5536 GB, free: 8.805 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000191/0.3965, allocations: 95.73 kB / 0.5537 GB, free: 8.746 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.3965, allocations: 4.875 kB / 0.5537 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.3965, allocations: 1.156 kB / 0.5537 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.3965, allocations: 1.25 kB / 0.5537 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/0.3966, allocations: 24.61 kB / 0.5537 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.3966, allocations: 1.062 kB / 0.5537 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.703e-05/0.3967, allocations: 10.28 kB / 0.5537 GB, free: 8.727 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-06/0.3967, allocations: 3.25 kB / 0.5537 GB, free: 8.727 MB / 398.1 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 0.0001243/0.3968, allocations: 129.8 kB / 0.5538 GB, free: 8.598 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.615e-05/0.3968, allocations: 12.5 kB / 0.5539 GB, free: 8.59 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000251/0.3971, allocations: 115.6 kB / 0.554 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.3971, allocations: 1.344 kB / 0.554 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.3971, allocations: 0 / 0.554 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.3971, allocations: 3.938 kB / 0.554 GB, free: 8.508 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005221/0.3976, allocations: 369.6 kB / 0.5543 GB, free: 8.156 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.3976, allocations: 0 / 0.5543 GB, free: 8.156 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.177e-05/0.3977, allocations: 7.25 kB / 0.5543 GB, free: 8.156 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.3977, allocations: 1.188 kB / 0.5543 GB, free: 8.156 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.497e-05/0.3977, allocations: 18.17 kB / 0.5544 GB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.3977, allocations: 1.219 kB / 0.5544 GB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3977, allocations: 0 / 0.5544 GB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002658/0.398, allocations: 201.6 kB / 0.5545 GB, free: 7.969 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.434e-05/0.398, allocations: 19.23 kB / 0.5546 GB, free: 7.953 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.602e-05/0.398, allocations: 6.531 kB / 0.5546 GB, free: 7.949 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.967e-05/0.3981, allocations: 1.875 kB / 0.5546 GB, free: 7.949 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.556e-05/0.3981, allocations: 10.23 kB / 0.5546 GB, free: 7.941 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.009e-05/0.3981, allocations: 8.281 kB / 0.5546 GB, free: 7.938 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001201/0.3982, allocations: 130 kB / 0.5547 GB, free: 7.844 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3982, allocations: 4 kB / 0.5547 GB, free: 7.84 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000284/0.3985, allocations: 28.08 kB / 0.5547 GB, free: 7.828 MB / 398.1 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 (8): * Single equations (assignments): 6 * 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.001777/0.4003, allocations: 454 kB / 0.5552 GB, free: 7.617 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002243/0.4005, allocations: 64.03 kB / 0.5552 GB, free: 7.586 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.4005, allocations: 0 / 0.5552 GB, free: 7.586 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.462e-05/0.4006, allocations: 24.69 kB / 0.5553 GB, free: 7.578 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003656/0.401, allocations: 33.44 kB / 0.5553 GB, free: 7.559 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000491/0.4015, allocations: 211.5 kB / 0.5555 GB, free: 7.383 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003595/0.4018, allocations: 0.7036 MB / 0.5562 GB, free: 6.672 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.524e-05/0.4019, allocations: 18.39 kB / 0.5562 GB, free: 6.66 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.087e-05/0.4019, allocations: 15.47 kB / 0.5562 GB, free: 6.652 MB / 398.1 MB Notification: Performance of SimCode: time 4.21e-07/0.4019, allocations: 0 / 0.5562 GB, free: 6.652 MB / 398.1 MB Notification: Performance of Templates: time 0.005213/0.4071, allocations: 1.76 MB / 0.5579 GB, free: 5.602 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test15/Test15.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.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.205372992902994]