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.001828/0.001828, 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 trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002312/0.002312, allocations: 211 kB / 23.73 MB, free: 4.164 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.473/1.473, allocations: 230.5 MB / 257.4 MB, free: 7.777 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.2178/0.2178, allocations: 46.96 MB / 360.8 MB, free: 4.004 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002352/0.002352, allocations: 83.86 kB / 0.4962 GB, free: 7.535 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3052/0.3076, allocations: 66.09 MB / 0.5607 GB, free: 4.023 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab): time 0.003715/0.3113, allocations: 1.686 MB / 0.5624 GB, free: 2.332 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001132/0.3124, allocations: 0.5459 MB / 0.5629 GB, free: 1.785 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.706e-05/0.3125, allocations: 8 kB / 0.5629 GB, free: 1.777 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001982/0.3127, allocations: 23.84 kB / 0.5629 GB, free: 1.754 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003659/0.313, allocations: 79.56 kB / 0.563 GB, free: 1.676 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004405/0.3135, allocations: 139.6 kB / 0.5631 GB, free: 1.539 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001863/0.3137, allocations: 91.7 kB / 0.5632 GB, free: 1.449 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001004/0.3138, allocations: 21.81 kB / 0.5632 GB, free: 1.43 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.989e-05/0.3139, allocations: 39.84 kB / 0.5633 GB, free: 1.391 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.838e-05/0.3139, allocations: 35.84 kB / 0.5633 GB, free: 1.355 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.277e-05/0.314, allocations: 7.984 kB / 0.5633 GB, free: 1.348 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002379/0.3142, allocations: 99.89 kB / 0.5634 GB, free: 1.25 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.2e-05/0.3143, allocations: 27.91 kB / 0.5634 GB, free: 1.223 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.429e-05/0.3143, allocations: 27.8 kB / 0.5635 GB, free: 1.195 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003607/0.3147, allocations: 167.4 kB / 0.5636 GB, free: 1.031 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.3147, allocations: 0 / 0.5636 GB, free: 1.031 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.3147, allocations: 7.938 kB / 0.5636 GB, free: 1.023 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.033e-06/0.3147, allocations: 0 / 0.5636 GB, free: 1.023 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.0007299/0.3154, allocations: 373.4 kB / 0.564 GB, free: 0.625 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.3155, allocations: 12.03 kB / 0.564 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.326e-05/0.3155, allocations: 34.75 kB / 0.564 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.172e-05/0.3156, allocations: 8.891 kB / 0.564 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002396/0.3158, allocations: 142.4 kB / 0.5642 GB, free: 408 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.758e-06/0.3158, allocations: 4.375 kB / 0.5642 GB, free: 404 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.38e-05/0.3158, allocations: 384 / 0.5642 GB, free: 404 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003011/0.3161, allocations: 129.5 kB / 0.5643 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.3161, allocations: 3.938 kB / 0.5643 GB, free: 252 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.3162, allocations: 0 / 0.5643 GB, free: 252 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.3162, allocations: 4 kB / 0.5643 GB, free: 248 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002924/0.3165, allocations: 63.92 kB / 0.5644 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004632/0.3169, allocations: 275.8 kB / 0.5646 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002477/0.3172, allocations: 70.47 kB / 0.5647 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000161/0.3173, allocations: 44.95 kB / 0.5647 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.171e-05/0.3174, allocations: 0 / 0.5647 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.745e-05/0.3174, allocations: 38.55 kB / 0.5648 GB, free: 15.7 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 8.61e-07/0.3174, allocations: 0 / 0.5648 GB, free: 15.7 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.001523/0.3189, allocations: 381 kB / 0.5651 GB, free: 15.32 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.596e-05/0.319, allocations: 85.05 kB / 0.5652 GB, free: 15.21 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001894/0.3192, allocations: 170 kB / 0.5654 GB, free: 15.04 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.101e-05/0.3192, allocations: 25.7 kB / 0.5654 GB, free: 15 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.94e-05/0.3193, allocations: 100.1 kB / 0.5655 GB, free: 14.9 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.673e-05/0.3193, allocations: 39.75 kB / 0.5655 GB, free: 14.86 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.007e-05/0.3193, allocations: 21.72 kB / 0.5656 GB, free: 14.84 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.3195, allocations: 322.8 kB / 0.5659 GB, free: 14.51 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002758/0.3198, allocations: 75.92 kB / 0.5659 GB, free: 14.44 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003075/0.3201, allocations: 111.3 kB / 0.5661 GB, free: 14.32 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005283/0.3206, allocations: 152.7 kB / 0.5662 GB, free: 14.16 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.3206, allocations: 0 / 0.5662 GB, free: 14.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006237/0.3212, allocations: 189.8 kB / 0.5664 GB, free: 13.97 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.3213, allocations: 4.094 kB / 0.5664 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.3213, allocations: 4.312 kB / 0.5664 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.034e-05/0.3213, allocations: 4 kB / 0.5664 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000212/0.3215, allocations: 39.89 kB / 0.5664 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.3215, allocations: 0 / 0.5664 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001499/0.3216, allocations: 35.97 kB / 0.5665 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.196e-05/0.3217, allocations: 3.938 kB / 0.5665 GB, free: 13.88 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 0.0001088/0.3218, allocations: 121.8 kB / 0.5666 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.199e-05/0.3218, allocations: 11.91 kB / 0.5666 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006669/0.3225, allocations: 210.2 kB / 0.5668 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.3225, allocations: 0 / 0.5668 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.3225, allocations: 4 kB / 0.5668 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.3225, allocations: 0 / 0.5668 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009343/0.3234, allocations: 453.4 kB / 0.5672 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.3234, allocations: 0 / 0.5672 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001744/0.3236, allocations: 39.89 kB / 0.5673 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.3236, allocations: 0 / 0.5673 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.331e-05/0.3236, allocations: 3.938 kB / 0.5673 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.3236, allocations: 4 kB / 0.5673 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3236, allocations: 4 kB / 0.5673 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006531/0.3243, allocations: 291.2 kB / 0.5676 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.211e-05/0.3243, allocations: 7.938 kB / 0.5676 GB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.714e-05/0.3243, allocations: 11.94 kB / 0.5676 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001722/0.3245, allocations: 28.23 kB / 0.5676 GB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.251e-05/0.3245, allocations: 11.98 kB / 0.5676 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.526e-06/0.3246, allocations: 4 kB / 0.5676 GB, free: 12.62 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001139/0.3247, allocations: 135 kB / 0.5678 GB, free: 12.48 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3247, allocations: 0 / 0.5678 GB, free: 12.48 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003068/0.325, allocations: 43.88 kB / 0.5678 GB, free: 12.44 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.002671/0.3276, allocations: 1.246 MB / 0.569 GB, free: 11.35 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006289/0.3283, allocations: 159.7 kB / 0.5692 GB, free: 11.2 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3283, allocations: 0 / 0.5692 GB, free: 11.2 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002797/0.3286, allocations: 79.86 kB / 0.5692 GB, free: 11.12 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003692/0.3289, allocations: 22.95 kB / 0.5693 GB, free: 11.1 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002924/0.3318, allocations: 1.847 MB / 0.5711 GB, free: 9.168 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.647e-05/0.3319, allocations: 93.31 kB / 0.5712 GB, free: 9.055 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.758e-05/0.332, allocations: 24.47 kB / 0.5712 GB, free: 9.031 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.984e-05/0.3321, allocations: 35.42 kB / 0.5712 GB, free: 8.996 MB / 414.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3321, allocations: 0 / 0.5712 GB, free: 8.996 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02986/0.362, allocations: 4.976 MB / 0.5761 GB, free: 4.027 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.8/11.16, allocations: 7.938 kB / 0.5761 GB, free: 4.02 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.076429755892605]