Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6.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.001432/0.001432, allocations: 110.4 kB / 21.17 MB, free: 0.7852 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.001586/0.001586, allocations: 217.4 kB / 24.47 MB, free: 4.359 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.506/1.506, allocations: 230.2 MB / 257.8 MB, free: 8.512 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2427/0.2427, allocations: 46.88 MB / 361.1 MB, free: 4.656 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-beta.om/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.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002391/0.002391, allocations: 75.88 kB / 0.4968 GB, free: 7.797 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.372/0.3743, allocations: 65.98 MB / 0.5612 GB, free: 5.035 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.003261/0.3776, allocations: 1.687 MB / 0.5629 GB, free: 3.344 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001132/0.3787, allocations: 0.5927 MB / 0.5634 GB, free: 2.75 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.238e-05/0.3788, allocations: 8 kB / 0.5635 GB, free: 2.742 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006255/0.3794, allocations: 455.1 kB / 0.5639 GB, free: 2.297 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004699/0.3799, allocations: 291.3 kB / 0.5642 GB, free: 2.012 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004445/0.3803, allocations: 178.8 kB / 0.5643 GB, free: 1.84 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002537/0.3806, allocations: 175.7 kB / 0.5645 GB, free: 1.668 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.3807, allocations: 15.98 kB / 0.5645 GB, free: 1.652 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001214/0.3808, allocations: 111.7 kB / 0.5646 GB, free: 1.543 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002907/0.3811, allocations: 259.5 kB / 0.5649 GB, free: 1.289 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.022e-05/0.3811, allocations: 4 kB / 0.5649 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.511e-05/0.3812, allocations: 31.98 kB / 0.5649 GB, free: 1.254 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001061/0.3813, allocations: 83.69 kB / 0.565 GB, free: 1.172 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001028/0.3814, allocations: 110.9 kB / 0.5651 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000343/0.3818, allocations: 265.3 kB / 0.5653 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3818, allocations: 0 / 0.5653 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.3818, allocations: 7.938 kB / 0.5654 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.3818, allocations: 0 / 0.5654 GB, free: 0.7969 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008332/0.3826, allocations: 0.6607 MB / 0.566 GB, free: 84 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.352e-05/0.3826, allocations: 11.97 kB / 0.566 GB, free: 72 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.622e-05/0.3827, allocations: 48.61 kB / 0.5661 GB, free: 24 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003698/0.3831, allocations: 304.6 kB / 0.5663 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.3831, allocations: 4.359 kB / 0.5663 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.579e-05/0.3831, allocations: 8.375 kB / 0.5664 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001787/0.3833, allocations: 54.23 kB / 0.5664 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.3833, allocations: 192 / 0.5664 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.3833, allocations: 7.938 kB / 0.5664 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.3833, allocations: 7.938 kB / 0.5664 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001457/0.3835, allocations: 39.95 kB / 0.5665 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005779/0.384, allocations: 396.7 kB / 0.5668 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001422/0.3842, allocations: 50.55 kB / 0.5669 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.725e-05/0.3843, allocations: 28.88 kB / 0.5669 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.346e-05/0.3843, allocations: 4 kB / 0.5669 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.764e-05/0.3843, allocations: 30.56 kB / 0.5669 GB, free: 14.99 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.3843, allocations: 0 / 0.5669 GB, free: 14.99 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.000923/0.3853, allocations: 328.6 kB / 0.5673 GB, free: 14.66 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.093e-05/0.3853, allocations: 51.41 kB / 0.5673 GB, free: 14.6 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009216/0.3862, allocations: 0.8652 MB / 0.5682 GB, free: 13.72 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.213e-05/0.3862, allocations: 33.64 kB / 0.5682 GB, free: 13.68 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00019/0.3864, allocations: 212.1 kB / 0.5684 GB, free: 13.47 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.992e-05/0.3865, allocations: 19.78 kB / 0.5684 GB, free: 13.45 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.418e-05/0.3865, allocations: 21.72 kB / 0.5684 GB, free: 13.43 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001941/0.3867, allocations: 370.7 kB / 0.5688 GB, free: 13.05 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001278/0.3868, allocations: 35.97 kB / 0.5688 GB, free: 13.02 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001229/0.3869, allocations: 39.97 kB / 0.5689 GB, free: 12.98 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002602/0.3872, allocations: 93.02 kB / 0.5689 GB, free: 12.89 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.3872, allocations: 0 / 0.5689 GB, free: 12.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003454/0.3876, allocations: 165.2 kB / 0.5691 GB, free: 12.72 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.3876, allocations: 4 kB / 0.5691 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.3876, allocations: 0 / 0.5691 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.116e-05/0.3876, allocations: 8 kB / 0.5691 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001418/0.3877, allocations: 19.97 kB / 0.5691 GB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.3877, allocations: 0 / 0.5691 GB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.501e-05/0.3878, allocations: 12 kB / 0.5691 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.165e-06/0.3878, allocations: 3.938 kB / 0.5691 GB, free: 12.67 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.000226/0.388, allocations: 221.7 kB / 0.5694 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.367e-05/0.3881, allocations: 44 kB / 0.5694 GB, free: 12.4 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004413/0.3886, allocations: 185.4 kB / 0.5696 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.3886, allocations: 7.984 kB / 0.5696 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.3886, allocations: 0 / 0.5696 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.3886, allocations: 4 kB / 0.5696 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007615/0.3893, allocations: 0.5023 MB / 0.5701 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.3893, allocations: 3.938 kB / 0.5701 GB, free: 11.63 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.539e-05/0.3894, allocations: 19.98 kB / 0.5701 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.3894, allocations: 4 kB / 0.5701 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/0.3894, allocations: 4 kB / 0.5701 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.3894, allocations: 4 kB / 0.5701 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.3894, allocations: 3.938 kB / 0.5701 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003982/0.3898, allocations: 255.2 kB / 0.5704 GB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001043/0.3899, allocations: 112.8 kB / 0.5705 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.786e-05/0.39, allocations: 4 kB / 0.5705 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.3901, allocations: 8 kB / 0.5705 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.293e-05/0.3901, allocations: 7.922 kB / 0.5705 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.564e-06/0.3901, allocations: 4 kB / 0.5705 GB, free: 11.18 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007113/0.3908, allocations: 0.6589 MB / 0.5711 GB, free: 10.52 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3908, allocations: 0 / 0.5711 GB, free: 10.52 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002739/0.3911, allocations: 24 kB / 0.5712 GB, free: 10.5 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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 Backend phase and start with SimCode phase: time 0.001508/0.3926, allocations: 417.3 kB / 0.5716 GB, free: 10.23 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003653/0.393, allocations: 87.91 kB / 0.5716 GB, free: 10.15 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.393, allocations: 0 / 0.5716 GB, free: 10.15 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001402/0.3931, allocations: 51.89 kB / 0.5717 GB, free: 10.1 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003986/0.3935, allocations: 28.8 kB / 0.5717 GB, free: 10.07 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001282/0.3948, allocations: 0.8455 MB / 0.5725 GB, free: 9.199 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005664/0.3954, allocations: 0.826 MB / 0.5733 GB, free: 8.348 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.562e-05/0.3955, allocations: 20.64 kB / 0.5734 GB, free: 8.324 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.36e-05/0.3955, allocations: 19.44 kB / 0.5734 GB, free: 8.305 MB / 414.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3955, allocations: 0 / 0.5734 GB, free: 8.305 MB / 414.1 MB Notification: Performance of Templates: time 0.005501/0.401, allocations: 1.651 MB / 0.575 GB, free: 6.656 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6.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.329202521126717]