Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.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.00122/0.00122, allocations: 109.1 kB / 21.22 MB, free: 0.6484 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.001399/0.001399, allocations: 209.4 kB / 24.51 MB, free: 3.941 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.405/1.405, allocations: 230.5 MB / 258.2 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2194/0.2194, allocations: 46.94 MB / 361.6 MB, free: 3.945 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00215/0.00215, allocations: 79.88 kB / 0.4969 GB, free: 7.551 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3078/0.31, allocations: 66.08 MB / 0.5615 GB, free: 4.047 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab): time 0.003206/0.3132, allocations: 1.681 MB / 0.5631 GB, free: 2.359 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001/0.3142, allocations: 0.5421 MB / 0.5636 GB, free: 1.816 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.157e-05/0.3142, allocations: 0 / 0.5636 GB, free: 1.816 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001788/0.3144, allocations: 27.78 kB / 0.5637 GB, free: 1.789 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002787/0.3147, allocations: 79.61 kB / 0.5637 GB, free: 1.711 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003366/0.315, allocations: 138.9 kB / 0.5639 GB, free: 1.578 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000168/0.3152, allocations: 99.62 kB / 0.564 GB, free: 1.48 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.884e-05/0.3153, allocations: 13.83 kB / 0.564 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.288e-05/0.3154, allocations: 39.84 kB / 0.564 GB, free: 1.43 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.674e-05/0.3155, allocations: 51.7 kB / 0.5641 GB, free: 1.379 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.3155, allocations: 8 kB / 0.5641 GB, free: 1.371 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001657/0.3156, allocations: 95.94 kB / 0.5642 GB, free: 1.277 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.904e-05/0.3157, allocations: 27.92 kB / 0.5642 GB, free: 1.25 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.206e-05/0.3158, allocations: 27.86 kB / 0.5642 GB, free: 1.223 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002861/0.316, allocations: 179.2 kB / 0.5644 GB, free: 1.047 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.316, allocations: 0 / 0.5644 GB, free: 1.047 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.316, allocations: 0 / 0.5644 GB, free: 1.047 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.316, allocations: 0 / 0.5644 GB, free: 1.047 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.000646/0.3167, allocations: 369.5 kB / 0.5647 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.356e-05/0.3167, allocations: 8.031 kB / 0.5647 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.228e-05/0.3167, allocations: 192 / 0.5647 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.333e-05/0.3168, allocations: 42.75 kB / 0.5648 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.001e-05/0.3168, allocations: 12.88 kB / 0.5648 GB, free: 0.582 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000204/0.317, allocations: 150.3 kB / 0.5649 GB, free: 420 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.029e-06/0.317, allocations: 384 / 0.5649 GB, free: 420 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.233e-05/0.317, allocations: 4.375 kB / 0.5649 GB, free: 416 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002774/0.3173, allocations: 121.4 kB / 0.5651 GB, free: 276 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.3173, allocations: 0 / 0.5651 GB, free: 276 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.3173, allocations: 0 / 0.5651 GB, free: 276 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.3173, allocations: 0 / 0.5651 GB, free: 276 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002771/0.3176, allocations: 71.92 kB / 0.5651 GB, free: 204 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004421/0.3181, allocations: 279.8 kB / 0.5654 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002279/0.3183, allocations: 62.53 kB / 0.5655 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001597/0.3185, allocations: 52.88 kB / 0.5655 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.319e-05/0.3185, allocations: 4 kB / 0.5655 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.089e-05/0.3185, allocations: 30.56 kB / 0.5655 GB, free: 15.71 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/0.3185, allocations: 0 / 0.5655 GB, free: 15.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.001551/0.3201, allocations: 384.9 kB / 0.5659 GB, free: 15.33 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.407e-05/0.3201, allocations: 81.11 kB / 0.566 GB, free: 15.23 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001871/0.3203, allocations: 170.1 kB / 0.5661 GB, free: 15.05 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.103e-05/0.3203, allocations: 25.7 kB / 0.5662 GB, free: 15.02 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.925e-05/0.3204, allocations: 100.1 kB / 0.5663 GB, free: 14.92 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.408e-05/0.3204, allocations: 31.69 kB / 0.5663 GB, free: 14.89 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.931e-05/0.3205, allocations: 21.72 kB / 0.5663 GB, free: 14.86 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.3206, allocations: 326.9 kB / 0.5666 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000279/0.3209, allocations: 79.86 kB / 0.5667 GB, free: 14.46 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002837/0.3212, allocations: 111.3 kB / 0.5668 GB, free: 14.34 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005199/0.3217, allocations: 152.7 kB / 0.567 GB, free: 14.18 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.3217, allocations: 0 / 0.567 GB, free: 14.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005824/0.3223, allocations: 189.4 kB / 0.5671 GB, free: 13.99 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.3223, allocations: 8 kB / 0.5671 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.3223, allocations: 0 / 0.5671 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.3223, allocations: 0 / 0.5671 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002324/0.3226, allocations: 39.95 kB / 0.5672 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.3226, allocations: 0 / 0.5672 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001513/0.3227, allocations: 32.27 kB / 0.5672 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/0.3227, allocations: 4 kB / 0.5672 GB, free: 13.91 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 (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 9.314e-05/0.3228, allocations: 117.8 kB / 0.5673 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.769e-05/0.3229, allocations: 15.91 kB / 0.5673 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006203/0.3235, allocations: 202.5 kB / 0.5675 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.3235, allocations: 4 kB / 0.5675 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.3235, allocations: 4 kB / 0.5675 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.231e-05/0.3235, allocations: 4.031 kB / 0.5675 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009009/0.3244, allocations: 457.4 kB / 0.568 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.3244, allocations: 4 kB / 0.568 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001772/0.3246, allocations: 43.89 kB / 0.568 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.3246, allocations: 3.938 kB / 0.568 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.3246, allocations: 0 / 0.568 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.3246, allocations: 0 / 0.568 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.3246, allocations: 3.984 kB / 0.568 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006998/0.3253, allocations: 291.2 kB / 0.5683 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.299e-05/0.3253, allocations: 11.94 kB / 0.5683 GB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.838e-05/0.3254, allocations: 7.938 kB / 0.5683 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001783/0.3255, allocations: 23.97 kB / 0.5684 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.263e-05/0.3256, allocations: 15.97 kB / 0.5684 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.333e-06/0.3256, allocations: 4 kB / 0.5684 GB, free: 12.64 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001167/0.3257, allocations: 123.1 kB / 0.5685 GB, free: 12.52 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3257, allocations: 4 kB / 0.5685 GB, free: 12.51 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003092/0.326, allocations: 51.86 kB / 0.5685 GB, free: 12.46 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.002759/0.3288, allocations: 1.244 MB / 0.5698 GB, free: 11.37 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005944/0.3294, allocations: 147.8 kB / 0.5699 GB, free: 11.23 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3294, allocations: 4 kB / 0.5699 GB, free: 11.22 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002795/0.3297, allocations: 79.86 kB / 0.57 GB, free: 11.14 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003635/0.33, allocations: 26.94 kB / 0.57 GB, free: 11.12 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002857/0.3329, allocations: 1.852 MB / 0.5718 GB, free: 9.184 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.582e-05/0.333, allocations: 89.31 kB / 0.5719 GB, free: 9.074 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.892e-05/0.3331, allocations: 28.47 kB / 0.5719 GB, free: 9.047 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.84e-05/0.3332, allocations: 35.42 kB / 0.572 GB, free: 9.012 MB / 414.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3332, allocations: 0 / 0.572 GB, free: 9.012 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02388/0.357, allocations: 4.611 MB / 0.5765 GB, free: 4.414 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.89/11.24, allocations: 8.062 kB / 0.5765 GB, free: 4.406 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.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.195302037987858]