Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test12.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.001261/0.001261, allocations: 110.4 kB / 21.17 MB, free: 0.7734 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.001382/0.001382, allocations: 215.6 kB / 24.46 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.474/1.474, allocations: 230.2 MB / 257.8 MB, free: 8.52 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.2264/0.2264, allocations: 46.88 MB / 361.1 MB, free: 4.68 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.CombiTable1Dv.Test12,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.CombiTable1Dv.Test12") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test12,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.CombiTable1Dv.Test12") [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.002325/0.002325, allocations: 75.88 kB / 0.4968 GB, free: 7.844 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2835/0.2859, allocations: 65.98 MB / 0.5612 GB, free: 5.059 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test12): time 0.002996/0.2889, allocations: 1.621 MB / 0.5628 GB, free: 3.43 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001049/0.2899, allocations: 0.5538 MB / 0.5633 GB, free: 2.875 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.84e-05/0.29, allocations: 4 kB / 0.5633 GB, free: 2.871 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001926/0.2901, allocations: 31.77 kB / 0.5634 GB, free: 2.84 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002501/0.2904, allocations: 79.69 kB / 0.5634 GB, free: 2.762 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002831/0.2907, allocations: 103.7 kB / 0.5635 GB, free: 2.66 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001335/0.2908, allocations: 63.89 kB / 0.5636 GB, free: 2.598 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.939e-05/0.2909, allocations: 15.86 kB / 0.5636 GB, free: 2.582 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.448e-05/0.2909, allocations: 23.86 kB / 0.5636 GB, free: 2.559 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.065e-05/0.291, allocations: 31.86 kB / 0.5637 GB, free: 2.527 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.447e-05/0.291, allocations: 4 kB / 0.5637 GB, free: 2.523 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.088e-05/0.2911, allocations: 31.98 kB / 0.5637 GB, free: 2.492 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.452e-05/0.2911, allocations: 15.92 kB / 0.5637 GB, free: 2.477 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.709e-05/0.2912, allocations: 23.8 kB / 0.5637 GB, free: 2.453 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001595/0.2913, allocations: 90.28 kB / 0.5638 GB, free: 2.367 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.2913, allocations: 0 / 0.5638 GB, free: 2.367 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2913, allocations: 0 / 0.5638 GB, free: 2.367 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.628e-06/0.2913, allocations: 3.938 kB / 0.5638 GB, free: 2.363 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.0004968/0.2918, allocations: 398.9 kB / 0.5642 GB, free: 1.922 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.2919, allocations: 12.02 kB / 0.5642 GB, free: 1.91 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.416e-05/0.2919, allocations: 12.84 kB / 0.5642 GB, free: 1.898 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002068/0.2921, allocations: 195.6 kB / 0.5644 GB, free: 1.672 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.394e-06/0.2921, allocations: 4.359 kB / 0.5644 GB, free: 1.668 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.162e-05/0.2921, allocations: 4.375 kB / 0.5644 GB, free: 1.664 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001314/0.2923, allocations: 53.8 kB / 0.5645 GB, free: 1.605 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.2923, allocations: 4 kB / 0.5645 GB, free: 1.602 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.594e-06/0.2923, allocations: 0 / 0.5645 GB, free: 1.602 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.256e-06/0.2923, allocations: 0 / 0.5645 GB, free: 1.602 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.725e-05/0.2924, allocations: 27.92 kB / 0.5645 GB, free: 1.574 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003864/0.2928, allocations: 280.9 kB / 0.5648 GB, free: 1.25 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002381/0.293, allocations: 46.56 kB / 0.5648 GB, free: 1.195 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.26e-05/0.2931, allocations: 16.94 kB / 0.5648 GB, free: 1.176 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.225e-05/0.2931, allocations: 7.938 kB / 0.5649 GB, free: 1.168 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.618e-05/0.2931, allocations: 34.56 kB / 0.5649 GB, free: 1.125 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.2931, allocations: 0 / 0.5649 GB, free: 1.125 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006197/0.2938, allocations: 157.3 kB / 0.565 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.685e-05/0.2938, allocations: 51.41 kB / 0.5651 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001864/0.294, allocations: 178.5 kB / 0.5653 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.847e-05/0.294, allocations: 29.7 kB / 0.5653 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.388e-05/0.2941, allocations: 92.14 kB / 0.5654 GB, free: 0.582 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.934e-05/0.2941, allocations: 27.81 kB / 0.5654 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.582e-05/0.2941, allocations: 17.72 kB / 0.5654 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.2943, allocations: 326.8 kB / 0.5657 GB, free: 208 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.427e-05/0.2944, allocations: 19.98 kB / 0.5657 GB, free: 188 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.708e-05/0.2944, allocations: 19.98 kB / 0.5658 GB, free: 168 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001418/0.2946, allocations: 53.02 kB / 0.5658 GB, free: 112 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.2946, allocations: 4 kB / 0.5658 GB, free: 108 kB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002113/0.2948, allocations: 93.5 kB / 0.5659 GB, free: 8 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.2948, allocations: 4 kB / 0.5659 GB, free: 4 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.416e-06/0.2948, allocations: 3.938 kB / 0.5659 GB, free: 0 / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.085e-05/0.2948, allocations: 4.047 kB / 0.5659 GB, free: 15.99 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.748e-05/0.2949, allocations: 11.94 kB / 0.5659 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.027e-06/0.2949, allocations: 4 kB / 0.5659 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.377e-05/0.2949, allocations: 8 kB / 0.5659 GB, free: 15.97 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.115e-06/0.295, allocations: 3.984 kB / 0.5659 GB, free: 15.97 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 (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.0001108/0.2951, allocations: 121.8 kB / 0.5661 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.53e-05/0.2951, allocations: 7.953 kB / 0.5661 GB, free: 15.83 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002568/0.2954, allocations: 101.9 kB / 0.5662 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.2954, allocations: 4 kB / 0.5662 GB, free: 15.72 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.2954, allocations: 0 / 0.5662 GB, free: 15.72 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.2954, allocations: 0 / 0.5662 GB, free: 15.72 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004685/0.2958, allocations: 354.5 kB / 0.5665 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.2958, allocations: 0 / 0.5665 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.431e-05/0.2959, allocations: 15.98 kB / 0.5665 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.2959, allocations: 0 / 0.5665 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.687e-06/0.2959, allocations: 4 kB / 0.5665 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.2959, allocations: 7.875 kB / 0.5665 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.2959, allocations: 4 kB / 0.5665 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002553/0.2962, allocations: 179.7 kB / 0.5667 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001192/0.2963, allocations: 93.02 kB / 0.5668 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.595e-05/0.2963, allocations: 3.938 kB / 0.5668 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.651e-05/0.2964, allocations: 11.92 kB / 0.5668 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.94e-05/0.2964, allocations: 4.281 kB / 0.5668 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.111e-06/0.2964, allocations: 8 kB / 0.5668 GB, free: 14.96 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001127/0.2965, allocations: 135.9 kB / 0.567 GB, free: 14.83 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2965, allocations: 0 / 0.567 GB, free: 14.83 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002435/0.2968, allocations: 19.94 kB / 0.567 GB, free: 14.81 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.001418/0.2982, allocations: 397.9 kB / 0.5674 GB, free: 14.56 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002263/0.2984, allocations: 55.91 kB / 0.5674 GB, free: 14.51 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2984, allocations: 4 kB / 0.5674 GB, free: 14.5 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.856e-05/0.2985, allocations: 28.09 kB / 0.5674 GB, free: 14.48 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003632/0.2989, allocations: 8.125 kB / 0.5674 GB, free: 14.47 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004982/0.2994, allocations: 217.8 kB / 0.5677 GB, free: 14.23 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003968/0.2998, allocations: 0.7039 MB / 0.5683 GB, free: 13.5 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.631e-05/0.2998, allocations: 23.75 kB / 0.5684 GB, free: 13.48 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.442e-05/0.2999, allocations: 11.44 kB / 0.5684 GB, free: 13.46 MB / 414.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2999, allocations: 4 kB / 0.5684 GB, free: 13.46 MB / 414.1 MB Notification: Performance of Templates: time 0.003972/0.3038, allocations: 1.151 MB / 0.5695 GB, free: 12.31 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test12.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test12 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test12.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.883035570848733]