Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.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.00131/0.00131, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.001812/0.001812, allocations: 212.4 kB / 24.54 MB, free: 4.016 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.492/1.492, allocations: 230.3 MB / 258 MB, free: 8.266 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.2346/0.2346, allocations: 46.89 MB / 361.3 MB, free: 4.555 MB / 286.1 MB " [Timeout remaining time 180] 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.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40") translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002563/0.002563, allocations: 83.86 kB / 0.4971 GB, free: 7.551 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3976/0.4001, allocations: 66.02 MB / 0.5616 GB, free: 4.598 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.003844/0.404, allocations: 1.743 MB / 0.5633 GB, free: 2.844 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002316/0.4063, allocations: 1.045 MB / 0.5643 GB, free: 1.793 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.256e-05/0.4064, allocations: 4 kB / 0.5643 GB, free: 1.789 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004111/0.4068, allocations: 87.62 kB / 0.5644 GB, free: 1.703 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000359/0.4072, allocations: 111.6 kB / 0.5645 GB, free: 1.594 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002292/0.4074, allocations: 83.66 kB / 0.5646 GB, free: 1.512 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002175/0.4076, allocations: 119.6 kB / 0.5647 GB, free: 1.395 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.4077, allocations: 7.984 kB / 0.5647 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000121/0.4078, allocations: 59.7 kB / 0.5648 GB, free: 1.328 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001338/0.408, allocations: 67.81 kB / 0.5648 GB, free: 1.262 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.408, allocations: 4 kB / 0.5648 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001135/0.4081, allocations: 43.98 kB / 0.5649 GB, free: 1.215 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.196e-05/0.4082, allocations: 27.84 kB / 0.5649 GB, free: 1.188 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.423e-05/0.4083, allocations: 43.67 kB / 0.5649 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000259/0.4085, allocations: 118 kB / 0.5651 GB, free: 1.035 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.4085, allocations: 0 / 0.5651 GB, free: 1.035 MB / 398.1 MB Notification: Performance of FrontEnd: time 9.21e-07/0.4085, allocations: 0 / 0.5651 GB, free: 1.035 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.041e-06/0.4085, allocations: 0 / 0.5651 GB, free: 1.035 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.0006094/0.4091, allocations: 361.5 kB / 0.5654 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.4092, allocations: 12.03 kB / 0.5654 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.063e-05/0.4092, allocations: 12.84 kB / 0.5654 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003327/0.4096, allocations: 162.7 kB / 0.5656 GB, free: 456 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.804e-05/0.4096, allocations: 8.375 kB / 0.5656 GB, free: 448 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.576e-05/0.4096, allocations: 4.375 kB / 0.5656 GB, free: 444 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001731/0.4098, allocations: 57.98 kB / 0.5657 GB, free: 380 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.906e-05/0.4098, allocations: 3.984 kB / 0.5657 GB, free: 376 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/0.4098, allocations: 4 kB / 0.5657 GB, free: 372 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.4098, allocations: 0 / 0.5657 GB, free: 372 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.48e-05/0.4099, allocations: 23.98 kB / 0.5657 GB, free: 348 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004201/0.4103, allocations: 263.9 kB / 0.5659 GB, free: 40 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002027/0.4105, allocations: 58.61 kB / 0.566 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.371e-05/0.4106, allocations: 16.86 kB / 0.566 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.682e-05/0.4106, allocations: 4 kB / 0.566 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001807/0.4108, allocations: 71.38 kB / 0.5661 GB, free: 15.87 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.994e-06/0.4108, allocations: 0 / 0.5661 GB, free: 15.87 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005831/0.4114, allocations: 169.4 kB / 0.5662 GB, free: 15.7 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.883e-05/0.4114, allocations: 55.39 kB / 0.5663 GB, free: 15.63 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000254/0.4117, allocations: 223.6 kB / 0.5665 GB, free: 15.39 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.182e-05/0.4117, allocations: 25.7 kB / 0.5665 GB, free: 15.36 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/0.4118, allocations: 116.1 kB / 0.5666 GB, free: 15.24 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.787e-05/0.4119, allocations: 31.72 kB / 0.5667 GB, free: 15.21 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.659e-05/0.4119, allocations: 21.66 kB / 0.5667 GB, free: 15.18 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001893/0.4121, allocations: 326.8 kB / 0.567 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.627e-05/0.4122, allocations: 23.98 kB / 0.567 GB, free: 14.83 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.256e-05/0.4122, allocations: 37.64 kB / 0.5671 GB, free: 14.79 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001382/0.4124, allocations: 65.7 kB / 0.5671 GB, free: 14.72 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.4124, allocations: 0 / 0.5671 GB, free: 14.72 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001988/0.4126, allocations: 105.6 kB / 0.5672 GB, free: 14.61 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.4126, allocations: 4 kB / 0.5672 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.4126, allocations: 0 / 0.5672 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.4126, allocations: 0 / 0.5672 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001078/0.4127, allocations: 19.98 kB / 0.5672 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.438e-06/0.4127, allocations: 3.938 kB / 0.5673 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.591e-05/0.4128, allocations: 4.031 kB / 0.5673 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.337e-06/0.4128, allocations: 8 kB / 0.5673 GB, free: 14.57 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.0001478/0.4129, allocations: 135.1 kB / 0.5674 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.88e-05/0.413, allocations: 12.28 kB / 0.5674 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002687/0.4132, allocations: 119 kB / 0.5675 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.4132, allocations: 0 / 0.5675 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.4132, allocations: 0 / 0.5675 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.4132, allocations: 4 kB / 0.5675 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005528/0.4138, allocations: 378.3 kB / 0.5679 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.4138, allocations: 0 / 0.5679 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.683e-05/0.4138, allocations: 15.94 kB / 0.5679 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.4138, allocations: 0 / 0.5679 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.428e-05/0.4138, allocations: 4 kB / 0.5679 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.099e-06/0.4139, allocations: 3.938 kB / 0.5679 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.4139, allocations: 0 / 0.5679 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002894/0.4141, allocations: 204.3 kB / 0.5681 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.306e-05/0.4142, allocations: 11.94 kB / 0.5681 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.827e-05/0.4142, allocations: 4 kB / 0.5681 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.137e-05/0.4143, allocations: 3.938 kB / 0.5681 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.258e-05/0.4143, allocations: 7.984 kB / 0.5681 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.941e-05/0.4143, allocations: 15.88 kB / 0.5681 GB, free: 13.58 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001632/0.4145, allocations: 169.1 kB / 0.5683 GB, free: 13.41 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4145, allocations: 0 / 0.5683 GB, free: 13.41 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000267/0.4148, allocations: 31.88 kB / 0.5683 GB, free: 13.38 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.001741/0.4165, allocations: 453.4 kB / 0.5688 GB, free: 13.1 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002244/0.4167, allocations: 59.91 kB / 0.5688 GB, free: 13.04 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.4167, allocations: 0 / 0.5688 GB, free: 13.04 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.139e-05/0.4168, allocations: 27.98 kB / 0.5689 GB, free: 13.01 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003666/0.4172, allocations: 31.7 kB / 0.5689 GB, free: 12.98 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005533/0.4177, allocations: 255.3 kB / 0.5691 GB, free: 12.7 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004712/0.4182, allocations: 0.712 MB / 0.5698 GB, free: 11.96 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.041e-05/0.4182, allocations: 12.97 kB / 0.5698 GB, free: 11.95 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.335e-05/0.4183, allocations: 19.44 kB / 0.5699 GB, free: 11.93 MB / 414.1 MB Notification: Performance of SimCode: time 3.2e-07/0.4183, allocations: 3.938 kB / 0.5699 GB, free: 11.93 MB / 414.1 MB Notification: Performance of Templates: time 0.005638/0.4239, allocations: 1.791 MB / 0.5716 GB, free: 10.16 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.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.2104777013882995]