Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test8.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.007374/0.007374, allocations: 106.8 kB / 21.98 MB, free: 5.223 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.001875/0.001875, allocations: 216.6 kB / 25.29 MB, free: 3.203 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.451/1.451, allocations: 230.5 MB / 258.9 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.2267/0.2267, allocations: 46.92 MB / 362.3 MB, free: 4.223 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.CombiTable2Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test8") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test8") [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.00231/0.00231, allocations: 87.84 kB / 0.4982 GB, free: 7.27 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3169/0.3192, allocations: 66.07 MB / 0.5627 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test8): time 0.003269/0.3224, allocations: 1.632 MB / 0.5643 GB, free: 2.617 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001075/0.3235, allocations: 0.5723 MB / 0.5649 GB, free: 2.043 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.863e-05/0.3236, allocations: 0 / 0.5649 GB, free: 2.043 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000627/0.3242, allocations: 455.1 kB / 0.5653 GB, free: 1.598 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004924/0.3247, allocations: 291.3 kB / 0.5656 GB, free: 1.312 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000449/0.3251, allocations: 178.8 kB / 0.5658 GB, free: 1.141 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002487/0.3254, allocations: 171.6 kB / 0.5659 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.3255, allocations: 12 kB / 0.566 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001301/0.3256, allocations: 115.7 kB / 0.5661 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00028/0.3259, allocations: 243.5 kB / 0.5663 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.958e-05/0.3259, allocations: 8 kB / 0.5663 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.42e-05/0.326, allocations: 27.92 kB / 0.5663 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001106/0.3261, allocations: 79.7 kB / 0.5664 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.885e-05/0.3262, allocations: 103 kB / 0.5665 GB, free: 404 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000331/0.3265, allocations: 257 kB / 0.5667 GB, free: 152 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.3265, allocations: 0 / 0.5667 GB, free: 152 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3265, allocations: 0 / 0.5667 GB, free: 152 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.132e-06/0.3265, allocations: 3.938 kB / 0.5668 GB, free: 148 kB / 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.0007485/0.3273, allocations: 0.5621 MB / 0.5673 GB, free: 15.55 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.3273, allocations: 12.03 kB / 0.5673 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.218e-05/0.3274, allocations: 44.66 kB / 0.5674 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002902/0.3277, allocations: 250.7 kB / 0.5676 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/0.3277, allocations: 4.375 kB / 0.5676 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.567e-05/0.3277, allocations: 4.375 kB / 0.5676 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001525/0.3279, allocations: 43.23 kB / 0.5676 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.3279, allocations: 192 / 0.5676 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.3279, allocations: 7.938 kB / 0.5677 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/0.3279, allocations: 0 / 0.5677 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.21e-05/0.328, allocations: 31.97 kB / 0.5677 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005373/0.3285, allocations: 359.8 kB / 0.568 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.657e-05/0.3286, allocations: 34.56 kB / 0.5681 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.809e-05/0.3287, allocations: 12.92 kB / 0.5681 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.09e-05/0.3287, allocations: 0 / 0.5681 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.734e-05/0.3287, allocations: 42.55 kB / 0.5681 GB, free: 14.62 MB / 414.1 MB Notification: Performance of pre-optimization done (n=2): time 1.183e-06/0.3287, allocations: 0 / 0.5681 GB, free: 14.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002859/0.329, allocations: 109.3 kB / 0.5682 GB, free: 14.51 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.011e-05/0.329, allocations: 51.41 kB / 0.5683 GB, free: 14.45 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009258/0.33, allocations: 0.866 MB / 0.5691 GB, free: 13.57 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/0.33, allocations: 25.7 kB / 0.5691 GB, free: 13.54 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001913/0.3302, allocations: 224 kB / 0.5693 GB, free: 13.32 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.76e-05/0.3302, allocations: 12.08 kB / 0.5694 GB, free: 13.3 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.105e-05/0.3302, allocations: 9.719 kB / 0.5694 GB, free: 13.29 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001849/0.3304, allocations: 366.8 kB / 0.5697 GB, free: 12.92 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.038e-05/0.3304, allocations: 4 kB / 0.5697 GB, free: 12.92 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.922e-05/0.3305, allocations: 19.92 kB / 0.5697 GB, free: 12.9 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.134e-05/0.3306, allocations: 28.78 kB / 0.5698 GB, free: 12.87 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3306, allocations: 64 / 0.5698 GB, free: 12.87 MB / 414.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001633/0.3307, allocations: 105.3 kB / 0.5699 GB, free: 12.76 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.3308, allocations: 6.031 kB / 0.5699 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.688e-06/0.3308, allocations: 0 / 0.5699 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.3308, allocations: 3.938 kB / 0.5699 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.866e-05/0.3308, allocations: 4 kB / 0.5699 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.3308, allocations: 0 / 0.5699 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.101e-05/0.3309, allocations: 11.94 kB / 0.5699 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/0.3309, allocations: 0 / 0.5699 GB, free: 12.73 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 (2): * Single equations (assignments): 2 * 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.0002113/0.3311, allocations: 213.8 kB / 0.5701 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.059e-05/0.3312, allocations: 47.72 kB / 0.5701 GB, free: 12.47 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002235/0.3314, allocations: 108.8 kB / 0.5702 GB, free: 12.35 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.3314, allocations: 0 / 0.5702 GB, free: 12.35 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.3314, allocations: 0 / 0.5702 GB, free: 12.35 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.3314, allocations: 0 / 0.5702 GB, free: 12.35 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002886/0.3317, allocations: 260.6 kB / 0.5705 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.3317, allocations: 0 / 0.5705 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.911e-05/0.3317, allocations: 12.02 kB / 0.5705 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.3317, allocations: 0 / 0.5705 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.653e-06/0.3317, allocations: 0 / 0.5705 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.3317, allocations: 4 kB / 0.5705 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3317, allocations: 0 / 0.5705 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002085/0.332, allocations: 187.2 kB / 0.5707 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.177e-05/0.332, allocations: 39.7 kB / 0.5707 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.291e-05/0.332, allocations: 32 / 0.5707 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.796e-05/0.3321, allocations: 4 kB / 0.5707 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.187e-05/0.3321, allocations: 4 kB / 0.5707 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.16e-06/0.3321, allocations: 4 kB / 0.5707 GB, free: 11.79 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006689/0.3328, allocations: 0.6628 MB / 0.5714 GB, free: 11.13 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3328, allocations: 0 / 0.5714 GB, free: 11.13 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002434/0.333, allocations: 16 kB / 0.5714 GB, free: 11.11 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 (2): * Single equations (assignments): 2 * 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.001255/0.3343, allocations: 355.9 kB / 0.5717 GB, free: 10.87 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001512/0.3344, allocations: 23.98 kB / 0.5718 GB, free: 10.85 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.3344, allocations: 0 / 0.5718 GB, free: 10.85 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.32e-05/0.3345, allocations: 15.98 kB / 0.5718 GB, free: 10.83 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003953/0.3349, allocations: 30.3 kB / 0.5718 GB, free: 10.8 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001174/0.336, allocations: 0.8236 MB / 0.5726 GB, free: 9.945 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004746/0.3365, allocations: 0.8221 MB / 0.5734 GB, free: 9.094 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.857e-05/0.3366, allocations: 11.44 kB / 0.5734 GB, free: 9.082 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3366, allocations: 0 / 0.5734 GB, free: 9.082 MB / 414.1 MB Notification: Performance of Templates: time 0.007236/0.3438, allocations: 3.529 MB / 0.5769 GB, free: 5.547 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test8.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test8.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.69732405198738]