Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test2.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.001271/0.001271, 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.001422/0.001422, 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.465/1.465, allocations: 230.2 MB / 257.8 MB, free: 8.508 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.2226/0.2226, allocations: 46.88 MB / 361.1 MB, free: 4.652 MB / 286.1 MB " [Timeout remaining time 180] 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.CombiTable1Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test2") [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.00232/0.00232, allocations: 71.88 kB / 0.4968 GB, free: 7.816 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2848/0.2871, allocations: 65.99 MB / 0.5612 GB, free: 5.023 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.002891/0.29, allocations: 1.616 MB / 0.5628 GB, free: 3.402 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001011/0.291, allocations: 0.546 MB / 0.5633 GB, free: 2.855 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.525e-05/0.2911, allocations: 0 / 0.5633 GB, free: 2.855 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001802/0.2913, allocations: 27.78 kB / 0.5634 GB, free: 2.828 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002557/0.2915, allocations: 71.69 kB / 0.5634 GB, free: 2.758 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002446/0.2918, allocations: 87.7 kB / 0.5635 GB, free: 2.672 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001345/0.2919, allocations: 63.83 kB / 0.5636 GB, free: 2.609 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.842e-05/0.292, allocations: 11.98 kB / 0.5636 GB, free: 2.598 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.899e-05/0.292, allocations: 27.86 kB / 0.5636 GB, free: 2.57 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.682e-05/0.2921, allocations: 23.8 kB / 0.5636 GB, free: 2.547 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.349e-05/0.2921, allocations: 8 kB / 0.5636 GB, free: 2.539 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.266e-05/0.2922, allocations: 31.98 kB / 0.5637 GB, free: 2.508 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.688e-05/0.2922, allocations: 15.92 kB / 0.5637 GB, free: 2.492 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.417e-05/0.2923, allocations: 19.88 kB / 0.5637 GB, free: 2.473 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001623/0.2924, allocations: 90.2 kB / 0.5638 GB, free: 2.387 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.2924, allocations: 0 / 0.5638 GB, free: 2.387 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2924, allocations: 0 / 0.5638 GB, free: 2.387 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.2924, allocations: 0 / 0.5638 GB, free: 2.387 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004719/0.2929, allocations: 387 kB / 0.5642 GB, free: 1.957 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.194e-05/0.2929, allocations: 12.03 kB / 0.5642 GB, free: 1.945 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.242e-05/0.293, allocations: 12.89 kB / 0.5642 GB, free: 1.934 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001988/0.2932, allocations: 186.5 kB / 0.5644 GB, free: 1.715 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/0.2932, allocations: 4.359 kB / 0.5644 GB, free: 1.711 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.237e-05/0.2932, allocations: 8.359 kB / 0.5644 GB, free: 1.703 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001315/0.2933, allocations: 46.25 kB / 0.5644 GB, free: 1.652 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.2934, allocations: 4.125 kB / 0.5644 GB, free: 1.648 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.2934, allocations: 3.938 kB / 0.5644 GB, free: 1.645 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.2934, allocations: 4 kB / 0.5644 GB, free: 1.641 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.85e-05/0.2935, allocations: 19.98 kB / 0.5644 GB, free: 1.621 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000351/0.2938, allocations: 272.9 kB / 0.5647 GB, free: 1.305 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001966/0.294, allocations: 46.44 kB / 0.5647 GB, free: 1.25 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.116e-05/0.2941, allocations: 20.94 kB / 0.5648 GB, free: 1.227 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.91e-05/0.2941, allocations: 0 / 0.5648 GB, free: 1.227 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.542e-05/0.2941, allocations: 38.5 kB / 0.5648 GB, free: 1.18 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.2941, allocations: 0 / 0.5648 GB, free: 1.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005411/0.2946, allocations: 141.4 kB / 0.5649 GB, free: 1.035 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.062e-05/0.2947, allocations: 55.41 kB / 0.565 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001512/0.2948, allocations: 146.2 kB / 0.5651 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.803e-05/0.2948, allocations: 25.7 kB / 0.5652 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.679e-05/0.2949, allocations: 100.1 kB / 0.5652 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.581e-05/0.2949, allocations: 27.78 kB / 0.5653 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.444e-05/0.295, allocations: 17.7 kB / 0.5653 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.2951, allocations: 318.8 kB / 0.5656 GB, free: 316 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.02e-05/0.2952, allocations: 19.98 kB / 0.5656 GB, free: 296 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.039e-05/0.2953, allocations: 19.98 kB / 0.5656 GB, free: 276 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001293/0.2954, allocations: 45.02 kB / 0.5657 GB, free: 228 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/0.2954, allocations: 8 kB / 0.5657 GB, free: 220 kB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001934/0.2956, allocations: 81.56 kB / 0.5658 GB, free: 132 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.2956, allocations: 8 kB / 0.5658 GB, free: 124 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.2956, allocations: 3.984 kB / 0.5658 GB, free: 120 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.027e-05/0.2956, allocations: 0 / 0.5658 GB, free: 120 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.196e-05/0.2957, allocations: 11.94 kB / 0.5658 GB, free: 108 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.646e-06/0.2957, allocations: 0 / 0.5658 GB, free: 108 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.753e-05/0.2957, allocations: 11.98 kB / 0.5658 GB, free: 96 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.2957, allocations: 4 kB / 0.5658 GB, free: 92 kB / 398.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 (5): * Single equations (assignments): 5 * 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.000106/0.2958, allocations: 117.8 kB / 0.5659 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.45e-05/0.2959, allocations: 7.953 kB / 0.5659 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002449/0.2961, allocations: 93.89 kB / 0.566 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.2961, allocations: 7.984 kB / 0.566 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.2961, allocations: 0 / 0.566 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.2961, allocations: 0 / 0.566 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004384/0.2966, allocations: 342.5 kB / 0.5663 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.2966, allocations: 0 / 0.5663 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.332e-05/0.2966, allocations: 19.92 kB / 0.5664 GB, free: 15.44 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.2966, allocations: 4 kB / 0.5664 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.061e-06/0.2966, allocations: 0 / 0.5664 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.2966, allocations: 0 / 0.5664 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.2966, allocations: 0 / 0.5664 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002402/0.2969, allocations: 187.5 kB / 0.5665 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.961e-05/0.2969, allocations: 85.12 kB / 0.5666 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.624e-05/0.2969, allocations: 4 kB / 0.5666 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.025e-05/0.297, allocations: 4 kB / 0.5666 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.274e-05/0.297, allocations: 7.922 kB / 0.5666 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.877e-06/0.2971, allocations: 288 / 0.5666 GB, free: 15.12 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001011/0.2972, allocations: 121.5 kB / 0.5668 GB, free: 15 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2972, allocations: 4 kB / 0.5668 GB, free: 15 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000241/0.2974, allocations: 19.94 kB / 0.5668 GB, free: 14.98 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 (5): * Single equations (assignments): 5 * 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.001414/0.2988, allocations: 399 kB / 0.5672 GB, free: 14.73 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001961/0.299, allocations: 43.97 kB / 0.5672 GB, free: 14.68 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.299, allocations: 0 / 0.5672 GB, free: 14.68 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.448e-05/0.2991, allocations: 24.11 kB / 0.5672 GB, free: 14.66 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003091/0.2994, allocations: 22.64 kB / 0.5672 GB, free: 14.64 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004101/0.2998, allocations: 198.1 kB / 0.5674 GB, free: 14.42 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003333/0.3001, allocations: 0.6923 MB / 0.5681 GB, free: 13.7 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.909e-05/0.3002, allocations: 15.77 kB / 0.5681 GB, free: 13.69 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.956e-05/0.3002, allocations: 23.31 kB / 0.5682 GB, free: 13.66 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3002, allocations: 0 / 0.5682 GB, free: 13.66 MB / 414.1 MB Notification: Performance of Templates: time 0.003668/0.3039, allocations: 1.12 MB / 0.5692 GB, free: 12.54 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test2 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test2.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: 4.792969140224159]