Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test20.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.001758/0.001758, 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.002081/0.002081, 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.495/1.495, allocations: 230.2 MB / 257.8 MB, free: 8.496 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.2365/0.2365, allocations: 46.89 MB / 361.1 MB, free: 4.629 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.Test20,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.Test20") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test20,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.Test20") [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.002507/0.002507, allocations: 75.88 kB / 0.4968 GB, free: 7.797 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3256/0.3281, allocations: 65.99 MB / 0.5612 GB, free: 5.027 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test20): time 0.003426/0.3315, allocations: 1.627 MB / 0.5628 GB, free: 3.395 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00217/0.3337, allocations: 1.255 MB / 0.564 GB, free: 2.137 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.11e-05/0.3337, allocations: 4 kB / 0.564 GB, free: 2.133 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000231/0.334, allocations: 23.86 kB / 0.5641 GB, free: 2.109 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003542/0.3343, allocations: 87.55 kB / 0.5641 GB, free: 2.023 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003621/0.3347, allocations: 111.7 kB / 0.5642 GB, free: 1.914 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001853/0.3349, allocations: 67.78 kB / 0.5643 GB, free: 1.848 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001293/0.335, allocations: 15.97 kB / 0.5643 GB, free: 1.832 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.771e-05/0.3351, allocations: 23.92 kB / 0.5643 GB, free: 1.809 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001651/0.3352, allocations: 31.84 kB / 0.5644 GB, free: 1.777 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.821e-05/0.3353, allocations: 4 kB / 0.5644 GB, free: 1.773 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002354/0.3355, allocations: 99.88 kB / 0.5645 GB, free: 1.676 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.722e-05/0.3356, allocations: 15.92 kB / 0.5645 GB, free: 1.66 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.568e-05/0.3356, allocations: 23.86 kB / 0.5645 GB, free: 1.637 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003322/0.3359, allocations: 146.1 kB / 0.5647 GB, free: 1.496 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.3359, allocations: 0 / 0.5647 GB, free: 1.496 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3359, allocations: 0 / 0.5647 GB, free: 1.496 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.133e-05/0.3359, allocations: 4 kB / 0.5647 GB, free: 1.492 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.0006296/0.3366, allocations: 406.8 kB / 0.565 GB, free: 1.043 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.3366, allocations: 8.031 kB / 0.5651 GB, free: 1.035 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.561e-05/0.3367, allocations: 12.88 kB / 0.5651 GB, free: 1.023 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002504/0.3369, allocations: 192.3 kB / 0.5653 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.3369, allocations: 4.375 kB / 0.5653 GB, free: 0.793 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.038e-05/0.337, allocations: 8.312 kB / 0.5653 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001716/0.3371, allocations: 67.95 kB / 0.5653 GB, free: 0.707 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.3371, allocations: 192 / 0.5653 GB, free: 0.707 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.698e-05/0.3372, allocations: 3.938 kB / 0.5653 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.3372, allocations: 4 kB / 0.5653 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001032/0.3373, allocations: 23.92 kB / 0.5654 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004432/0.3377, allocations: 280.9 kB / 0.5656 GB, free: 360 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002274/0.3379, allocations: 50.5 kB / 0.5657 GB, free: 300 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.851e-05/0.338, allocations: 16.94 kB / 0.5657 GB, free: 280 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.257e-05/0.338, allocations: 0 / 0.5657 GB, free: 280 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.159e-05/0.338, allocations: 38.5 kB / 0.5657 GB, free: 232 kB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 8.51e-07/0.338, allocations: 0 / 0.5657 GB, free: 232 kB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.000625/0.3387, allocations: 149.5 kB / 0.5659 GB, free: 76 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001092/0.3388, allocations: 81.05 kB / 0.5659 GB, free: 15.98 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001747/0.339, allocations: 148 kB / 0.5661 GB, free: 15.82 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.071e-05/0.339, allocations: 29.7 kB / 0.5661 GB, free: 15.79 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.708e-05/0.339, allocations: 92.12 kB / 0.5662 GB, free: 15.7 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.973e-05/0.3391, allocations: 23.78 kB / 0.5662 GB, free: 15.67 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.112e-05/0.3391, allocations: 21.72 kB / 0.5662 GB, free: 15.64 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.3393, allocations: 322.8 kB / 0.5666 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.774e-05/0.3393, allocations: 23.98 kB / 0.5666 GB, free: 15.3 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.72e-05/0.3394, allocations: 33.7 kB / 0.5666 GB, free: 15.26 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001505/0.3396, allocations: 48.83 kB / 0.5667 GB, free: 15.21 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.3396, allocations: 3.938 kB / 0.5667 GB, free: 15.2 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002201/0.3398, allocations: 97.58 kB / 0.5668 GB, free: 15.1 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.3398, allocations: 4 kB / 0.5668 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.3398, allocations: 0 / 0.5668 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.3398, allocations: 0 / 0.5668 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.264e-05/0.3399, allocations: 15.98 kB / 0.5668 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.3399, allocations: 0 / 0.5668 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.027e-05/0.34, allocations: 4.25 kB / 0.5668 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.408e-06/0.34, allocations: 4 kB / 0.5668 GB, free: 15.07 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.0001035/0.3401, allocations: 121.8 kB / 0.5669 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.094e-05/0.3401, allocations: 11.95 kB / 0.5669 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000271/0.3404, allocations: 97.91 kB / 0.567 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.3404, allocations: 3.938 kB / 0.567 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.3404, allocations: 3.984 kB / 0.567 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.3404, allocations: 0 / 0.567 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005018/0.3409, allocations: 362.5 kB / 0.5674 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.3409, allocations: 0 / 0.5674 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.027e-05/0.341, allocations: 12 kB / 0.5674 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.075e-06/0.341, allocations: 0 / 0.5674 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.044e-06/0.341, allocations: 0 / 0.5674 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.49e-06/0.341, allocations: 7.938 kB / 0.5674 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.341, allocations: 7.922 kB / 0.5674 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002646/0.3413, allocations: 171.5 kB / 0.5675 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.282e-05/0.3413, allocations: 93.33 kB / 0.5676 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.238e-05/0.3414, allocations: 4 kB / 0.5676 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.082e-05/0.3415, allocations: 4 kB / 0.5676 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.69e-05/0.3415, allocations: 15.91 kB / 0.5677 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.3415, allocations: 0 / 0.5677 GB, free: 14.07 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001114/0.3416, allocations: 113.9 kB / 0.5678 GB, free: 13.96 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3416, allocations: 0 / 0.5678 GB, free: 13.96 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003078/0.3419, allocations: 39.86 kB / 0.5678 GB, free: 13.92 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.0018/0.3437, allocations: 0.4908 MB / 0.5683 GB, free: 13.59 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002531/0.344, allocations: 59.91 kB / 0.5683 GB, free: 13.53 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.344, allocations: 0 / 0.5683 GB, free: 13.53 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.072e-05/0.3441, allocations: 27.97 kB / 0.5684 GB, free: 13.5 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003807/0.3444, allocations: 14.23 kB / 0.5684 GB, free: 13.49 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004906/0.3449, allocations: 177.4 kB / 0.5685 GB, free: 13.29 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003463/0.3453, allocations: 0.7001 MB / 0.5692 GB, free: 12.57 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.953e-05/0.3454, allocations: 19.77 kB / 0.5693 GB, free: 12.55 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.116e-05/0.3454, allocations: 11.44 kB / 0.5693 GB, free: 12.54 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3454, allocations: 0 / 0.5693 GB, free: 12.54 MB / 414.1 MB Notification: Performance of Templates: time 0.005561/0.351, allocations: 1.774 MB / 0.571 GB, free: 10.77 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test20.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test20.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test20 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test20.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.040021814871579]