Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001329/0.001329, 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 trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001497/0.001497, allocations: 214.3 kB / 23.73 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.712/1.712, allocations: 230.5 MB / 257.4 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2667/0.2667, allocations: 46.94 MB / 360.8 MB, free: 3.918 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43") translateModel(ModelicaTest.Tables.CombiTimeTable.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00276/0.00276, allocations: 87.86 kB / 0.4967 GB, free: 6.953 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4409/0.4436, allocations: 66.07 MB / 0.5612 GB, free: 3.906 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.004318/0.448, allocations: 1.724 MB / 0.5629 GB, free: 2.172 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002194/0.4501, allocations: 0.967 MB / 0.5639 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.392e-05/0.4502, allocations: 4 kB / 0.5639 GB, free: 1.195 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003595/0.4506, allocations: 43.77 kB / 0.5639 GB, free: 1.152 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003722/0.451, allocations: 91.59 kB / 0.564 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002331/0.4512, allocations: 79.67 kB / 0.5641 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002054/0.4514, allocations: 115.6 kB / 0.5642 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.4515, allocations: 4 kB / 0.5642 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.728e-05/0.4516, allocations: 39.8 kB / 0.5642 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001009/0.4517, allocations: 43.77 kB / 0.5643 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.046e-05/0.4517, allocations: 4 kB / 0.5643 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001172/0.4518, allocations: 39.98 kB / 0.5643 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.75e-05/0.4519, allocations: 23.92 kB / 0.5643 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.555e-05/0.452, allocations: 27.8 kB / 0.5644 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002675/0.4522, allocations: 137.8 kB / 0.5645 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.4522, allocations: 0 / 0.5645 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.4523, allocations: 0 / 0.5645 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.301e-06/0.4523, allocations: 0 / 0.5645 GB, free: 0.5625 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.000711/0.453, allocations: 349.5 kB / 0.5648 GB, free: 196 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.453, allocations: 16.03 kB / 0.5648 GB, free: 180 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.864e-05/0.4531, allocations: 8.891 kB / 0.5648 GB, free: 172 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003618/0.4534, allocations: 154.3 kB / 0.565 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.794e-05/0.4534, allocations: 384 / 0.565 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.82e-05/0.4535, allocations: 8.375 kB / 0.565 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001807/0.4536, allocations: 57.92 kB / 0.5651 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.549e-05/0.4537, allocations: 0 / 0.5651 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.697e-05/0.4537, allocations: 8 kB / 0.5651 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.4537, allocations: 0 / 0.5651 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.166e-05/0.4538, allocations: 19.98 kB / 0.5651 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004921/0.4543, allocations: 236.5 kB / 0.5653 GB, free: 15.63 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002236/0.4545, allocations: 66.55 kB / 0.5654 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.689e-05/0.4546, allocations: 24.78 kB / 0.5654 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.202e-05/0.4546, allocations: 0 / 0.5654 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001837/0.4548, allocations: 67.39 kB / 0.5655 GB, free: 15.45 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.463e-06/0.4548, allocations: 0 / 0.5655 GB, free: 15.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007875/0.4556, allocations: 181.3 kB / 0.5656 GB, free: 15.27 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.975e-05/0.4556, allocations: 51.41 kB / 0.5657 GB, free: 15.21 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002854/0.4559, allocations: 230.1 kB / 0.5659 GB, free: 14.97 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.884e-05/0.4559, allocations: 29.7 kB / 0.5659 GB, free: 14.93 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001091/0.456, allocations: 112.1 kB / 0.566 GB, free: 14.82 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.546e-05/0.4561, allocations: 19.86 kB / 0.5661 GB, free: 14.8 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.639e-05/0.4562, allocations: 25.7 kB / 0.5661 GB, free: 14.77 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001859/0.4563, allocations: 330.8 kB / 0.5664 GB, free: 14.44 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.001e-05/0.4564, allocations: 19.98 kB / 0.5664 GB, free: 14.42 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.289e-05/0.4565, allocations: 38.02 kB / 0.5665 GB, free: 14.38 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001344/0.4566, allocations: 65.69 kB / 0.5665 GB, free: 14.3 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.4566, allocations: 4 kB / 0.5665 GB, free: 14.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002429/0.4569, allocations: 113.6 kB / 0.5666 GB, free: 14.18 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.4569, allocations: 4 kB / 0.5666 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.4569, allocations: 4 kB / 0.5666 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.254e-05/0.4569, allocations: 0 / 0.5666 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001103/0.457, allocations: 15.98 kB / 0.5667 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.457, allocations: 0 / 0.5667 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.792e-05/0.4571, allocations: 4 kB / 0.5667 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.144e-05/0.4571, allocations: 4 kB / 0.5667 GB, free: 14.15 MB / 414.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.0001472/0.4573, allocations: 137.7 kB / 0.5668 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.489e-05/0.4573, allocations: 15.91 kB / 0.5668 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003212/0.4576, allocations: 119 kB / 0.5669 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.4576, allocations: 0 / 0.5669 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.754e-06/0.4576, allocations: 0 / 0.5669 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.4576, allocations: 7.984 kB / 0.5669 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006168/0.4582, allocations: 351.2 kB / 0.5673 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.4582, allocations: 0 / 0.5673 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.942e-05/0.4583, allocations: 15.98 kB / 0.5673 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.4583, allocations: 3.938 kB / 0.5673 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.4583, allocations: 4.031 kB / 0.5673 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.06e-06/0.4583, allocations: 4 kB / 0.5673 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.4583, allocations: 0 / 0.5673 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003208/0.4586, allocations: 220.2 kB / 0.5675 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.963e-05/0.4587, allocations: 15.92 kB / 0.5675 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.562e-05/0.4587, allocations: 0 / 0.5675 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.787e-05/0.4588, allocations: 4 kB / 0.5675 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.922e-05/0.4588, allocations: 11.92 kB / 0.5675 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.828e-05/0.4588, allocations: 4 kB / 0.5675 GB, free: 13.18 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000184/0.459, allocations: 155.2 kB / 0.5677 GB, free: 13.02 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.459, allocations: 7.938 kB / 0.5677 GB, free: 13.02 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003102/0.4593, allocations: 27.98 kB / 0.5677 GB, free: 12.99 MB / 414.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.001973/0.4613, allocations: 479.2 kB / 0.5682 GB, free: 12.69 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002194/0.4615, allocations: 59.97 kB / 0.5682 GB, free: 12.63 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.4615, allocations: 0 / 0.5682 GB, free: 12.63 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.48e-05/0.4616, allocations: 35.92 kB / 0.5683 GB, free: 12.59 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004018/0.462, allocations: 33.19 kB / 0.5683 GB, free: 12.57 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006215/0.4626, allocations: 242.9 kB / 0.5685 GB, free: 12.3 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001218/0.4628, allocations: 100.7 kB / 0.5686 GB, free: 12.18 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.699e-05/0.4628, allocations: 21.03 kB / 0.5686 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.752e-05/0.4629, allocations: 19.42 kB / 0.5687 GB, free: 12.14 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.4629, allocations: 0 / 0.5687 GB, free: 12.14 MB / 414.1 MB Notification: Performance of Templates: time 0.006505/0.4694, allocations: 1.912 MB / 0.5705 GB, free: 10.25 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test43/Test43.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.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.608215246349573]