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.001571/0.001571, allocations: 113.1 kB / 21.85 MB, free: 64 kB / 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.002001/0.002001, allocations: 201.8 kB / 25.13 MB, free: 3.578 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.402/1.402, allocations: 230.4 MB / 258.7 MB, free: 8.047 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.22/0.22, allocations: 46.94 MB / 362 MB, free: 4.227 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.002347/0.002347, allocations: 83.84 kB / 0.4978 GB, free: 7.375 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2851/0.2874, allocations: 66.09 MB / 0.5623 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.003112/0.2906, allocations: 1.608 MB / 0.5639 GB, free: 2.637 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001056/0.2916, allocations: 0.542 MB / 0.5644 GB, free: 2.094 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.589e-05/0.2917, allocations: 0 / 0.5644 GB, free: 2.094 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001824/0.2918, allocations: 35.78 kB / 0.5645 GB, free: 2.059 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002714/0.2921, allocations: 71.69 kB / 0.5645 GB, free: 1.988 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002586/0.2924, allocations: 91.69 kB / 0.5646 GB, free: 1.898 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001652/0.2925, allocations: 63.84 kB / 0.5647 GB, free: 1.836 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.534e-05/0.2926, allocations: 11.94 kB / 0.5647 GB, free: 1.824 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.293e-05/0.2927, allocations: 23.91 kB / 0.5647 GB, free: 1.801 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.737e-05/0.2927, allocations: 23.86 kB / 0.5648 GB, free: 1.777 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.5e-05/0.2928, allocations: 4 kB / 0.5648 GB, free: 1.773 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.297e-05/0.2928, allocations: 39.92 kB / 0.5648 GB, free: 1.734 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.733e-05/0.2929, allocations: 15.92 kB / 0.5648 GB, free: 1.719 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.143e-05/0.2929, allocations: 27.8 kB / 0.5648 GB, free: 1.691 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001719/0.2931, allocations: 78.06 kB / 0.5649 GB, free: 1.621 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.2931, allocations: 0 / 0.5649 GB, free: 1.621 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2931, allocations: 0 / 0.5649 GB, free: 1.621 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.2931, allocations: 0 / 0.5649 GB, free: 1.621 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.0004536/0.2936, allocations: 309.9 kB / 0.5652 GB, free: 1.285 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.101e-05/0.2936, allocations: 8.031 kB / 0.5652 GB, free: 1.277 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.31e-05/0.2936, allocations: 8.891 kB / 0.5652 GB, free: 1.27 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001789/0.2938, allocations: 140.8 kB / 0.5654 GB, free: 1.109 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.2938, allocations: 4.375 kB / 0.5654 GB, free: 1.105 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.947e-05/0.2938, allocations: 384 / 0.5654 GB, free: 1.105 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001343/0.294, allocations: 58.17 kB / 0.5654 GB, free: 1.043 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.294, allocations: 192 / 0.5654 GB, free: 1.043 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.511e-05/0.294, allocations: 7.922 kB / 0.5654 GB, free: 1.035 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.716e-06/0.294, allocations: 3.938 kB / 0.5654 GB, free: 1.031 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.879e-05/0.2941, allocations: 19.98 kB / 0.5654 GB, free: 1.012 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003536/0.2944, allocations: 255.9 kB / 0.5657 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001995/0.2946, allocations: 42.5 kB / 0.5657 GB, free: 0.668 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.882e-05/0.2947, allocations: 16.94 kB / 0.5658 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.1e-05/0.2947, allocations: 4 kB / 0.5658 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.224e-05/0.2947, allocations: 30.56 kB / 0.5658 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.2947, allocations: 4 kB / 0.5658 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005209/0.2953, allocations: 137.4 kB / 0.5659 GB, free: 472 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.93e-05/0.2953, allocations: 51.41 kB / 0.566 GB, free: 408 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001596/0.2955, allocations: 154.1 kB / 0.5661 GB, free: 240 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.557e-05/0.2955, allocations: 25.7 kB / 0.5661 GB, free: 208 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.742e-05/0.2955, allocations: 92.14 kB / 0.5662 GB, free: 112 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.652e-05/0.2956, allocations: 27.78 kB / 0.5663 GB, free: 84 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.576e-05/0.2956, allocations: 13.72 kB / 0.5663 GB, free: 64 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001777/0.2958, allocations: 326.8 kB / 0.5666 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.666e-05/0.2958, allocations: 15.98 kB / 0.5666 GB, free: 15.72 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.073e-05/0.2959, allocations: 23.92 kB / 0.5666 GB, free: 15.7 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000122/0.296, allocations: 44.83 kB / 0.5667 GB, free: 15.65 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.296, allocations: 4 kB / 0.5667 GB, free: 15.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001842/0.2962, allocations: 81.62 kB / 0.5667 GB, free: 15.56 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.152e-05/0.2962, allocations: 4 kB / 0.5667 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.2962, allocations: 0 / 0.5667 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.2963, allocations: 0 / 0.5667 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.932e-05/0.2963, allocations: 15.98 kB / 0.5668 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.2963, allocations: 0 / 0.5668 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.506e-05/0.2964, allocations: 4 kB / 0.5668 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.62e-06/0.2964, allocations: 7.938 kB / 0.5668 GB, free: 15.53 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 9.032e-05/0.2965, allocations: 121.8 kB / 0.5669 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.252e-05/0.2965, allocations: 7.953 kB / 0.5669 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002504/0.2968, allocations: 94.05 kB / 0.567 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.185e-06/0.2968, allocations: 0 / 0.567 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.2968, allocations: 320 / 0.567 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.2968, allocations: 0 / 0.567 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004422/0.2972, allocations: 329.5 kB / 0.5673 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.2972, allocations: 3.938 kB / 0.5673 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.699e-05/0.2973, allocations: 12 kB / 0.5673 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.2973, allocations: 0 / 0.5673 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.2973, allocations: 4 kB / 0.5673 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.2973, allocations: 7.922 kB / 0.5673 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.2973, allocations: 0 / 0.5673 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002355/0.2975, allocations: 183.4 kB / 0.5675 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.154e-05/0.2975, allocations: 7.953 kB / 0.5675 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.443e-05/0.2975, allocations: 0 / 0.5675 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.82e-05/0.2976, allocations: 7.984 kB / 0.5675 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.374e-05/0.2976, allocations: 7.938 kB / 0.5675 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.2976, allocations: 0 / 0.5675 GB, free: 14.66 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001085/0.2978, allocations: 121.7 kB / 0.5676 GB, free: 14.55 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2978, allocations: 0 / 0.5676 GB, free: 14.55 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002458/0.298, allocations: 19.94 kB / 0.5677 GB, free: 14.53 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.001453/0.2995, allocations: 400 kB / 0.568 GB, free: 14.27 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002027/0.2997, allocations: 47.95 kB / 0.5681 GB, free: 14.22 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.2997, allocations: 0 / 0.5681 GB, free: 14.22 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.654e-05/0.2997, allocations: 31.86 kB / 0.5681 GB, free: 14.19 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003728/0.3001, allocations: 12 kB / 0.5681 GB, free: 14.18 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004268/0.3005, allocations: 182.2 kB / 0.5683 GB, free: 13.97 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003418/0.3009, allocations: 0.6962 MB / 0.569 GB, free: 13.25 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.116e-05/0.3009, allocations: 11.78 kB / 0.569 GB, free: 13.24 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.006e-05/0.3009, allocations: 11.44 kB / 0.569 GB, free: 13.23 MB / 414.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3009, allocations: 4 kB / 0.569 GB, free: 13.22 MB / 414.1 MB Notification: Performance of Templates: time 0.003984/0.3049, allocations: 1.145 MB / 0.5701 GB, free: 12.08 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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.665278217056766]