Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.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.001413/0.001413, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.001469/0.001469, allocations: 213.2 kB / 24.48 MB, free: 3.84 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.487/1.487, allocations: 230.6 MB / 258.2 MB, free: 7.816 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.2344/0.2344, allocations: 46.98 MB / 361.6 MB, free: 4.027 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.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002382/0.002382, allocations: 64.05 kB / 0.4974 GB, free: 7.188 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3775/0.3799, allocations: 66.04 MB / 0.5618 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.003708/0.3836, allocations: 1.656 MB / 0.5635 GB, free: 2.52 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001255/0.3849, allocations: 0.5699 MB / 0.564 GB, free: 1.945 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.174e-05/0.385, allocations: 0 / 0.564 GB, free: 1.945 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006432/0.3856, allocations: 459.1 kB / 0.5645 GB, free: 1.496 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005736/0.3862, allocations: 287.3 kB / 0.5647 GB, free: 1.215 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005272/0.3867, allocations: 183.4 kB / 0.5649 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003124/0.387, allocations: 179.6 kB / 0.5651 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001182/0.3871, allocations: 16.22 kB / 0.5651 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001938/0.3873, allocations: 119.7 kB / 0.5652 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003334/0.3877, allocations: 251.5 kB / 0.5654 GB, free: 492 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.537e-05/0.3877, allocations: 4 kB / 0.5654 GB, free: 488 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001468/0.3878, allocations: 47.98 kB / 0.5655 GB, free: 440 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001162/0.3879, allocations: 87.67 kB / 0.5656 GB, free: 352 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.606e-05/0.388, allocations: 71.19 kB / 0.5656 GB, free: 280 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000409/0.3884, allocations: 285 kB / 0.5659 GB, free: 0 / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.679e-05/0.3885, allocations: 4.062 kB / 0.5659 GB, free: 15.99 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.3885, allocations: 0 / 0.5659 GB, free: 15.99 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.161e-05/0.3885, allocations: 4 kB / 0.5659 GB, free: 15.99 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008887/0.3894, allocations: 0.5892 MB / 0.5665 GB, free: 15.37 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.3894, allocations: 11.97 kB / 0.5665 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.459e-05/0.3895, allocations: 48.61 kB / 0.5666 GB, free: 15.31 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003514/0.3898, allocations: 246.7 kB / 0.5668 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.404e-06/0.3899, allocations: 384 / 0.5668 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.224e-05/0.3899, allocations: 12.3 kB / 0.5668 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000201/0.3901, allocations: 65.8 kB / 0.5669 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.3901, allocations: 0 / 0.5669 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.641e-05/0.3901, allocations: 7.984 kB / 0.5669 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.3901, allocations: 8 kB / 0.5669 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001166/0.3902, allocations: 27.98 kB / 0.5669 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005823/0.3908, allocations: 348.3 kB / 0.5672 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001169/0.3909, allocations: 42.56 kB / 0.5673 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.419e-05/0.391, allocations: 16.94 kB / 0.5673 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.398e-05/0.391, allocations: 96 / 0.5673 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.033e-05/0.391, allocations: 42.5 kB / 0.5673 GB, free: 14.43 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 9.01e-07/0.391, allocations: 0 / 0.5673 GB, free: 14.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.001076/0.3921, allocations: 328.5 kB / 0.5677 GB, free: 14.1 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.433e-05/0.3922, allocations: 55.39 kB / 0.5677 GB, free: 14.04 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009757/0.3931, allocations: 0.8574 MB / 0.5685 GB, free: 13.16 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.285e-05/0.3932, allocations: 29.7 kB / 0.5686 GB, free: 13.13 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000192/0.3934, allocations: 224 kB / 0.5688 GB, free: 12.91 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.458e-05/0.3934, allocations: 23.8 kB / 0.5688 GB, free: 12.88 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.014e-05/0.3934, allocations: 25.7 kB / 0.5688 GB, free: 12.85 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001993/0.3936, allocations: 358.8 kB / 0.5692 GB, free: 12.49 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.764e-05/0.3937, allocations: 35.97 kB / 0.5692 GB, free: 12.46 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.508e-05/0.3938, allocations: 23.98 kB / 0.5692 GB, free: 12.43 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002154/0.394, allocations: 76.81 kB / 0.5693 GB, free: 12.36 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.394, allocations: 7.938 kB / 0.5693 GB, free: 12.35 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002841/0.3943, allocations: 149.3 kB / 0.5695 GB, free: 12.2 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.3943, allocations: 6.656 kB / 0.5695 GB, free: 12.19 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.3943, allocations: 4 kB / 0.5695 GB, free: 12.19 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/0.3944, allocations: 0 / 0.5695 GB, free: 12.19 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001056/0.3945, allocations: 19.92 kB / 0.5695 GB, free: 12.17 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.3945, allocations: 4.25 kB / 0.5695 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.843e-05/0.3945, allocations: 11.98 kB / 0.5695 GB, free: 12.15 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.394e-05/0.3946, allocations: 4 kB / 0.5695 GB, free: 12.15 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 (8): * Single equations (assignments): 8 * 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.0002111/0.3948, allocations: 217.7 kB / 0.5697 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.8e-05/0.3948, allocations: 47.72 kB / 0.5698 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003821/0.3952, allocations: 169.4 kB / 0.5699 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.3952, allocations: 4 kB / 0.5699 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.3952, allocations: 7.922 kB / 0.5699 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.3952, allocations: 0 / 0.5699 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00069/0.3959, allocations: 462.8 kB / 0.5704 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.3959, allocations: 8.031 kB / 0.5704 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.158e-05/0.396, allocations: 15.98 kB / 0.5704 GB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.031e-06/0.396, allocations: 4.359 kB / 0.5704 GB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.528e-05/0.396, allocations: 8 kB / 0.5704 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.396, allocations: 3.938 kB / 0.5704 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.396, allocations: 0 / 0.5704 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003262/0.3963, allocations: 240.1 kB / 0.5706 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7e-05/0.3964, allocations: 47.69 kB / 0.5707 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.86e-05/0.3964, allocations: 3.938 kB / 0.5707 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.696e-05/0.3965, allocations: 8 kB / 0.5707 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.028e-05/0.3966, allocations: 7.984 kB / 0.5707 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.217e-06/0.3966, allocations: 4 kB / 0.5707 GB, free: 10.83 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006763/0.3973, allocations: 0.6511 MB / 0.5713 GB, free: 10.18 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3973, allocations: 0 / 0.5713 GB, free: 10.18 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000282/0.3975, allocations: 31.92 kB / 0.5714 GB, free: 10.15 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.001906/0.3994, allocations: 496.3 kB / 0.5718 GB, free: 9.875 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002527/0.3997, allocations: 67.95 kB / 0.5719 GB, free: 9.809 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.3997, allocations: 4 kB / 0.5719 GB, free: 9.805 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001064/0.3998, allocations: 43.89 kB / 0.572 GB, free: 9.762 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004181/0.4002, allocations: 21.97 kB / 0.572 GB, free: 9.738 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001384/0.4016, allocations: 0.8835 MB / 0.5728 GB, free: 8.82 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002637/0.4019, allocations: 220.1 kB / 0.5731 GB, free: 8.582 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.499e-05/0.4019, allocations: 19.42 kB / 0.5731 GB, free: 8.566 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.4019, allocations: 0 / 0.5731 GB, free: 8.566 MB / 414.1 MB Notification: Performance of Templates: time 0.008495/0.4104, allocations: 4.182 MB / 0.5772 GB, free: 4.379 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.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: 7.90482330834493]