Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test1.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.001279/0.001279, allocations: 113.1 kB / 21.85 MB, free: 80 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.001494/0.001494, allocations: 212.4 kB / 25.13 MB, free: 3.605 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.428/1.428, allocations: 230.4 MB / 258.7 MB, free: 8.023 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.2342/0.2342, allocations: 46.94 MB / 362.1 MB, free: 4.199 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.CombiTable2Ds.Test1,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.Test1") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test1,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.Test1") [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.002258/0.002258, allocations: 79.86 kB / 0.4978 GB, free: 7.336 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3271/0.3294, allocations: 66.08 MB / 0.5624 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test1): time 0.003229/0.3326, allocations: 1.687 MB / 0.564 GB, free: 2.535 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001114/0.3337, allocations: 0.5732 MB / 0.5646 GB, free: 1.961 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.206e-05/0.3338, allocations: 4 kB / 0.5646 GB, free: 1.957 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006391/0.3344, allocations: 455.1 kB / 0.565 GB, free: 1.512 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005049/0.335, allocations: 295.3 kB / 0.5653 GB, free: 1.223 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003438/0.3353, allocations: 131.3 kB / 0.5654 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002813/0.3356, allocations: 183.6 kB / 0.5656 GB, free: 0.918 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.3357, allocations: 10.81 kB / 0.5656 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001354/0.3358, allocations: 115.7 kB / 0.5657 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000275/0.3361, allocations: 247.5 kB / 0.5659 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.988e-05/0.3361, allocations: 8 kB / 0.5659 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001164/0.3362, allocations: 51.92 kB / 0.566 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001091/0.3363, allocations: 87.67 kB / 0.5661 GB, free: 420 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.131e-05/0.3364, allocations: 106.9 kB / 0.5662 GB, free: 312 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003412/0.3368, allocations: 278.3 kB / 0.5664 GB, free: 36 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.3368, allocations: 0 / 0.5664 GB, free: 36 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.3368, allocations: 0 / 0.5664 GB, free: 36 kB / 398.1 MB Notification: Performance of Transformations before backend: time 1.042e-05/0.3368, allocations: 0 / 0.5664 GB, free: 36 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.0007714/0.3376, allocations: 0.5853 MB / 0.567 GB, free: 15.41 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.3376, allocations: 8.031 kB / 0.567 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.742e-05/0.3377, allocations: 48.66 kB / 0.5671 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002664/0.3379, allocations: 246.8 kB / 0.5673 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.3379, allocations: 4.375 kB / 0.5673 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.338e-05/0.338, allocations: 8.312 kB / 0.5673 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001401/0.3381, allocations: 54.23 kB / 0.5674 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.563e-05/0.3381, allocations: 8.125 kB / 0.5674 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.471e-05/0.3381, allocations: 3.938 kB / 0.5674 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.3381, allocations: 0 / 0.5674 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.721e-05/0.3382, allocations: 31.97 kB / 0.5674 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005152/0.3388, allocations: 363.8 kB / 0.5678 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001184/0.3389, allocations: 46.58 kB / 0.5678 GB, free: 14.53 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.339e-05/0.3389, allocations: 16.86 kB / 0.5678 GB, free: 14.51 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.048e-05/0.3389, allocations: 0 / 0.5678 GB, free: 14.51 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.059e-05/0.339, allocations: 34.56 kB / 0.5679 GB, free: 14.46 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 8.41e-07/0.339, allocations: 4 kB / 0.5679 GB, free: 14.46 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009735/0.34, allocations: 316.5 kB / 0.5682 GB, free: 14.14 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.027e-05/0.34, allocations: 55.41 kB / 0.5682 GB, free: 14.08 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000943/0.3409, allocations: 0.8653 MB / 0.5691 GB, free: 13.2 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.074e-05/0.341, allocations: 29.7 kB / 0.5691 GB, free: 13.16 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001916/0.3412, allocations: 224 kB / 0.5693 GB, free: 12.94 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.923e-05/0.3412, allocations: 27.75 kB / 0.5693 GB, free: 12.91 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.512e-05/0.3412, allocations: 25.7 kB / 0.5693 GB, free: 12.88 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001933/0.3414, allocations: 362.7 kB / 0.5697 GB, free: 12.52 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.814e-05/0.3415, allocations: 23.97 kB / 0.5697 GB, free: 12.5 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.69e-05/0.3416, allocations: 31.98 kB / 0.5697 GB, free: 12.46 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001516/0.3417, allocations: 60.83 kB / 0.5698 GB, free: 12.4 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.3417, allocations: 0 / 0.5698 GB, free: 12.4 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002726/0.342, allocations: 133.4 kB / 0.5699 GB, free: 12.27 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.342, allocations: 8 kB / 0.5699 GB, free: 12.26 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.342, allocations: 0 / 0.5699 GB, free: 12.26 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.342, allocations: 3.938 kB / 0.5699 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001046/0.3421, allocations: 27.92 kB / 0.57 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.3422, allocations: 0 / 0.57 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.992e-05/0.3422, allocations: 11.92 kB / 0.57 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.3422, allocations: 0 / 0.57 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.0002051/0.3424, allocations: 209.8 kB / 0.5702 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.49e-05/0.3425, allocations: 47.67 kB / 0.5702 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003341/0.3428, allocations: 173.8 kB / 0.5704 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.3428, allocations: 3.938 kB / 0.5704 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.3428, allocations: 0 / 0.5704 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.3428, allocations: 3.938 kB / 0.5704 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006727/0.3435, allocations: 482.7 kB / 0.5709 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.3435, allocations: 0 / 0.5709 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8e-05/0.3436, allocations: 19.98 kB / 0.5709 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.591e-06/0.3436, allocations: 7.969 kB / 0.5709 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.585e-06/0.3436, allocations: 0 / 0.5709 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3436, allocations: 80 / 0.5709 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.3436, allocations: 7.984 kB / 0.5709 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002963/0.3439, allocations: 240 kB / 0.5711 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.835e-05/0.344, allocations: 35.72 kB / 0.5712 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.82e-05/0.344, allocations: 11.92 kB / 0.5712 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.518e-05/0.3441, allocations: 4 kB / 0.5712 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.871e-05/0.3441, allocations: 11.98 kB / 0.5712 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.3e-06/0.3441, allocations: 0 / 0.5712 GB, free: 10.89 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006736/0.3448, allocations: 0.6511 MB / 0.5718 GB, free: 10.24 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3448, allocations: 0 / 0.5718 GB, free: 10.24 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002792/0.3451, allocations: 31.98 kB / 0.5719 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.00168/0.3468, allocations: 451.3 kB / 0.5723 GB, free: 9.918 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002322/0.347, allocations: 63.89 kB / 0.5723 GB, free: 9.855 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.347, allocations: 0 / 0.5723 GB, free: 9.855 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.737e-05/0.3471, allocations: 39.97 kB / 0.5724 GB, free: 9.816 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004046/0.3475, allocations: 34.73 kB / 0.5724 GB, free: 9.785 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00121/0.3487, allocations: 0.8269 MB / 0.5732 GB, free: 8.93 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004958/0.3492, allocations: 0.8221 MB / 0.574 GB, free: 8.078 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.717e-05/0.3493, allocations: 20.72 kB / 0.574 GB, free: 8.059 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.143e-05/0.3493, allocations: 19.44 kB / 0.5741 GB, free: 8.039 MB / 414.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3493, allocations: 0 / 0.5741 GB, free: 8.039 MB / 414.1 MB Notification: Performance of Templates: time 0.005394/0.3547, allocations: 1.773 MB / 0.5758 GB, free: 6.277 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test1.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test1 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test1.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.981459805043414]