Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001522/0.001522, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001483/0.001483, allocations: 215.8 kB / 23.73 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.47/1.47, allocations: 230.6 MB / 257.5 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2275/0.2275, allocations: 44.94 MB / 358.8 MB, free: 6.027 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002231/0.002231, allocations: 75.89 kB / 0.4931 GB, free: 10.5 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3249/0.3272, allocations: 65.47 MB / 0.557 GB, free: 7.324 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.003349/0.3305, allocations: 1.679 MB / 0.5586 GB, free: 5.82 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001168/0.3317, allocations: 0.5777 MB / 0.5592 GB, free: 5.238 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.773e-05/0.3317, allocations: 0 / 0.5592 GB, free: 5.238 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001983/0.3319, allocations: 23.78 kB / 0.5592 GB, free: 5.215 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002886/0.3322, allocations: 83.61 kB / 0.5593 GB, free: 5.133 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000445/0.3327, allocations: 183.2 kB / 0.5595 GB, free: 4.957 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002037/0.3329, allocations: 103.7 kB / 0.5596 GB, free: 4.855 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.333, allocations: 17.75 kB / 0.5596 GB, free: 4.84 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.851e-05/0.3331, allocations: 35.86 kB / 0.5596 GB, free: 4.805 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.633e-05/0.3332, allocations: 51.75 kB / 0.5597 GB, free: 4.754 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2e-05/0.3332, allocations: 7.938 kB / 0.5597 GB, free: 4.746 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001971/0.3334, allocations: 95.94 kB / 0.5598 GB, free: 4.652 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.532e-05/0.3335, allocations: 23.92 kB / 0.5598 GB, free: 4.629 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.947e-05/0.3335, allocations: 31.8 kB / 0.5598 GB, free: 4.598 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003266/0.3338, allocations: 175.3 kB / 0.56 GB, free: 4.426 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.3338, allocations: 0 / 0.56 GB, free: 4.426 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.3339, allocations: 0 / 0.56 GB, free: 4.426 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.3339, allocations: 0 / 0.56 GB, free: 4.426 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008221/0.3347, allocations: 373.4 kB / 0.5603 GB, free: 4.031 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/0.3347, allocations: 12.03 kB / 0.5604 GB, free: 4.02 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.759e-05/0.3348, allocations: 34.75 kB / 0.5604 GB, free: 3.977 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.936e-05/0.3348, allocations: 12.89 kB / 0.5604 GB, free: 3.965 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003649/0.3352, allocations: 148 kB / 0.5605 GB, free: 3.797 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.857e-06/0.3352, allocations: 8.375 kB / 0.5605 GB, free: 3.789 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.7e-05/0.3352, allocations: 4.375 kB / 0.5606 GB, free: 3.785 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003256/0.3356, allocations: 124.9 kB / 0.5607 GB, free: 3.645 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.3356, allocations: 0 / 0.5607 GB, free: 3.645 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/0.3356, allocations: 3.984 kB / 0.5607 GB, free: 3.641 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.3356, allocations: 0 / 0.5607 GB, free: 3.641 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003569/0.3359, allocations: 75.92 kB / 0.5607 GB, free: 3.566 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006927/0.3366, allocations: 311.7 kB / 0.561 GB, free: 3.219 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002645/0.3369, allocations: 70.53 kB / 0.5611 GB, free: 3.141 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001776/0.3371, allocations: 52.94 kB / 0.5612 GB, free: 3.086 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.101e-05/0.3371, allocations: 0 / 0.5612 GB, free: 3.086 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.338e-05/0.3371, allocations: 38.55 kB / 0.5612 GB, free: 3.039 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 8.91e-07/0.3371, allocations: 0 / 0.5612 GB, free: 3.039 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.001931/0.3391, allocations: 416.9 kB / 0.5616 GB, free: 2.625 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001032/0.3392, allocations: 77.11 kB / 0.5617 GB, free: 2.531 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001934/0.3394, allocations: 166.2 kB / 0.5618 GB, free: 2.355 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.561e-05/0.3394, allocations: 29.7 kB / 0.5619 GB, free: 2.32 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000174/0.3396, allocations: 104.1 kB / 0.562 GB, free: 2.215 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.908e-05/0.3396, allocations: 35.67 kB / 0.562 GB, free: 2.18 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.994e-05/0.3397, allocations: 21.72 kB / 0.562 GB, free: 2.152 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002894/0.34, allocations: 322.8 kB / 0.5623 GB, free: 1.828 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003059/0.3403, allocations: 79.92 kB / 0.5624 GB, free: 1.75 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003401/0.3406, allocations: 127.4 kB / 0.5625 GB, free: 1.613 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006093/0.3412, allocations: 168.7 kB / 0.5627 GB, free: 1.445 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.3412, allocations: 0 / 0.5627 GB, free: 1.445 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006964/0.3419, allocations: 213.4 kB / 0.5629 GB, free: 1.23 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.339e-05/0.3419, allocations: 8 kB / 0.5629 GB, free: 1.223 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.802e-06/0.3419, allocations: 0 / 0.5629 GB, free: 1.223 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.534e-05/0.342, allocations: 0 / 0.5629 GB, free: 1.223 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002383/0.3422, allocations: 39.95 kB / 0.5629 GB, free: 1.184 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.257e-06/0.3422, allocations: 3.938 kB / 0.5629 GB, free: 1.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001597/0.3424, allocations: 27.91 kB / 0.563 GB, free: 1.152 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.536e-05/0.3424, allocations: 4 kB / 0.563 GB, free: 1.148 MB / 398.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 (10): * Single equations (assignments): 10 * 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.0001294/0.3425, allocations: 125.8 kB / 0.5631 GB, free: 1.016 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.512e-05/0.3426, allocations: 7.953 kB / 0.5631 GB, free: 1.008 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000752/0.3433, allocations: 218.2 kB / 0.5633 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.3433, allocations: 8 kB / 0.5633 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.705e-06/0.3433, allocations: 4.312 kB / 0.5633 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.3433, allocations: 0 / 0.5633 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001161/0.3445, allocations: 497.3 kB / 0.5638 GB, free: 244 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.3445, allocations: 0 / 0.5638 GB, free: 244 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002618/0.3448, allocations: 36.28 kB / 0.5638 GB, free: 208 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.024e-06/0.3448, allocations: 3.984 kB / 0.5638 GB, free: 204 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/0.3448, allocations: 4 kB / 0.5638 GB, free: 200 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.3448, allocations: 0 / 0.5638 GB, free: 200 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.3448, allocations: 4 kB / 0.5638 GB, free: 196 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007472/0.3455, allocations: 299.3 kB / 0.5641 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.106e-05/0.3456, allocations: 19.83 kB / 0.5641 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.694e-05/0.3456, allocations: 4 kB / 0.5641 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001898/0.3458, allocations: 27.91 kB / 0.5642 GB, free: 15.83 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.446e-05/0.3458, allocations: 11.98 kB / 0.5642 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.204e-06/0.3458, allocations: 4 kB / 0.5642 GB, free: 15.82 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001716/0.346, allocations: 128.1 kB / 0.5643 GB, free: 15.69 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.346, allocations: 0 / 0.5643 GB, free: 15.69 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003316/0.3463, allocations: 47.88 kB / 0.5643 GB, free: 15.64 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 (9): * Single equations (assignments): 9 * 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.002945/0.3493, allocations: 1.274 MB / 0.5656 GB, free: 14.57 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007093/0.35, allocations: 175.8 kB / 0.5658 GB, free: 14.4 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.35, allocations: 4 kB / 0.5658 GB, free: 14.39 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003151/0.3503, allocations: 83.86 kB / 0.5658 GB, free: 14.31 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003985/0.3507, allocations: 20.36 kB / 0.5659 GB, free: 14.29 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003357/0.3541, allocations: 1.94 MB / 0.5678 GB, free: 12.27 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.387e-05/0.3542, allocations: 88.19 kB / 0.5678 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001279/0.3543, allocations: 36.45 kB / 0.5679 GB, free: 12.13 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.447e-05/0.3544, allocations: 39.41 kB / 0.5679 GB, free: 12.09 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3544, allocations: 0 / 0.5679 GB, free: 12.09 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03224/0.3866, allocations: 5.09 MB / 0.5729 GB, free: 7.035 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.72, allocations: 8.156 kB / 0.5729 GB, free: 7.027 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.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: 14.7854442037642]