Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test11.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.001821/0.001821, allocations: 110 kB / 20.43 MB, free: 1.453 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.002254/0.002254, allocations: 213.1 kB / 23.74 MB, free: 4.66 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.475/1.475, allocations: 230.5 MB / 257.4 MB, free: 7.996 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.2328/0.2328, allocations: 46.92 MB / 360.8 MB, free: 4.164 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.CombiTable2Dv.Test11,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test11,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test11",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00235/0.00235, allocations: 87.86 kB / 0.4962 GB, free: 7.719 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3094/0.3118, allocations: 66.08 MB / 0.5608 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test11): time 0.003218/0.315, allocations: 1.674 MB / 0.5624 GB, free: 2.598 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002011/0.317, allocations: 1.298 MB / 0.5637 GB, free: 1.297 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.766e-05/0.3171, allocations: 4 kB / 0.5637 GB, free: 1.293 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002107/0.3173, allocations: 27.78 kB / 0.5637 GB, free: 1.266 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002939/0.3176, allocations: 83.61 kB / 0.5638 GB, free: 1.184 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004169/0.318, allocations: 181.9 kB / 0.5639 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001594/0.3182, allocations: 79.77 kB / 0.564 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.903e-05/0.3183, allocations: 13.81 kB / 0.564 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.232e-05/0.3183, allocations: 31.86 kB / 0.5641 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001474/0.3185, allocations: 39.83 kB / 0.5641 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.95e-05/0.3185, allocations: 8 kB / 0.5641 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001762/0.3187, allocations: 103.9 kB / 0.5642 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.962e-05/0.3187, allocations: 19.92 kB / 0.5642 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.672e-05/0.3188, allocations: 31.81 kB / 0.5643 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002922/0.3191, allocations: 163.4 kB / 0.5644 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.758e-06/0.3191, allocations: 0 / 0.5644 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3191, allocations: 0 / 0.5644 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.948e-06/0.3191, allocations: 0 / 0.5644 GB, free: 0.5312 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.0005661/0.3197, allocations: 345.5 kB / 0.5647 GB, free: 164 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.3197, allocations: 12.03 kB / 0.5647 GB, free: 152 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.235e-05/0.3197, allocations: 30.75 kB / 0.5648 GB, free: 112 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.498e-05/0.3198, allocations: 12.88 kB / 0.5648 GB, free: 100 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002378/0.32, allocations: 154.3 kB / 0.5649 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.881e-06/0.32, allocations: 384 / 0.5649 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.296e-05/0.32, allocations: 8.312 kB / 0.5649 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002071/0.3203, allocations: 79.94 kB / 0.565 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.3203, allocations: 3.938 kB / 0.565 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.371e-05/0.3203, allocations: 3.984 kB / 0.565 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.3203, allocations: 0 / 0.565 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000145/0.3204, allocations: 47.95 kB / 0.5651 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004478/0.3209, allocations: 287.8 kB / 0.5653 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001347/0.321, allocations: 38.56 kB / 0.5654 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.664e-05/0.3211, allocations: 24.94 kB / 0.5654 GB, free: 15.37 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.227e-05/0.3211, allocations: 4 kB / 0.5654 GB, free: 15.37 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.748e-05/0.3212, allocations: 34.55 kB / 0.5654 GB, free: 15.32 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.3212, allocations: 4 kB / 0.5654 GB, free: 15.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008194/0.322, allocations: 233.3 kB / 0.5657 GB, free: 15.09 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.844e-05/0.322, allocations: 77.11 kB / 0.5657 GB, free: 14.99 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001685/0.3222, allocations: 160.3 kB / 0.5659 GB, free: 14.83 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.893e-05/0.3222, allocations: 25.7 kB / 0.5659 GB, free: 14.8 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.235e-05/0.3223, allocations: 100.1 kB / 0.566 GB, free: 14.7 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.012e-05/0.3223, allocations: 23.8 kB / 0.566 GB, free: 14.67 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.576e-05/0.3224, allocations: 25.7 kB / 0.5661 GB, free: 14.64 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001404/0.3225, allocations: 322.8 kB / 0.5664 GB, free: 14.32 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001203/0.3226, allocations: 43.95 kB / 0.5664 GB, free: 14.27 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001322/0.3228, allocations: 53.62 kB / 0.5665 GB, free: 14.21 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000241/0.323, allocations: 88.73 kB / 0.5666 GB, free: 14.12 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.323, allocations: 4.031 kB / 0.5666 GB, free: 14.12 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002959/0.3233, allocations: 125.6 kB / 0.5667 GB, free: 13.99 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.3233, allocations: 8 kB / 0.5667 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.3233, allocations: 0 / 0.5667 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.3233, allocations: 0 / 0.5667 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001226/0.3235, allocations: 23.92 kB / 0.5667 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.237e-06/0.3235, allocations: 0 / 0.5667 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.815e-05/0.3235, allocations: 11.98 kB / 0.5667 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.719e-06/0.3235, allocations: 4 kB / 0.5667 GB, free: 13.95 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 (7): * Single equations (assignments): 7 * 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.984e-05/0.3236, allocations: 127.1 kB / 0.5668 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.385e-05/0.3237, allocations: 11.91 kB / 0.5669 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003475/0.324, allocations: 134.6 kB / 0.567 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.324, allocations: 8 kB / 0.567 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.324, allocations: 0 / 0.567 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.634e-06/0.324, allocations: 0 / 0.567 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005959/0.3246, allocations: 401.5 kB / 0.5674 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.3246, allocations: 0 / 0.5674 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.61e-05/0.3247, allocations: 23.92 kB / 0.5674 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.3247, allocations: 0 / 0.5674 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.3247, allocations: 8 kB / 0.5674 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.3247, allocations: 3.938 kB / 0.5674 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.3247, allocations: 0 / 0.5674 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003457/0.3251, allocations: 223.4 kB / 0.5676 GB, free: 12.94 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.471e-05/0.3251, allocations: 11.94 kB / 0.5676 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.312e-05/0.3251, allocations: 4 kB / 0.5676 GB, free: 12.92 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.3252, allocations: 19.92 kB / 0.5677 GB, free: 12.9 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.481e-05/0.3253, allocations: 3.984 kB / 0.5677 GB, free: 12.9 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.993e-06/0.3253, allocations: 4 kB / 0.5677 GB, free: 12.89 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001083/0.3254, allocations: 121.8 kB / 0.5678 GB, free: 12.78 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3254, allocations: 0 / 0.5678 GB, free: 12.78 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003022/0.3257, allocations: 43.81 kB / 0.5678 GB, free: 12.73 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 (7): * Single equations (assignments): 7 * 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.002343/0.328, allocations: 1.13 MB / 0.5689 GB, free: 11.74 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003526/0.3284, allocations: 95.89 kB / 0.569 GB, free: 11.65 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3284, allocations: 3.938 kB / 0.569 GB, free: 11.64 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001291/0.3285, allocations: 51.91 kB / 0.5691 GB, free: 11.59 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003446/0.3289, allocations: 23.86 kB / 0.5691 GB, free: 11.57 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002186/0.331, allocations: 1.655 MB / 0.5707 GB, free: 9.832 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003285/0.3314, allocations: 0.7039 MB / 0.5714 GB, free: 9.102 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.754e-05/0.3315, allocations: 24.41 kB / 0.5714 GB, free: 9.078 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.257e-05/0.3315, allocations: 43.44 kB / 0.5715 GB, free: 9.035 MB / 414.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3315, allocations: 0 / 0.5715 GB, free: 9.035 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03021/0.3617, allocations: 3.766 MB / 0.5751 GB, free: 5.27 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.51, allocations: 0 / 0.5751 GB, free: 5.27 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test11_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test11_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test11.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test11.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.524035844951868]