Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.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.001917/0.001917, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002013/0.002013, allocations: 215.3 kB / 23.73 MB, free: 4.156 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.587/1.587, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.2389/0.2389, allocations: 44.93 MB / 358.8 MB, free: 6.062 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.Test26,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.Test26") translateModel(ModelicaTest.Tables.CombiTimeTable.Test26,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.Test26") [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.002217/0.002217, allocations: 67.91 kB / 0.4936 GB, free: 9.969 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3993/0.4015, allocations: 65.48 MB / 0.5575 GB, free: 7.453 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.003544/0.405, allocations: 1.705 MB / 0.5592 GB, free: 5.734 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001976/0.407, allocations: 0.9676 MB / 0.5601 GB, free: 4.762 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.72e-05/0.4071, allocations: 7.938 kB / 0.5601 GB, free: 4.754 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003362/0.4074, allocations: 39.83 kB / 0.5602 GB, free: 4.715 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003596/0.4078, allocations: 99.53 kB / 0.5603 GB, free: 4.617 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002046/0.408, allocations: 83.66 kB / 0.5604 GB, free: 4.535 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002156/0.4082, allocations: 111.6 kB / 0.5605 GB, free: 4.426 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.4083, allocations: 4 kB / 0.5605 GB, free: 4.422 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.249e-05/0.4084, allocations: 47.78 kB / 0.5605 GB, free: 4.375 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001005/0.4085, allocations: 35.78 kB / 0.5605 GB, free: 4.34 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.881e-05/0.4085, allocations: 4 kB / 0.5605 GB, free: 4.336 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001092/0.4087, allocations: 39.98 kB / 0.5606 GB, free: 4.297 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.701e-05/0.4087, allocations: 23.91 kB / 0.5606 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.273e-05/0.4088, allocations: 23.81 kB / 0.5606 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002539/0.409, allocations: 133.8 kB / 0.5608 GB, free: 4.125 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.409, allocations: 0 / 0.5608 GB, free: 4.125 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.409, allocations: 4 kB / 0.5608 GB, free: 4.121 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.122e-06/0.409, allocations: 0 / 0.5608 GB, free: 4.121 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.0006618/0.4097, allocations: 353.5 kB / 0.5611 GB, free: 3.746 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.4097, allocations: 12.03 kB / 0.5611 GB, free: 3.734 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.485e-05/0.4098, allocations: 8.891 kB / 0.5611 GB, free: 3.727 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000277/0.4101, allocations: 154.3 kB / 0.5613 GB, free: 3.551 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.939e-05/0.4101, allocations: 4.375 kB / 0.5613 GB, free: 3.547 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.061e-05/0.4101, allocations: 8.125 kB / 0.5613 GB, free: 3.539 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001793/0.4103, allocations: 57.67 kB / 0.5613 GB, free: 3.477 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.791e-05/0.4103, allocations: 0 / 0.5613 GB, free: 3.477 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.4103, allocations: 7.938 kB / 0.5613 GB, free: 3.469 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.498e-06/0.4103, allocations: 7.984 kB / 0.5613 GB, free: 3.461 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.689e-05/0.4104, allocations: 19.92 kB / 0.5614 GB, free: 3.441 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003912/0.4108, allocations: 240.5 kB / 0.5616 GB, free: 3.176 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001769/0.411, allocations: 50.69 kB / 0.5616 GB, free: 3.117 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.236e-05/0.411, allocations: 24.84 kB / 0.5617 GB, free: 3.09 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.523e-05/0.4111, allocations: 0 / 0.5617 GB, free: 3.09 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001712/0.4112, allocations: 71.33 kB / 0.5617 GB, free: 3.008 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.4112, allocations: 4 kB / 0.5617 GB, free: 3.004 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005834/0.4118, allocations: 181.3 kB / 0.5619 GB, free: 2.82 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.495e-05/0.4119, allocations: 55.41 kB / 0.562 GB, free: 2.754 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002356/0.4121, allocations: 218.6 kB / 0.5622 GB, free: 2.527 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.874e-05/0.4121, allocations: 25.7 kB / 0.5622 GB, free: 2.496 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.289e-05/0.4122, allocations: 116.1 kB / 0.5623 GB, free: 2.379 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.386e-05/0.4122, allocations: 23.84 kB / 0.5623 GB, free: 2.355 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.932e-05/0.4123, allocations: 21.72 kB / 0.5624 GB, free: 2.328 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001665/0.4124, allocations: 330.8 kB / 0.5627 GB, free: 1.996 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.225e-05/0.4125, allocations: 19.98 kB / 0.5627 GB, free: 1.977 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.34e-05/0.4126, allocations: 45.64 kB / 0.5627 GB, free: 1.926 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001436/0.4127, allocations: 65.7 kB / 0.5628 GB, free: 1.855 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.4127, allocations: 0 / 0.5628 GB, free: 1.855 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001957/0.4129, allocations: 101.6 kB / 0.5629 GB, free: 1.75 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.4129, allocations: 7.984 kB / 0.5629 GB, free: 1.742 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.4129, allocations: 0 / 0.5629 GB, free: 1.742 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.413, allocations: 4 kB / 0.5629 GB, free: 1.738 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.48e-05/0.4131, allocations: 15.94 kB / 0.5629 GB, free: 1.723 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.421e-06/0.4131, allocations: 4.031 kB / 0.5629 GB, free: 1.719 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.077e-05/0.4131, allocations: 11.98 kB / 0.5629 GB, free: 1.707 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-06/0.4131, allocations: 0 / 0.5629 GB, free: 1.707 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.0001223/0.4132, allocations: 125.8 kB / 0.5631 GB, free: 1.574 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.691e-05/0.4133, allocations: 15.91 kB / 0.5631 GB, free: 1.559 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000291/0.4136, allocations: 131 kB / 0.5632 GB, free: 1.418 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.4136, allocations: 0 / 0.5632 GB, free: 1.418 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.261e-06/0.4136, allocations: 384 / 0.5632 GB, free: 1.418 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.157e-06/0.4136, allocations: 0 / 0.5632 GB, free: 1.418 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004833/0.4141, allocations: 358.9 kB / 0.5635 GB, free: 1.027 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.4141, allocations: 7.938 kB / 0.5635 GB, free: 1.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.837e-05/0.4141, allocations: 8 kB / 0.5635 GB, free: 1.012 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.4141, allocations: 4 kB / 0.5636 GB, free: 1.008 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.917e-06/0.4141, allocations: 0 / 0.5636 GB, free: 1.008 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.4141, allocations: 3.938 kB / 0.5636 GB, free: 1.004 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.4141, allocations: 7.938 kB / 0.5636 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002739/0.4144, allocations: 220.2 kB / 0.5638 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.933e-05/0.4144, allocations: 7.953 kB / 0.5638 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.207e-05/0.4144, allocations: 0 / 0.5638 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.18e-05/0.4145, allocations: 8.031 kB / 0.5638 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.68e-05/0.4145, allocations: 12.3 kB / 0.5638 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.479e-05/0.4146, allocations: 4 kB / 0.5638 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001708/0.4147, allocations: 163.2 kB / 0.564 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4147, allocations: 0 / 0.564 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002646/0.415, allocations: 23.94 kB / 0.564 GB, free: 0.5469 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 (9): * Single equations (assignments): 7 * 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.001932/0.4169, allocations: 490.3 kB / 0.5645 GB, free: 280 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002144/0.4171, allocations: 59.91 kB / 0.5645 GB, free: 220 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4171, allocations: 0 / 0.5645 GB, free: 220 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001072/0.4173, allocations: 40.06 kB / 0.5645 GB, free: 180 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003499/0.4176, allocations: 30.94 kB / 0.5646 GB, free: 152 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005392/0.4181, allocations: 251 kB / 0.5648 GB, free: 15.88 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001145/0.4183, allocations: 96.73 kB / 0.5649 GB, free: 15.76 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.31e-05/0.4183, allocations: 12.97 kB / 0.5649 GB, free: 15.75 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.042e-05/0.4184, allocations: 15.44 kB / 0.5649 GB, free: 15.73 MB / 414.1 MB Notification: Performance of SimCode: time 3e-07/0.4184, allocations: 0 / 0.5649 GB, free: 15.73 MB / 414.1 MB Notification: Performance of Templates: time 0.005596/0.4239, allocations: 1.931 MB / 0.5668 GB, free: 13.84 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test26/Test26.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.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.504452520981431]