Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.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.001276/0.001276, allocations: 110 kB / 21.23 MB, free: 0.6602 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.001368/0.001368, allocations: 186.2 kB / 24.51 MB, free: 4.035 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.568/1.568, allocations: 225.6 MB / 253.3 MB, free: 13.02 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.2413/0.2413, allocations: 44.92 MB / 353.5 MB, free: 11.81 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.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84") translateModel(ModelicaTest.Tables.CombiTimeTable.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002048/0.002048, allocations: 71.88 kB / 497.8 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4659/0.468, allocations: 64.29 MB / 0.5489 GB, free: 13.14 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.005718/0.4737, allocations: 1.737 MB / 0.5506 GB, free: 11.78 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004458/0.4781, allocations: 1.584 MB / 0.5521 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001953/0.4783, allocations: 9 kB / 0.5521 GB, free: 10.53 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005197/0.4789, allocations: 37.36 kB / 0.5522 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005029/0.4794, allocations: 57.73 kB / 0.5522 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006738/0.48, allocations: 115.1 kB / 0.5523 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000299/0.4803, allocations: 103.4 kB / 0.5524 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001451/0.4805, allocations: 3.297 kB / 0.5524 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001353/0.4806, allocations: 41.3 kB / 0.5525 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002162/0.4808, allocations: 49.83 kB / 0.5525 GB, free: 10.26 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.982e-05/0.4809, allocations: 4.281 kB / 0.5525 GB, free: 10.26 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002332/0.4811, allocations: 60.5 kB / 0.5526 GB, free: 10.23 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.335e-05/0.4812, allocations: 20.45 kB / 0.5526 GB, free: 10.22 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.955e-05/0.4813, allocations: 31.48 kB / 0.5526 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000391/0.4817, allocations: 121.1 kB / 0.5527 GB, free: 10.12 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.4817, allocations: 1.125 kB / 0.5527 GB, free: 10.12 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.4817, allocations: 0 / 0.5527 GB, free: 10.12 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.4817, allocations: 0 / 0.5527 GB, free: 10.12 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.000828/0.4825, allocations: 337.5 kB / 0.5531 GB, free: 9.793 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.866e-05/0.4826, allocations: 10.45 kB / 0.5531 GB, free: 9.793 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.245e-05/0.4826, allocations: 9.391 kB / 0.5531 GB, free: 9.789 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000479/0.4831, allocations: 147.1 kB / 0.5532 GB, free: 9.633 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.768e-05/0.4831, allocations: 2.719 kB / 0.5532 GB, free: 9.633 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.404e-05/0.4832, allocations: 10.53 kB / 0.5532 GB, free: 9.625 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000325/0.4835, allocations: 77.3 kB / 0.5533 GB, free: 9.551 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.91e-05/0.4835, allocations: 0 / 0.5533 GB, free: 9.551 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.826e-05/0.4835, allocations: 1.344 kB / 0.5533 GB, free: 9.551 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.4835, allocations: 0 / 0.5533 GB, free: 9.551 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001161/0.4837, allocations: 19.45 kB / 0.5533 GB, free: 9.543 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005798/0.4842, allocations: 259.1 kB / 0.5536 GB, free: 9.266 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002681/0.4845, allocations: 51.59 kB / 0.5536 GB, free: 9.227 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.065e-05/0.4846, allocations: 20.94 kB / 0.5537 GB, free: 9.211 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.076e-05/0.4846, allocations: 1.031 kB / 0.5537 GB, free: 9.211 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002319/0.4849, allocations: 69.17 kB / 0.5537 GB, free: 9.145 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.683e-06/0.4849, allocations: 0 / 0.5537 GB, free: 9.145 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008987/0.4858, allocations: 173.4 kB / 0.5539 GB, free: 9.043 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.172e-05/0.4858, allocations: 78.42 kB / 0.554 GB, free: 8.949 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002765/0.4861, allocations: 151.1 kB / 0.5541 GB, free: 8.824 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.747e-05/0.4862, allocations: 27.86 kB / 0.5541 GB, free: 8.793 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.12e-05/0.4862, allocations: 95.42 kB / 0.5542 GB, free: 8.699 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.737e-05/0.4863, allocations: 39.05 kB / 0.5543 GB, free: 8.664 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.644e-05/0.4864, allocations: 21.41 kB / 0.5543 GB, free: 8.645 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002023/0.4866, allocations: 324.9 kB / 0.5546 GB, free: 8.32 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.295e-05/0.4867, allocations: 23.73 kB / 0.5546 GB, free: 8.309 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001084/0.4868, allocations: 44.28 kB / 0.5547 GB, free: 8.27 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001738/0.4869, allocations: 60.06 kB / 0.5547 GB, free: 8.23 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.4869, allocations: 3.938 kB / 0.5547 GB, free: 8.227 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002991/0.4872, allocations: 102.6 kB / 0.5548 GB, free: 8.16 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.438e-05/0.4873, allocations: 5.812 kB / 0.5548 GB, free: 8.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.4873, allocations: 384 / 0.5548 GB, free: 8.16 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.856e-05/0.4873, allocations: 1.094 kB / 0.5548 GB, free: 8.16 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001308/0.4874, allocations: 17.08 kB / 0.5548 GB, free: 8.156 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.4874, allocations: 1.375 kB / 0.5548 GB, free: 8.156 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.015e-05/0.4875, allocations: 10.25 kB / 0.5548 GB, free: 8.148 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.711e-05/0.4875, allocations: 11.22 kB / 0.5549 GB, free: 8.141 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.0001514/0.4877, allocations: 123.3 kB / 0.555 GB, free: 8.016 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.839e-05/0.4877, allocations: 13.41 kB / 0.555 GB, free: 8.008 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000425/0.4881, allocations: 105.5 kB / 0.5551 GB, free: 7.938 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.4881, allocations: 1.406 kB / 0.5551 GB, free: 7.938 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.4881, allocations: 0 / 0.5551 GB, free: 7.938 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.315e-06/0.4882, allocations: 3.938 kB / 0.5551 GB, free: 7.934 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006646/0.4888, allocations: 371.1 kB / 0.5554 GB, free: 7.578 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.4888, allocations: 0 / 0.5554 GB, free: 7.578 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.501e-05/0.4889, allocations: 7.656 kB / 0.5555 GB, free: 7.578 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.648e-06/0.4889, allocations: 1.219 kB / 0.5555 GB, free: 7.578 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.255e-05/0.4889, allocations: 10.31 kB / 0.5555 GB, free: 7.57 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.4889, allocations: 0 / 0.5555 GB, free: 7.57 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.4889, allocations: 1.25 kB / 0.5555 GB, free: 7.57 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003619/0.4893, allocations: 203.8 kB / 0.5557 GB, free: 7.395 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.069e-05/0.4893, allocations: 10.56 kB / 0.5557 GB, free: 7.387 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.912e-05/0.4893, allocations: 10.38 kB / 0.5557 GB, free: 7.379 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.4894, allocations: 1.938 kB / 0.5557 GB, free: 7.379 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.867e-05/0.4895, allocations: 7.391 kB / 0.5557 GB, free: 7.375 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.536e-05/0.4895, allocations: 3.406 kB / 0.5557 GB, free: 7.375 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001764/0.4897, allocations: 120 kB / 0.5558 GB, free: 7.277 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4897, allocations: 0 / 0.5558 GB, free: 7.277 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004718/0.4902, allocations: 33.25 kB / 0.5558 GB, free: 7.266 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.002469/0.4926, allocations: 0.5035 MB / 0.5563 GB, free: 7.02 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003155/0.493, allocations: 48.73 kB / 0.5564 GB, free: 7.004 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.493, allocations: 0 / 0.5564 GB, free: 7.004 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001138/0.4931, allocations: 31.61 kB / 0.5564 GB, free: 6.988 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005268/0.4936, allocations: 33.48 kB / 0.5564 GB, free: 6.973 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000776/0.4944, allocations: 203.7 kB / 0.5566 GB, free: 6.793 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005477/0.4949, allocations: 0.6973 MB / 0.5573 GB, free: 6.086 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.99e-05/0.495, allocations: 18.8 kB / 0.5573 GB, free: 6.074 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.129e-05/0.4951, allocations: 16.28 kB / 0.5573 GB, free: 6.066 MB / 398.1 MB Notification: Performance of SimCode: time 9.22e-07/0.4951, allocations: 5.156 kB / 0.5574 GB, free: 6.062 MB / 398.1 MB Notification: Performance of Templates: time 0.008647/0.5037, allocations: 1.992 MB / 0.5593 GB, free: 4.594 MB / 398.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.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.665126913227141]