Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.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.001792/0.001792, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.00206/0.00206, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.526/1.526, allocations: 230.6 MB / 258.3 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2428/0.2428, allocations: 46.92 MB / 361.6 MB, free: 4.262 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48") translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00193/0.00193, allocations: 68.08 kB / 0.4975 GB, free: 7.32 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.383/0.385, allocations: 66.03 MB / 0.5619 GB, free: 4.371 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.003372/0.3883, allocations: 1.749 MB / 0.5636 GB, free: 2.605 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001799/0.3901, allocations: 1.049 MB / 0.5647 GB, free: 1.551 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.77e-05/0.3902, allocations: 3.938 kB / 0.5647 GB, free: 1.547 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003235/0.3905, allocations: 55.75 kB / 0.5647 GB, free: 1.492 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003159/0.3909, allocations: 107.5 kB / 0.5648 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002085/0.3911, allocations: 83.66 kB / 0.5649 GB, free: 1.305 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001847/0.3913, allocations: 95.75 kB / 0.565 GB, free: 1.211 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.826e-05/0.3913, allocations: 8 kB / 0.565 GB, free: 1.203 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000115/0.3915, allocations: 59.64 kB / 0.5651 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.348e-05/0.3915, allocations: 27.86 kB / 0.5651 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.737e-05/0.3916, allocations: 4 kB / 0.5651 GB, free: 1.113 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001017/0.3917, allocations: 39.98 kB / 0.5651 GB, free: 1.074 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.301e-05/0.3917, allocations: 31.84 kB / 0.5652 GB, free: 1.043 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.588e-05/0.3918, allocations: 47.67 kB / 0.5652 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002365/0.392, allocations: 137.8 kB / 0.5653 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.231e-06/0.392, allocations: 4 kB / 0.5653 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.346e-06/0.392, allocations: 3.984 kB / 0.5654 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.032e-06/0.392, allocations: 0 / 0.5654 GB, free: 0.8594 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.0005916/0.3926, allocations: 373.2 kB / 0.5657 GB, free: 476 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.3927, allocations: 12.03 kB / 0.5657 GB, free: 464 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.348e-05/0.3927, allocations: 12.84 kB / 0.5657 GB, free: 452 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002854/0.393, allocations: 163.3 kB / 0.5659 GB, free: 260 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.393, allocations: 4.359 kB / 0.5659 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.804e-05/0.393, allocations: 8.125 kB / 0.5659 GB, free: 248 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001541/0.3932, allocations: 57.61 kB / 0.566 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.3932, allocations: 0 / 0.566 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.3932, allocations: 0 / 0.566 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.3932, allocations: 4 kB / 0.566 GB, free: 180 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.046e-05/0.3933, allocations: 15.98 kB / 0.566 GB, free: 164 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004113/0.3937, allocations: 279.8 kB / 0.5662 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001649/0.3939, allocations: 58.61 kB / 0.5663 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.989e-05/0.3939, allocations: 20.84 kB / 0.5663 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.059e-05/0.394, allocations: 4 kB / 0.5663 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001544/0.3941, allocations: 67.39 kB / 0.5664 GB, free: 15.67 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.3941, allocations: 0 / 0.5664 GB, free: 15.67 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005345/0.3946, allocations: 181.6 kB / 0.5666 GB, free: 15.49 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.058e-05/0.3947, allocations: 51.41 kB / 0.5666 GB, free: 15.43 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002662/0.3949, allocations: 274.7 kB / 0.5669 GB, free: 15.14 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.265e-05/0.395, allocations: 33.7 kB / 0.5669 GB, free: 15.11 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.148e-05/0.3951, allocations: 116.1 kB / 0.567 GB, free: 14.99 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.112e-05/0.3951, allocations: 27.78 kB / 0.567 GB, free: 14.96 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.044e-05/0.3951, allocations: 21.72 kB / 0.5671 GB, free: 14.93 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.3953, allocations: 330.8 kB / 0.5674 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.04e-05/0.3953, allocations: 19.98 kB / 0.5674 GB, free: 14.58 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.846e-05/0.3954, allocations: 41.64 kB / 0.5674 GB, free: 14.54 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000118/0.3955, allocations: 65.83 kB / 0.5675 GB, free: 14.46 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.3955, allocations: 0 / 0.5675 GB, free: 14.46 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001966/0.3957, allocations: 113.5 kB / 0.5676 GB, free: 14.35 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.3957, allocations: 4 kB / 0.5676 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.3957, allocations: 4 kB / 0.5676 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.3957, allocations: 7.922 kB / 0.5676 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.09e-05/0.3958, allocations: 19.98 kB / 0.5676 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.3958, allocations: 0 / 0.5676 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.768e-05/0.3959, allocations: 7.938 kB / 0.5676 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.225e-06/0.3959, allocations: 4 kB / 0.5676 GB, free: 14.3 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.0001154/0.396, allocations: 140.5 kB / 0.5678 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.592e-05/0.396, allocations: 15.91 kB / 0.5678 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002469/0.3963, allocations: 115.1 kB / 0.5679 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.3963, allocations: 0 / 0.5679 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/0.3963, allocations: 7.984 kB / 0.5679 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.3963, allocations: 3.938 kB / 0.5679 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004487/0.3967, allocations: 370.4 kB / 0.5683 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3967, allocations: 0 / 0.5683 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.414e-05/0.3968, allocations: 16.02 kB / 0.5683 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.3968, allocations: 0 / 0.5683 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.245e-05/0.3968, allocations: 7.938 kB / 0.5683 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.3968, allocations: 0 / 0.5683 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.3968, allocations: 3.938 kB / 0.5683 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002416/0.397, allocations: 204.5 kB / 0.5685 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.247e-05/0.3971, allocations: 11.91 kB / 0.5685 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.732e-05/0.3971, allocations: 11.92 kB / 0.5685 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.872e-05/0.3972, allocations: 4 kB / 0.5685 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.579e-05/0.3972, allocations: 7.984 kB / 0.5685 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.481e-05/0.3972, allocations: 4.188 kB / 0.5685 GB, free: 13.3 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001867/0.3974, allocations: 200.6 kB / 0.5687 GB, free: 13.11 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3974, allocations: 3.938 kB / 0.5687 GB, free: 13.1 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002575/0.3977, allocations: 27.92 kB / 0.5688 GB, free: 13.07 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.001676/0.3993, allocations: 475.5 kB / 0.5692 GB, free: 12.79 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001895/0.3995, allocations: 55.95 kB / 0.5693 GB, free: 12.73 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.253e-06/0.3995, allocations: 0 / 0.5693 GB, free: 12.73 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.702e-05/0.3996, allocations: 24.06 kB / 0.5693 GB, free: 12.71 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003255/0.3999, allocations: 37.03 kB / 0.5693 GB, free: 12.68 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00053/0.4004, allocations: 321.3 kB / 0.5696 GB, free: 12.33 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003471/0.4008, allocations: 0.7158 MB / 0.5703 GB, free: 11.59 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.058e-05/0.4008, allocations: 19.42 kB / 0.5703 GB, free: 11.57 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4008, allocations: 4 kB / 0.5703 GB, free: 11.56 MB / 414.1 MB Notification: Performance of Templates: time 0.003984/0.4048, allocations: 2.108 MB / 0.5724 GB, free: 9.461 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.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: 8.104583099018782]