Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.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.005723/0.005723, allocations: 106.3 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.001438/0.001438, allocations: 215.9 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.424/1.424, allocations: 230.5 MB / 258.9 MB, free: 8.016 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.2605/0.2605, allocations: 46.94 MB / 362.3 MB, free: 4.195 MB / 286.1 MB " [Timeout remaining time 179] 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.CombiTable2Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.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.0023/0.0023, allocations: 83.86 kB / 0.4982 GB, free: 7.234 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3372/0.3395, allocations: 66.07 MB / 0.5627 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test2): time 0.00314/0.3427, allocations: 1.698 MB / 0.5644 GB, free: 2.535 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001077/0.3438, allocations: 0.5732 MB / 0.565 GB, free: 1.961 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.686e-05/0.3438, allocations: 4 kB / 0.565 GB, free: 1.957 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006059/0.3444, allocations: 455.1 kB / 0.5654 GB, free: 1.512 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005042/0.3449, allocations: 291.3 kB / 0.5657 GB, free: 1.227 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003714/0.3453, allocations: 139.6 kB / 0.5658 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002538/0.3456, allocations: 175.6 kB / 0.566 GB, free: 0.918 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/0.3457, allocations: 19.91 kB / 0.566 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001258/0.3458, allocations: 107.7 kB / 0.5661 GB, free: 0.793 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002931/0.3461, allocations: 263.4 kB / 0.5664 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.784e-05/0.3461, allocations: 4 kB / 0.5664 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001158/0.3462, allocations: 47.98 kB / 0.5664 GB, free: 496 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001156/0.3463, allocations: 83.69 kB / 0.5665 GB, free: 412 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.463e-05/0.3464, allocations: 107 kB / 0.5666 GB, free: 304 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003596/0.3468, allocations: 273 kB / 0.5668 GB, free: 36 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.3468, allocations: 0 / 0.5668 GB, free: 36 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.3468, allocations: 0 / 0.5668 GB, free: 36 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.212e-06/0.3468, allocations: 3.938 kB / 0.5669 GB, free: 32 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007803/0.3476, allocations: 0.5894 MB / 0.5674 GB, free: 15.4 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.3476, allocations: 12.03 kB / 0.5674 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.536e-05/0.3477, allocations: 40.66 kB / 0.5675 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002902/0.348, allocations: 246.8 kB / 0.5677 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.709e-06/0.348, allocations: 384 / 0.5677 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.578e-05/0.348, allocations: 4.375 kB / 0.5677 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001584/0.3482, allocations: 62.17 kB / 0.5678 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.3482, allocations: 192 / 0.5678 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.3482, allocations: 11.88 kB / 0.5678 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.3482, allocations: 4 kB / 0.5678 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001024/0.3483, allocations: 27.98 kB / 0.5678 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000563/0.3489, allocations: 367.7 kB / 0.5682 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001255/0.349, allocations: 42.56 kB / 0.5682 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.651e-05/0.3491, allocations: 16.94 kB / 0.5682 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.46e-05/0.3491, allocations: 4 kB / 0.5682 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.19e-05/0.3491, allocations: 30.56 kB / 0.5683 GB, free: 14.46 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.3491, allocations: 0 / 0.5683 GB, free: 14.46 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009597/0.3501, allocations: 320.5 kB / 0.5686 GB, free: 14.14 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.858e-05/0.3501, allocations: 51.41 kB / 0.5686 GB, free: 14.07 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008942/0.351, allocations: 0.8653 MB / 0.5695 GB, free: 13.2 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.752e-05/0.351, allocations: 25.7 kB / 0.5695 GB, free: 13.16 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001807/0.3512, allocations: 224.1 kB / 0.5697 GB, free: 12.94 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.1e-05/0.3513, allocations: 31.72 kB / 0.5697 GB, free: 12.91 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.064e-05/0.3513, allocations: 17.72 kB / 0.5697 GB, free: 12.89 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001751/0.3515, allocations: 370.7 kB / 0.5701 GB, free: 12.52 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.652e-05/0.3515, allocations: 31.92 kB / 0.5701 GB, free: 12.48 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.969e-05/0.3516, allocations: 23.98 kB / 0.5702 GB, free: 12.46 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001638/0.3518, allocations: 60.83 kB / 0.5702 GB, free: 12.4 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.3518, allocations: 0 / 0.5702 GB, free: 12.4 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002381/0.352, allocations: 141.5 kB / 0.5703 GB, free: 12.25 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.352, allocations: 4 kB / 0.5703 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.413e-06/0.352, allocations: 8 kB / 0.5704 GB, free: 12.24 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.3521, allocations: 0 / 0.5704 GB, free: 12.24 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/0.3522, allocations: 19.98 kB / 0.5704 GB, free: 12.22 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.3522, allocations: 0 / 0.5704 GB, free: 12.22 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.731e-05/0.3522, allocations: 7.938 kB / 0.5704 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.07e-05/0.3522, allocations: 4 kB / 0.5704 GB, free: 12.21 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 (8): * Single equations (assignments): 8 * 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.0002036/0.3524, allocations: 213.8 kB / 0.5706 GB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.653e-05/0.3525, allocations: 47.67 kB / 0.5706 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003328/0.3528, allocations: 165.4 kB / 0.5708 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.3529, allocations: 4.422 kB / 0.5708 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.3529, allocations: 0 / 0.5708 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/0.3529, allocations: 3.938 kB / 0.5708 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006438/0.3535, allocations: 486.2 kB / 0.5713 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-06/0.3535, allocations: 4.031 kB / 0.5713 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.988e-05/0.3536, allocations: 15.98 kB / 0.5713 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.454e-06/0.3536, allocations: 11.92 kB / 0.5713 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.3536, allocations: 4 kB / 0.5713 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.3536, allocations: 0 / 0.5713 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3536, allocations: 0 / 0.5713 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002922/0.3539, allocations: 244 kB / 0.5715 GB, free: 10.94 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.501e-05/0.3539, allocations: 35.72 kB / 0.5716 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.622e-05/0.354, allocations: 3.938 kB / 0.5716 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.972e-05/0.3541, allocations: 11.98 kB / 0.5716 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.463e-05/0.3541, allocations: 4 kB / 0.5716 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-06/0.3541, allocations: 0 / 0.5716 GB, free: 10.89 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006795/0.3548, allocations: 0.6589 MB / 0.5722 GB, free: 10.23 MB / 414.1 MB Notification: Performance of sort global known variables: time 5e-08/0.3548, allocations: 0 / 0.5722 GB, free: 10.23 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002734/0.3551, allocations: 24 kB / 0.5723 GB, free: 10.21 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001706/0.3568, allocations: 461 kB / 0.5727 GB, free: 9.918 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002486/0.357, allocations: 71.89 kB / 0.5728 GB, free: 9.848 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.357, allocations: 0 / 0.5728 GB, free: 9.848 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.013e-05/0.3571, allocations: 36.06 kB / 0.5728 GB, free: 9.812 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004137/0.3575, allocations: 26.3 kB / 0.5728 GB, free: 9.785 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001304/0.3588, allocations: 0.8676 MB / 0.5737 GB, free: 8.883 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005123/0.3593, allocations: 0.826 MB / 0.5745 GB, free: 8.027 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.156e-05/0.3594, allocations: 19.44 kB / 0.5745 GB, free: 8.012 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3594, allocations: 0 / 0.5745 GB, free: 8.012 MB / 414.1 MB Notification: Performance of Templates: time 0.007557/0.3669, allocations: 3.954 MB / 0.5784 GB, free: 4.051 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test2.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.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: 7.625314194941893]