Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.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.001485/0.001485, allocations: 100.6 kB / 21.22 MB, free: 0.6562 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.001696/0.001696, allocations: 185.2 kB / 24.51 MB, free: 4.012 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.519/1.519, allocations: 225.6 MB / 253.3 MB, free: 13.03 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.2672/0.2672, allocations: 44.91 MB / 353.5 MB, free: 11.82 MB / 286.1 MB " [Timeout remaining time 179] 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.Test28,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.Test28") translateModel(ModelicaTest.Tables.CombiTimeTable.Test28,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.Test28") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001972/0.001972, allocations: 71.88 kB / 497.8 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3873/0.3893, allocations: 64.3 MB / 0.5489 GB, free: 13.14 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.003588/0.3929, allocations: 1.729 MB / 0.5506 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00163/0.3945, allocations: 0.8999 MB / 0.5515 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.245e-05/0.3946, allocations: 1.156 kB / 0.5515 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003076/0.3949, allocations: 38.05 kB / 0.5515 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002316/0.3951, allocations: 53.22 kB / 0.5515 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003386/0.3955, allocations: 112.2 kB / 0.5516 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001739/0.3956, allocations: 102.2 kB / 0.5517 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.803e-05/0.3957, allocations: 11.14 kB / 0.5518 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001011/0.3958, allocations: 45.41 kB / 0.5518 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.139e-05/0.3959, allocations: 30.83 kB / 0.5518 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.279e-05/0.396, allocations: 6.328 kB / 0.5518 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001012/0.3961, allocations: 43.67 kB / 0.5519 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.837e-05/0.3961, allocations: 22.42 kB / 0.5519 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.678e-05/0.3962, allocations: 30.88 kB / 0.5519 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002161/0.3964, allocations: 114.9 kB / 0.552 GB, free: 10.71 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.3964, allocations: 3.938 kB / 0.552 GB, free: 10.7 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.3964, allocations: 1.094 kB / 0.552 GB, free: 10.7 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.59e-06/0.3964, allocations: 4 kB / 0.552 GB, free: 10.7 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.0006014/0.397, allocations: 346.2 kB / 0.5524 GB, free: 10.36 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.3971, allocations: 11.42 kB / 0.5524 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.536e-05/0.3971, allocations: 9.359 kB / 0.5524 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003149/0.3974, allocations: 145.2 kB / 0.5525 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.747e-05/0.3974, allocations: 1.469 kB / 0.5525 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.698e-05/0.3975, allocations: 14.58 kB / 0.5525 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001688/0.3976, allocations: 49.58 kB / 0.5526 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.3976, allocations: 5.156 kB / 0.5526 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.563e-05/0.3977, allocations: 4 kB / 0.5526 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.3977, allocations: 1.281 kB / 0.5526 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.884e-05/0.3977, allocations: 22.48 kB / 0.5526 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004212/0.3982, allocations: 256.9 kB / 0.5529 GB, free: 9.855 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001963/0.3984, allocations: 52.64 kB / 0.5529 GB, free: 9.816 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.681e-05/0.3984, allocations: 20.17 kB / 0.5529 GB, free: 9.801 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.162e-05/0.3985, allocations: 1.156 kB / 0.5529 GB, free: 9.801 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001681/0.3986, allocations: 72.94 kB / 0.553 GB, free: 9.73 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.423e-06/0.3986, allocations: 0 / 0.553 GB, free: 9.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005846/0.3992, allocations: 173.9 kB / 0.5532 GB, free: 9.629 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.744e-05/0.3993, allocations: 52.53 kB / 0.5532 GB, free: 9.566 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001915/0.3995, allocations: 187.9 kB / 0.5534 GB, free: 9.426 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.786e-05/0.3995, allocations: 26.77 kB / 0.5534 GB, free: 9.395 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.861e-05/0.3996, allocations: 100.8 kB / 0.5535 GB, free: 9.297 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.307e-05/0.3996, allocations: 24.36 kB / 0.5536 GB, free: 9.277 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.1e-05/0.3996, allocations: 23.73 kB / 0.5536 GB, free: 9.254 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.3998, allocations: 330.3 kB / 0.5539 GB, free: 8.926 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.6e-05/0.3998, allocations: 15.34 kB / 0.5539 GB, free: 8.922 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.209e-05/0.3999, allocations: 39.67 kB / 0.5539 GB, free: 8.891 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001225/0.4, allocations: 62.7 kB / 0.554 GB, free: 8.848 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.4, allocations: 384 / 0.554 GB, free: 8.848 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002008/0.4002, allocations: 99.53 kB / 0.5541 GB, free: 8.785 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.4003, allocations: 9.906 kB / 0.5541 GB, free: 8.781 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/0.4003, allocations: 4.016 kB / 0.5541 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.4003, allocations: 5.188 kB / 0.5541 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.426e-05/0.4004, allocations: 17.31 kB / 0.5541 GB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.168e-06/0.4004, allocations: 5.109 kB / 0.5541 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.332e-05/0.4004, allocations: 18.14 kB / 0.5542 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.185e-06/0.4004, allocations: 2.344 kB / 0.5542 GB, free: 8.75 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.0001155/0.4006, allocations: 127.2 kB / 0.5543 GB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.642e-05/0.4006, allocations: 12.84 kB / 0.5543 GB, free: 8.617 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002713/0.4009, allocations: 114.9 kB / 0.5544 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.4009, allocations: 2.031 kB / 0.5544 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.4009, allocations: 4 kB / 0.5544 GB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.4009, allocations: 7.922 kB / 0.5544 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000473/0.4013, allocations: 356.8 kB / 0.5548 GB, free: 8.188 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.4013, allocations: 1.25 kB / 0.5548 GB, free: 8.188 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.484e-05/0.4014, allocations: 11.52 kB / 0.5548 GB, free: 8.184 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.544e-06/0.4014, allocations: 1.281 kB / 0.5548 GB, free: 8.184 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/0.4014, allocations: 4.906 kB / 0.5548 GB, free: 8.18 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.043e-06/0.4014, allocations: 1.188 kB / 0.5548 GB, free: 8.18 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.4014, allocations: 5.312 kB / 0.5548 GB, free: 8.176 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002458/0.4016, allocations: 199.7 kB / 0.555 GB, free: 8.004 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.037e-05/0.4017, allocations: 11.5 kB / 0.555 GB, free: 7.996 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.904e-05/0.4017, allocations: 10.33 kB / 0.555 GB, free: 7.988 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.12e-05/0.4018, allocations: 5.094 kB / 0.555 GB, free: 7.984 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.715e-05/0.4018, allocations: 7.422 kB / 0.555 GB, free: 7.98 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.469e-05/0.4018, allocations: 7.438 kB / 0.555 GB, free: 7.977 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001237/0.4019, allocations: 141.6 kB / 0.5551 GB, free: 7.875 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4019, allocations: 0 / 0.5551 GB, free: 7.875 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002612/0.4022, allocations: 28.17 kB / 0.5552 GB, free: 7.863 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.001681/0.4039, allocations: 469.5 kB / 0.5556 GB, free: 7.637 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002097/0.4041, allocations: 61.27 kB / 0.5557 GB, free: 7.609 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.4041, allocations: 3.938 kB / 0.5557 GB, free: 7.605 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.329e-05/0.4042, allocations: 22.56 kB / 0.5557 GB, free: 7.598 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003799/0.4046, allocations: 37.23 kB / 0.5557 GB, free: 7.578 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004888/0.405, allocations: 226 kB / 0.556 GB, free: 7.391 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003694/0.4054, allocations: 0.7036 MB / 0.5566 GB, free: 6.68 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.277e-05/0.4055, allocations: 15 kB / 0.5567 GB, free: 6.676 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.448e-05/0.4055, allocations: 18.25 kB / 0.5567 GB, free: 6.664 MB / 398.1 MB Notification: Performance of SimCode: time 3.3e-07/0.4055, allocations: 1.062 kB / 0.5567 GB, free: 6.664 MB / 398.1 MB Notification: Performance of Templates: time 0.005712/0.4112, allocations: 1.753 MB / 0.5584 GB, free: 5.539 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test28/Test28.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.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.3726448668166995]