Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.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.001613/0.001613, allocations: 105.1 kB / 21.22 MB, free: 0.6797 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.001755/0.001755, allocations: 209.7 kB / 24.54 MB, free: 4.055 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.527/1.527, allocations: 230.3 MB / 258 MB, free: 8.25 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.2813/0.2813, allocations: 46.89 MB / 361.3 MB, free: 4.438 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.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21") translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002348/0.002348, allocations: 80.09 kB / 0.4971 GB, free: 7.531 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3628/0.3652, allocations: 66.02 MB / 0.5616 GB, free: 4.633 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.003257/0.3684, allocations: 1.745 MB / 0.5633 GB, free: 2.875 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001789/0.3702, allocations: 1.051 MB / 0.5643 GB, free: 1.82 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.511e-05/0.3703, allocations: 4 kB / 0.5643 GB, free: 1.816 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002929/0.3706, allocations: 51.69 kB / 0.5644 GB, free: 1.766 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003289/0.3709, allocations: 95.59 kB / 0.5645 GB, free: 1.672 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001916/0.3711, allocations: 75.69 kB / 0.5645 GB, free: 1.598 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001959/0.3713, allocations: 103.7 kB / 0.5646 GB, free: 1.496 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001282/0.3714, allocations: 11.98 kB / 0.5647 GB, free: 1.484 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001224/0.3716, allocations: 51.72 kB / 0.5647 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.163e-05/0.3717, allocations: 23.86 kB / 0.5647 GB, free: 1.41 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.235e-05/0.3717, allocations: 7.938 kB / 0.5647 GB, free: 1.402 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001269/0.3718, allocations: 43.97 kB / 0.5648 GB, free: 1.359 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.587e-05/0.3719, allocations: 23.92 kB / 0.5648 GB, free: 1.336 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.81e-05/0.372, allocations: 39.67 kB / 0.5648 GB, free: 1.297 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002293/0.3722, allocations: 122 kB / 0.565 GB, free: 1.184 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3722, allocations: 0 / 0.565 GB, free: 1.184 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.3722, allocations: 7.938 kB / 0.565 GB, free: 1.176 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.3722, allocations: 0 / 0.565 GB, free: 1.176 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.0005743/0.3728, allocations: 345.6 kB / 0.5653 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.3728, allocations: 12.03 kB / 0.5653 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.029e-05/0.3729, allocations: 8.891 kB / 0.5653 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002556/0.3731, allocations: 151 kB / 0.5655 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/0.3731, allocations: 4.312 kB / 0.5655 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.368e-05/0.3732, allocations: 8.359 kB / 0.5655 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000162/0.3733, allocations: 61.98 kB / 0.5655 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.3733, allocations: 0 / 0.5655 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-06/0.3733, allocations: 0 / 0.5655 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.311e-06/0.3733, allocations: 4 kB / 0.5655 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.592e-05/0.3734, allocations: 15.98 kB / 0.5655 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003662/0.3738, allocations: 263.9 kB / 0.5658 GB, free: 224 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001762/0.374, allocations: 58.61 kB / 0.5659 GB, free: 156 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.646e-05/0.374, allocations: 20.84 kB / 0.5659 GB, free: 132 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.947e-05/0.374, allocations: 0 / 0.5659 GB, free: 132 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001526/0.3742, allocations: 75.38 kB / 0.5659 GB, free: 44 kB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.3742, allocations: 0 / 0.5659 GB, free: 44 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005437/0.3747, allocations: 177.3 kB / 0.5661 GB, free: 15.86 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.878e-05/0.3748, allocations: 55.41 kB / 0.5662 GB, free: 15.8 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002055/0.375, allocations: 198.2 kB / 0.5664 GB, free: 15.59 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.027e-05/0.375, allocations: 29.7 kB / 0.5664 GB, free: 15.56 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.284e-05/0.3751, allocations: 104.1 kB / 0.5665 GB, free: 15.45 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.01e-05/0.3751, allocations: 23.8 kB / 0.5665 GB, free: 15.43 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.372e-05/0.3752, allocations: 25.7 kB / 0.5665 GB, free: 15.4 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.3753, allocations: 326.8 kB / 0.5668 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.762e-05/0.3754, allocations: 27.94 kB / 0.5669 GB, free: 15.04 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.584e-05/0.3754, allocations: 33.7 kB / 0.5669 GB, free: 15 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001194/0.3756, allocations: 61.7 kB / 0.567 GB, free: 14.94 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.3756, allocations: 192 / 0.567 GB, free: 14.94 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002041/0.3758, allocations: 101.5 kB / 0.5671 GB, free: 14.83 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.3758, allocations: 11.92 kB / 0.5671 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.3758, allocations: 4 kB / 0.5671 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.3758, allocations: 4.031 kB / 0.5671 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.185e-05/0.3759, allocations: 12 kB / 0.5671 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.3759, allocations: 0 / 0.5671 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.436e-05/0.3759, allocations: 8 kB / 0.5671 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.101e-05/0.3759, allocations: 7.984 kB / 0.5671 GB, free: 14.79 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.0001025/0.376, allocations: 127 kB / 0.5672 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.377e-05/0.3761, allocations: 11.91 kB / 0.5672 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002589/0.3763, allocations: 115.1 kB / 0.5673 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.3763, allocations: 4 kB / 0.5673 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.3763, allocations: 0 / 0.5673 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.3763, allocations: 0 / 0.5673 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004446/0.3768, allocations: 370.3 kB / 0.5677 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3768, allocations: 0 / 0.5677 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.424e-05/0.3768, allocations: 11.94 kB / 0.5677 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.3768, allocations: 0 / 0.5677 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.3768, allocations: 4 kB / 0.5677 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.357e-06/0.3768, allocations: 3.938 kB / 0.5677 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.3768, allocations: 4.406 kB / 0.5677 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002424/0.3771, allocations: 204.6 kB / 0.5679 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.107e-05/0.3771, allocations: 11.94 kB / 0.5679 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.788e-05/0.3771, allocations: 11.94 kB / 0.5679 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.157e-05/0.3772, allocations: 7.938 kB / 0.5679 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.411e-05/0.3772, allocations: 11.98 kB / 0.568 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.59e-05/0.3772, allocations: 4 kB / 0.568 GB, free: 13.8 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001329/0.3774, allocations: 152.2 kB / 0.5681 GB, free: 13.66 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3774, allocations: 3.938 kB / 0.5681 GB, free: 13.65 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002511/0.3776, allocations: 23.94 kB / 0.5681 GB, free: 13.63 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 (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.001729/0.3794, allocations: 452.6 kB / 0.5686 GB, free: 13.34 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002127/0.3796, allocations: 59.89 kB / 0.5686 GB, free: 13.28 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.3796, allocations: 0 / 0.5686 GB, free: 13.28 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.552e-05/0.3797, allocations: 23.98 kB / 0.5686 GB, free: 13.26 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000354/0.38, allocations: 38.94 kB / 0.5687 GB, free: 13.23 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000451/0.3805, allocations: 238.8 kB / 0.5689 GB, free: 12.96 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003253/0.3808, allocations: 0.7002 MB / 0.5696 GB, free: 12.24 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.744e-05/0.3808, allocations: 25.2 kB / 0.5696 GB, free: 12.21 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.125e-05/0.3809, allocations: 19.44 kB / 0.5696 GB, free: 12.2 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3809, allocations: 0 / 0.5696 GB, free: 12.2 MB / 414.1 MB Notification: Performance of Templates: time 0.00511/0.386, allocations: 1.764 MB / 0.5714 GB, free: 10.45 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.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.303687416948378]