Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.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.001365/0.001365, allocations: 112.5 kB / 21.19 MB, free: 0.7617 MB / 14.72 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.001558/0.001558, allocations: 209.9 kB / 24.49 MB, free: 4.145 MB / 14.72 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.432/1.432, allocations: 230.6 MB / 258.3 MB, free: 7.996 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.2727/0.2727, allocations: 44.91 MB / 359.6 MB, free: 6.262 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.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.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24") translateModel(ModelicaTest.Tables.CombiTimeTable.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001915/0.001915, allocations: 59.91 kB / 0.4944 GB, free: 10.12 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.396/0.3979, allocations: 65.46 MB / 0.5583 GB, free: 7.84 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.003958/0.4019, allocations: 1.755 MB / 0.56 GB, free: 6.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001889/0.4038, allocations: 1.049 MB / 0.561 GB, free: 5.016 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.416e-05/0.4038, allocations: 4 kB / 0.5611 GB, free: 5.012 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003313/0.4042, allocations: 47.77 kB / 0.5611 GB, free: 4.965 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003235/0.4045, allocations: 95.59 kB / 0.5612 GB, free: 4.871 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002263/0.4047, allocations: 79.67 kB / 0.5613 GB, free: 4.793 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002104/0.4049, allocations: 103.6 kB / 0.5614 GB, free: 4.691 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/0.4051, allocations: 11.97 kB / 0.5614 GB, free: 4.68 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001212/0.4052, allocations: 43.8 kB / 0.5614 GB, free: 4.637 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001069/0.4053, allocations: 39.78 kB / 0.5615 GB, free: 4.598 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.092e-05/0.4053, allocations: 4 kB / 0.5615 GB, free: 4.594 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001117/0.4054, allocations: 39.97 kB / 0.5615 GB, free: 4.555 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.37e-05/0.4055, allocations: 23.92 kB / 0.5615 GB, free: 4.531 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.406e-05/0.4056, allocations: 35.69 kB / 0.5616 GB, free: 4.496 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002654/0.4058, allocations: 130.1 kB / 0.5617 GB, free: 4.371 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.421e-06/0.4058, allocations: 0 / 0.5617 GB, free: 4.371 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.4058, allocations: 4 kB / 0.5617 GB, free: 4.367 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.795e-06/0.4058, allocations: 0 / 0.5617 GB, free: 4.367 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.0006366/0.4065, allocations: 353.5 kB / 0.562 GB, free: 3.992 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.4065, allocations: 8.031 kB / 0.562 GB, free: 3.984 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.401e-05/0.4066, allocations: 12.88 kB / 0.562 GB, free: 3.973 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000343/0.4069, allocations: 158.3 kB / 0.5622 GB, free: 3.793 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.941e-05/0.4069, allocations: 4.375 kB / 0.5622 GB, free: 3.789 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.493e-05/0.407, allocations: 8.062 kB / 0.5622 GB, free: 3.781 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001787/0.4071, allocations: 53.67 kB / 0.5623 GB, free: 3.723 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.4071, allocations: 3.938 kB / 0.5623 GB, free: 3.719 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.4072, allocations: 4 kB / 0.5623 GB, free: 3.715 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.4072, allocations: 0 / 0.5623 GB, free: 3.715 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.941e-05/0.4072, allocations: 19.97 kB / 0.5623 GB, free: 3.695 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000472/0.4077, allocations: 271.9 kB / 0.5625 GB, free: 3.387 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002087/0.4079, allocations: 58.61 kB / 0.5626 GB, free: 3.32 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.241e-05/0.408, allocations: 16.86 kB / 0.5626 GB, free: 3.301 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.947e-05/0.408, allocations: 3.984 kB / 0.5626 GB, free: 3.297 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001744/0.4082, allocations: 67.39 kB / 0.5627 GB, free: 3.219 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.283e-06/0.4082, allocations: 0 / 0.5627 GB, free: 3.219 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006141/0.4088, allocations: 177.4 kB / 0.5628 GB, free: 3.039 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.731e-05/0.4089, allocations: 55.39 kB / 0.5629 GB, free: 2.973 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002553/0.4091, allocations: 214.6 kB / 0.5631 GB, free: 2.75 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.114e-05/0.4091, allocations: 29.7 kB / 0.5631 GB, free: 2.715 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.776e-05/0.4092, allocations: 108.1 kB / 0.5632 GB, free: 2.605 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.467e-05/0.4093, allocations: 19.86 kB / 0.5633 GB, free: 2.586 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.545e-05/0.4093, allocations: 33.64 kB / 0.5633 GB, free: 2.547 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002405/0.4096, allocations: 330.8 kB / 0.5636 GB, free: 2.215 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.623e-05/0.4096, allocations: 20.3 kB / 0.5636 GB, free: 2.195 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.271e-05/0.4097, allocations: 33.72 kB / 0.5637 GB, free: 2.156 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001222/0.4098, allocations: 57.7 kB / 0.5637 GB, free: 2.094 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.4098, allocations: 4 kB / 0.5637 GB, free: 2.09 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002075/0.41, allocations: 113.5 kB / 0.5638 GB, free: 1.973 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/0.4101, allocations: 4 kB / 0.5638 GB, free: 1.969 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.4101, allocations: 0 / 0.5638 GB, free: 1.969 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.4101, allocations: 4 kB / 0.5638 GB, free: 1.965 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.974e-05/0.4102, allocations: 12 kB / 0.5638 GB, free: 1.953 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.4102, allocations: 0 / 0.5638 GB, free: 1.953 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.623e-05/0.4102, allocations: 15.92 kB / 0.5639 GB, free: 1.938 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.4103, allocations: 0 / 0.5639 GB, free: 1.938 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.0001328/0.4104, allocations: 133.8 kB / 0.564 GB, free: 1.797 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.56e-05/0.4104, allocations: 15.89 kB / 0.564 GB, free: 1.781 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002528/0.4107, allocations: 107.1 kB / 0.5641 GB, free: 1.664 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.4107, allocations: 0 / 0.5641 GB, free: 1.664 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.4107, allocations: 3.984 kB / 0.5641 GB, free: 1.66 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.4107, allocations: 3.938 kB / 0.5641 GB, free: 1.656 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005104/0.4112, allocations: 370.5 kB / 0.5645 GB, free: 1.242 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.4112, allocations: 4 kB / 0.5645 GB, free: 1.238 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.626e-05/0.4112, allocations: 19.97 kB / 0.5645 GB, free: 1.219 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.4112, allocations: 0 / 0.5645 GB, free: 1.219 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.333e-05/0.4112, allocations: 7.922 kB / 0.5645 GB, free: 1.211 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.4112, allocations: 0 / 0.5645 GB, free: 1.211 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.4112, allocations: 4 kB / 0.5645 GB, free: 1.207 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000269/0.4115, allocations: 200.4 kB / 0.5647 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.102e-05/0.4115, allocations: 11.95 kB / 0.5647 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.535e-05/0.4116, allocations: 7.938 kB / 0.5647 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.401e-05/0.4116, allocations: 4 kB / 0.5647 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.697e-05/0.4117, allocations: 3.984 kB / 0.5647 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.818e-05/0.4117, allocations: 8 kB / 0.5647 GB, free: 0.957 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001571/0.4118, allocations: 156.3 kB / 0.5649 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4118, allocations: 0 / 0.5649 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002651/0.4121, allocations: 27.92 kB / 0.5649 GB, free: 0.7773 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.001791/0.4139, allocations: 464.2 kB / 0.5653 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002055/0.4141, allocations: 67.89 kB / 0.5654 GB, free: 448 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.4141, allocations: 0 / 0.5654 GB, free: 448 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.822e-05/0.4142, allocations: 24.06 kB / 0.5654 GB, free: 424 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00036/0.4146, allocations: 34.14 kB / 0.5655 GB, free: 392 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005484/0.4151, allocations: 264.4 kB / 0.5657 GB, free: 92 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004034/0.4155, allocations: 0.7118 MB / 0.5664 GB, free: 15.35 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.57e-05/0.4156, allocations: 19.42 kB / 0.5664 GB, free: 15.34 MB / 414.1 MB Notification: Performance of SimCode: time 3.61e-07/0.4156, allocations: 4.062 kB / 0.5664 GB, free: 15.33 MB / 414.1 MB Notification: Performance of Templates: time 0.004479/0.42, allocations: 1.98 MB / 0.5684 GB, free: 13.35 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.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: 7.95149450795725]