Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.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.001872/0.001872, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.002292/0.002292, allocations: 211 kB / 23.73 MB, free: 4.523 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.497/1.497, 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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2283/0.2283, allocations: 46.96 MB / 360.9 MB, free: 4.051 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test6,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test6,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003154/0.003154, allocations: 71.89 kB / 0.4961 GB, free: 7.715 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3245/0.3277, allocations: 66.03 MB / 0.5606 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.003084/0.3308, allocations: 1.649 MB / 0.5622 GB, free: 2.578 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00106/0.3318, allocations: 0.5621 MB / 0.5628 GB, free: 2.012 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.831e-05/0.3319, allocations: 4 kB / 0.5628 GB, free: 2.008 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005799/0.3325, allocations: 455.1 kB / 0.5632 GB, free: 1.562 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004952/0.333, allocations: 295.3 kB / 0.5635 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004404/0.3334, allocations: 179.3 kB / 0.5637 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002519/0.3337, allocations: 175.6 kB / 0.5638 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.3338, allocations: 21.81 kB / 0.5638 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000123/0.3339, allocations: 115.7 kB / 0.564 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002763/0.3342, allocations: 251.5 kB / 0.5642 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.664e-05/0.3342, allocations: 4 kB / 0.5642 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.03e-05/0.3343, allocations: 39.97 kB / 0.5642 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001008/0.3344, allocations: 83.69 kB / 0.5643 GB, free: 436 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.304e-05/0.3345, allocations: 71.19 kB / 0.5644 GB, free: 364 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003268/0.3348, allocations: 278.6 kB / 0.5646 GB, free: 84 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3348, allocations: 0 / 0.5646 GB, free: 84 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3348, allocations: 0 / 0.5646 GB, free: 84 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.3348, allocations: 0 / 0.5646 GB, free: 84 kB / 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.0007699/0.3356, allocations: 0.6009 MB / 0.5652 GB, free: 15.45 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.3356, allocations: 12.03 kB / 0.5652 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.823e-05/0.3356, allocations: 34.75 kB / 0.5653 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.927e-05/0.3357, allocations: 40.66 kB / 0.5653 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002997/0.336, allocations: 258.8 kB / 0.5656 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.007e-06/0.336, allocations: 384 / 0.5656 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.377e-05/0.336, allocations: 4.375 kB / 0.5656 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001758/0.3362, allocations: 69.53 kB / 0.5656 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.3362, allocations: 0 / 0.5656 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.356e-06/0.3362, allocations: 0 / 0.5656 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.3362, allocations: 0 / 0.5656 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001378/0.3364, allocations: 43.97 kB / 0.5657 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005553/0.3369, allocations: 379.8 kB / 0.566 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001338/0.3371, allocations: 42.5 kB / 0.5661 GB, free: 14.49 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.509e-05/0.3371, allocations: 28.92 kB / 0.5661 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.059e-05/0.3372, allocations: 0 / 0.5661 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.263e-05/0.3372, allocations: 38.5 kB / 0.5661 GB, free: 14.41 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 8.51e-07/0.3372, allocations: 4 kB / 0.5661 GB, free: 14.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.000854/0.338, allocations: 312.5 kB / 0.5664 GB, free: 14.1 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.715e-05/0.3381, allocations: 55.41 kB / 0.5665 GB, free: 14.03 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008551/0.3389, allocations: 0.8776 MB / 0.5674 GB, free: 13.14 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.962e-05/0.339, allocations: 29.7 kB / 0.5674 GB, free: 13.11 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001753/0.3391, allocations: 220 kB / 0.5676 GB, free: 12.89 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.213e-05/0.3392, allocations: 23.78 kB / 0.5676 GB, free: 12.86 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.735e-05/0.3392, allocations: 21.72 kB / 0.5676 GB, free: 12.84 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001759/0.3394, allocations: 362.8 kB / 0.568 GB, free: 12.47 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001336/0.3395, allocations: 35.97 kB / 0.568 GB, free: 12.44 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001587/0.3397, allocations: 40.03 kB / 0.5681 GB, free: 12.4 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002491/0.3399, allocations: 96.73 kB / 0.5681 GB, free: 12.3 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.3399, allocations: 0 / 0.5681 GB, free: 12.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003213/0.3402, allocations: 161.2 kB / 0.5683 GB, free: 12.14 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.3403, allocations: 8 kB / 0.5683 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.3403, allocations: 0 / 0.5683 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.3403, allocations: 0 / 0.5683 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001357/0.3404, allocations: 23.97 kB / 0.5683 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.3404, allocations: 4 kB / 0.5683 GB, free: 12.1 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.021e-05/0.3405, allocations: 7.938 kB / 0.5683 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.663e-05/0.3405, allocations: 12.3 kB / 0.5684 GB, free: 12.08 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 0.0001965/0.3407, allocations: 213.7 kB / 0.5686 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.109e-05/0.3408, allocations: 43.72 kB / 0.5686 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004079/0.3412, allocations: 185.5 kB / 0.5688 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.3412, allocations: 4 kB / 0.5688 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.3412, allocations: 4 kB / 0.5688 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.3412, allocations: 3.938 kB / 0.5688 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006812/0.3419, allocations: 485.4 kB / 0.5693 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.3419, allocations: 0 / 0.5693 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.742e-05/0.342, allocations: 19.98 kB / 0.5693 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.342, allocations: 0 / 0.5693 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/0.342, allocations: 11.94 kB / 0.5693 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.342, allocations: 0 / 0.5693 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.342, allocations: 0 / 0.5693 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003814/0.3424, allocations: 263.1 kB / 0.5695 GB, free: 10.78 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.012e-05/0.3424, allocations: 39.7 kB / 0.5696 GB, free: 10.74 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.303e-05/0.3425, allocations: 8.219 kB / 0.5696 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.3426, allocations: 4 kB / 0.5696 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.114e-05/0.3426, allocations: 7.984 kB / 0.5696 GB, free: 10.72 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.65e-06/0.3426, allocations: 4 kB / 0.5696 GB, free: 10.72 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006426/0.3433, allocations: 0.6589 MB / 0.5702 GB, free: 10.06 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3433, allocations: 3.938 kB / 0.5702 GB, free: 10.06 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002654/0.3435, allocations: 28 kB / 0.5703 GB, free: 10.03 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.002178/0.3457, allocations: 1.132 MB / 0.5714 GB, free: 9.062 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003094/0.346, allocations: 91.91 kB / 0.5715 GB, free: 8.973 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.346, allocations: 4 kB / 0.5715 GB, free: 8.969 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001267/0.3461, allocations: 43.95 kB / 0.5715 GB, free: 8.926 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004139/0.3466, allocations: 34.03 kB / 0.5715 GB, free: 8.902 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004466/0.351, allocations: 3.386 MB / 0.5748 GB, free: 5.422 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000278/0.3513, allocations: 224.1 kB / 0.5751 GB, free: 5.18 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001368/0.3514, allocations: 20.66 kB / 0.5751 GB, free: 5.16 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002404/0.3517, allocations: 123.4 kB / 0.5752 GB, free: 5.039 MB / 414.1 MB Notification: Performance of SimCode: time 1.213e-06/0.3517, allocations: 0 / 0.5752 GB, free: 5.039 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03347/0.3852, allocations: 6.814 MB / 0.5819 GB, free: 14.27 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.95/11.33, allocations: 10.22 kB / 0.5819 GB, free: 14.27 MB / 430.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test6_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test6.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.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.39430954301497]