Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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.001886/0.001886, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.001897/0.001897, allocations: 205.2 kB / 24.52 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.538/1.538, allocations: 230.6 MB / 258.3 MB, free: 8.047 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.2193/0.2193, allocations: 44.91 MB / 359.6 MB, free: 6.309 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.CombiTable2Ds.Test18_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab",fmuType="cs",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.002401/0.002401, allocations: 63.91 kB / 0.4939 GB, free: 10.71 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3306/0.333, allocations: 65.47 MB / 0.5578 GB, free: 7.527 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab): time 0.003143/0.3361, allocations: 1.719 MB / 0.5595 GB, free: 6.043 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001043/0.3372, allocations: 0.5815 MB / 0.5601 GB, free: 5.457 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.06e-05/0.3372, allocations: 4 kB / 0.5601 GB, free: 5.453 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001713/0.3374, allocations: 27.78 kB / 0.5601 GB, free: 5.426 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002612/0.3376, allocations: 79.56 kB / 0.5602 GB, free: 5.348 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003546/0.338, allocations: 139.4 kB / 0.5603 GB, free: 5.215 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000166/0.3382, allocations: 91.77 kB / 0.5604 GB, free: 5.125 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.078e-05/0.3383, allocations: 17.83 kB / 0.5604 GB, free: 5.109 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.52e-05/0.3383, allocations: 39.83 kB / 0.5604 GB, free: 5.07 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.63e-05/0.3384, allocations: 43.78 kB / 0.5605 GB, free: 5.027 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.571e-05/0.3384, allocations: 8 kB / 0.5605 GB, free: 5.02 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001896/0.3386, allocations: 111.9 kB / 0.5606 GB, free: 4.91 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.383e-05/0.3387, allocations: 19.92 kB / 0.5606 GB, free: 4.891 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.497e-05/0.3387, allocations: 39.78 kB / 0.5606 GB, free: 4.852 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002838/0.339, allocations: 171.3 kB / 0.5608 GB, free: 4.684 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.339, allocations: 0 / 0.5608 GB, free: 4.684 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.339, allocations: 0 / 0.5608 GB, free: 4.684 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.641e-06/0.339, allocations: 4 kB / 0.5608 GB, free: 4.68 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.0006463/0.3397, allocations: 373.4 kB / 0.5612 GB, free: 4.285 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.3397, allocations: 8.031 kB / 0.5612 GB, free: 4.277 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.248e-05/0.3397, allocations: 4.188 kB / 0.5612 GB, free: 4.273 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.389e-05/0.3398, allocations: 38.73 kB / 0.5612 GB, free: 4.227 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.004e-05/0.3398, allocations: 8.891 kB / 0.5612 GB, free: 4.219 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002031/0.34, allocations: 142.4 kB / 0.5614 GB, free: 4.055 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.29e-06/0.34, allocations: 4.375 kB / 0.5614 GB, free: 4.051 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.351e-05/0.34, allocations: 12.06 kB / 0.5614 GB, free: 4.039 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002703/0.3403, allocations: 95.3 kB / 0.5615 GB, free: 3.934 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.3403, allocations: 0 / 0.5615 GB, free: 3.934 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.3403, allocations: 0 / 0.5615 GB, free: 3.934 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.3403, allocations: 0 / 0.5615 GB, free: 3.934 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003151/0.3407, allocations: 75.91 kB / 0.5615 GB, free: 3.859 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004455/0.3411, allocations: 283.9 kB / 0.5618 GB, free: 3.539 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002545/0.3414, allocations: 74.45 kB / 0.5619 GB, free: 3.457 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000179/0.3415, allocations: 40.95 kB / 0.5619 GB, free: 3.414 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.031e-05/0.3415, allocations: 4 kB / 0.5619 GB, free: 3.41 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.61e-05/0.3416, allocations: 30.56 kB / 0.562 GB, free: 3.371 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 9.92e-07/0.3416, allocations: 0 / 0.562 GB, free: 3.371 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.00165/0.3432, allocations: 393.1 kB / 0.5623 GB, free: 2.98 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.879e-05/0.3433, allocations: 85.05 kB / 0.5624 GB, free: 2.879 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001884/0.3435, allocations: 165.8 kB / 0.5626 GB, free: 2.707 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.344e-05/0.3435, allocations: 29.7 kB / 0.5626 GB, free: 2.672 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.57e-05/0.3436, allocations: 100.1 kB / 0.5627 GB, free: 2.57 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.265e-05/0.3436, allocations: 31.69 kB / 0.5627 GB, free: 2.539 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.609e-05/0.3437, allocations: 29.72 kB / 0.5628 GB, free: 2.504 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000133/0.3438, allocations: 318.8 kB / 0.5631 GB, free: 2.184 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002912/0.3441, allocations: 71.92 kB / 0.5631 GB, free: 2.113 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003123/0.3444, allocations: 89.64 kB / 0.5632 GB, free: 2.02 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005539/0.3449, allocations: 148.6 kB / 0.5634 GB, free: 1.871 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.3449, allocations: 4.031 kB / 0.5634 GB, free: 1.867 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006627/0.3456, allocations: 185.5 kB / 0.5635 GB, free: 1.68 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.3456, allocations: 6.656 kB / 0.5635 GB, free: 1.676 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.3456, allocations: 0 / 0.5635 GB, free: 1.676 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.3456, allocations: 4 kB / 0.5635 GB, free: 1.672 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002239/0.3459, allocations: 43.89 kB / 0.5636 GB, free: 1.629 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.3459, allocations: 3.938 kB / 0.5636 GB, free: 1.625 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000162/0.346, allocations: 23.97 kB / 0.5636 GB, free: 1.602 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.132e-05/0.346, allocations: 4 kB / 0.5636 GB, free: 1.598 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.0001088/0.3461, allocations: 122.2 kB / 0.5637 GB, free: 1.469 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.701e-05/0.3462, allocations: 19.89 kB / 0.5638 GB, free: 1.449 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006918/0.3469, allocations: 206.1 kB / 0.5639 GB, free: 1.238 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.3469, allocations: 3.984 kB / 0.564 GB, free: 1.234 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.3469, allocations: 7.938 kB / 0.564 GB, free: 1.227 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.3469, allocations: 0 / 0.564 GB, free: 1.227 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009791/0.3479, allocations: 469.5 kB / 0.5644 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.3479, allocations: 7.938 kB / 0.5644 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001959/0.3481, allocations: 39.89 kB / 0.5645 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.3481, allocations: 0 / 0.5645 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-06/0.3481, allocations: 0 / 0.5645 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.3481, allocations: 0 / 0.5645 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3481, allocations: 0 / 0.5645 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006909/0.3488, allocations: 291.2 kB / 0.5647 GB, free: 380 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.872e-05/0.3488, allocations: 15.88 kB / 0.5647 GB, free: 364 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.49e-05/0.3488, allocations: 0 / 0.5647 GB, free: 364 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000191/0.349, allocations: 31.97 kB / 0.5648 GB, free: 332 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.806e-05/0.3491, allocations: 15.97 kB / 0.5648 GB, free: 316 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.163e-06/0.3491, allocations: 0 / 0.5648 GB, free: 316 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001393/0.3492, allocations: 119.2 kB / 0.5649 GB, free: 196 kB / 398.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3492, allocations: 0 / 0.5649 GB, free: 196 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003361/0.3496, allocations: 51.86 kB / 0.565 GB, free: 144 kB / 398.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.002704/0.3523, allocations: 1.224 MB / 0.5662 GB, free: 15.08 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006798/0.353, allocations: 159.7 kB / 0.5663 GB, free: 14.93 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.353, allocations: 0 / 0.5663 GB, free: 14.93 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003312/0.3533, allocations: 87.86 kB / 0.5664 GB, free: 14.84 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000376/0.3537, allocations: 18.83 kB / 0.5664 GB, free: 14.82 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003187/0.3569, allocations: 1.856 MB / 0.5682 GB, free: 12.89 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003712/0.3572, allocations: 0.7001 MB / 0.5689 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.867e-05/0.3573, allocations: 20.47 kB / 0.5689 GB, free: 12.14 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.852e-05/0.3574, allocations: 39.42 kB / 0.569 GB, free: 12.1 MB / 414.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3574, allocations: 0 / 0.569 GB, free: 12.1 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02504/0.3825, allocations: 4.483 MB / 0.5733 GB, free: 7.656 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.41/11.79, allocations: 9.469 kB / 0.5733 GB, free: 7.652 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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: 15.012219997006468]