Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.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.001871/0.001871, 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.002428/0.002428, allocations: 213 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.539/1.539, 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.2508/0.2508, allocations: 46.94 MB / 360.8 MB, free: 3.926 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.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17") translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002519/0.002519, allocations: 79.88 kB / 0.4967 GB, free: 6.977 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3913/0.3938, allocations: 66.08 MB / 0.5612 GB, free: 3.941 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.003397/0.3972, allocations: 1.721 MB / 0.5629 GB, free: 2.207 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001968/0.3992, allocations: 0.9632 MB / 0.5639 GB, free: 1.238 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.235e-05/0.3993, allocations: 0 / 0.5639 GB, free: 1.238 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003008/0.3996, allocations: 39.77 kB / 0.5639 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003955/0.4, allocations: 99.59 kB / 0.564 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002153/0.4002, allocations: 79.62 kB / 0.5641 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001961/0.4004, allocations: 111.6 kB / 0.5642 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.4005, allocations: 8 kB / 0.5642 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.435e-05/0.4006, allocations: 43.78 kB / 0.5642 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.377e-05/0.4007, allocations: 35.78 kB / 0.5643 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.806e-05/0.4007, allocations: 4 kB / 0.5643 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001038/0.4008, allocations: 39.98 kB / 0.5643 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.733e-05/0.4009, allocations: 19.92 kB / 0.5643 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.121e-05/0.4009, allocations: 23.84 kB / 0.5643 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000234/0.4012, allocations: 133.8 kB / 0.5645 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.4012, allocations: 0 / 0.5645 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.4012, allocations: 0 / 0.5645 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.11e-06/0.4012, allocations: 0 / 0.5645 GB, free: 0.6172 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.0006997/0.4019, allocations: 345.6 kB / 0.5648 GB, free: 256 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.4019, allocations: 8.031 kB / 0.5648 GB, free: 248 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.581e-05/0.4019, allocations: 12.84 kB / 0.5648 GB, free: 236 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002824/0.4022, allocations: 143.7 kB / 0.565 GB, free: 68 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.622e-05/0.4022, allocations: 384 / 0.565 GB, free: 68 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.773e-05/0.4023, allocations: 8.375 kB / 0.565 GB, free: 60 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001809/0.4025, allocations: 61.92 kB / 0.565 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.614e-05/0.4025, allocations: 0 / 0.565 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.545e-05/0.4025, allocations: 8 kB / 0.565 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.4025, allocations: 0 / 0.565 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.886e-05/0.4026, allocations: 19.98 kB / 0.565 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003927/0.403, allocations: 228.6 kB / 0.5653 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000202/0.4032, allocations: 66.53 kB / 0.5653 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.859e-05/0.4032, allocations: 20.84 kB / 0.5653 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.673e-05/0.4032, allocations: 0 / 0.5653 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001664/0.4034, allocations: 71.39 kB / 0.5654 GB, free: 15.53 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.4034, allocations: 0 / 0.5654 GB, free: 15.53 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005772/0.404, allocations: 181.3 kB / 0.5656 GB, free: 15.35 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.67e-05/0.404, allocations: 51.41 kB / 0.5656 GB, free: 15.29 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002086/0.4042, allocations: 195.2 kB / 0.5658 GB, free: 15.08 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.357e-05/0.4043, allocations: 29.7 kB / 0.5659 GB, free: 15.05 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.322e-05/0.4043, allocations: 104.1 kB / 0.566 GB, free: 14.94 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.625e-05/0.4044, allocations: 19.86 kB / 0.566 GB, free: 14.92 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.478e-05/0.4044, allocations: 25.7 kB / 0.566 GB, free: 14.89 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001635/0.4046, allocations: 330.8 kB / 0.5663 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.877e-05/0.4046, allocations: 20 kB / 0.5663 GB, free: 14.54 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.763e-05/0.4047, allocations: 45.95 kB / 0.5664 GB, free: 14.49 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001197/0.4048, allocations: 57.7 kB / 0.5664 GB, free: 14.43 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.4048, allocations: 0 / 0.5664 GB, free: 14.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002036/0.405, allocations: 117.5 kB / 0.5665 GB, free: 14.3 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.4051, allocations: 4 kB / 0.5665 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.946e-06/0.4051, allocations: 4 kB / 0.5665 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.4051, allocations: 0 / 0.5665 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.418e-05/0.4052, allocations: 20.02 kB / 0.5666 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.4052, allocations: 0 / 0.5666 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.7e-05/0.4052, allocations: 4 kB / 0.5666 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.122e-05/0.4052, allocations: 8 kB / 0.5666 GB, free: 14.27 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.0001253/0.4054, allocations: 129.7 kB / 0.5667 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.107e-05/0.4054, allocations: 7.953 kB / 0.5667 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002941/0.4057, allocations: 123 kB / 0.5668 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.4057, allocations: 4 kB / 0.5668 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.4057, allocations: 0 / 0.5668 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.4057, allocations: 0 / 0.5668 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005077/0.4062, allocations: 359 kB / 0.5672 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.4062, allocations: 0 / 0.5672 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.765e-05/0.4062, allocations: 8 kB / 0.5672 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.4062, allocations: 4 kB / 0.5672 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.441e-05/0.4063, allocations: 4 kB / 0.5672 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.4063, allocations: 0 / 0.5672 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.4063, allocations: 0 / 0.5672 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003091/0.4066, allocations: 220.2 kB / 0.5674 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.022e-05/0.4066, allocations: 7.953 kB / 0.5674 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.07e-05/0.4066, allocations: 12.03 kB / 0.5674 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.742e-05/0.4067, allocations: 384 / 0.5674 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.164e-05/0.4067, allocations: 11.92 kB / 0.5674 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.76e-05/0.4068, allocations: 7.938 kB / 0.5674 GB, free: 13.3 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000145/0.4069, allocations: 144.9 kB / 0.5676 GB, free: 13.16 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4069, allocations: 3.938 kB / 0.5676 GB, free: 13.16 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002677/0.4072, allocations: 20 kB / 0.5676 GB, free: 13.14 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.001907/0.4091, allocations: 489.1 kB / 0.5681 GB, free: 12.83 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002411/0.4093, allocations: 63.91 kB / 0.5681 GB, free: 12.77 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.4093, allocations: 0 / 0.5681 GB, free: 12.77 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.117e-05/0.4094, allocations: 23.94 kB / 0.5681 GB, free: 12.75 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000396/0.4098, allocations: 31.97 kB / 0.5682 GB, free: 12.71 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005918/0.4104, allocations: 227.5 kB / 0.5684 GB, free: 12.46 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001072/0.4105, allocations: 92.12 kB / 0.5685 GB, free: 12.35 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.388e-05/0.4106, allocations: 21.2 kB / 0.5685 GB, free: 12.33 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.22e-05/0.4106, allocations: 23.42 kB / 0.5685 GB, free: 12.31 MB / 414.1 MB Notification: Performance of SimCode: time 5.42e-07/0.4106, allocations: 0 / 0.5685 GB, free: 12.31 MB / 414.1 MB Notification: Performance of Templates: time 0.005346/0.416, allocations: 1.903 MB / 0.5704 GB, free: 10.43 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.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.283460538834333]