Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test23,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test23,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test23",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008329/0.0008329, allocations: 97.72 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 177.7 kB / 16.92 MB, free: 6.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.541/1.541, allocations: 205.4 MB / 223.1 MB, free: 5.539 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3566/0.3566, allocations: 43.57 MB / 315 MB, free: 8.75 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000491/0.000491, allocations: 12 kB / 384.7 MB, free: 7.543 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1316, allocations: 58.86 MB / 443.5 MB, free: 12.58 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test23): time 0.002278/0.1339, allocations: 1.726 MB / 445.3 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001398/0.1353, allocations: 0.964 MB / 446.2 MB, free: 9.871 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.926e-05/0.1354, allocations: 4 kB / 446.2 MB, free: 9.867 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000193/0.1356, allocations: 31.78 kB / 446.3 MB, free: 9.836 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003108/0.1359, allocations: 143.5 kB / 446.4 MB, free: 9.695 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008169/0.1367, allocations: 375.4 kB / 446.8 MB, free: 9.328 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002935/0.1371, allocations: 271.1 kB / 447 MB, free: 9.062 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001539/0.1372, allocations: 68.69 kB / 447.1 MB, free: 8.996 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001563/0.1374, allocations: 107.5 kB / 447.2 MB, free: 8.891 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002183/0.1376, allocations: 183.2 kB / 447.4 MB, free: 8.711 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.063e-05/0.1376, allocations: 8 kB / 447.4 MB, free: 8.703 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.977e-05/0.1377, allocations: 35.98 kB / 447.4 MB, free: 8.668 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001392/0.1379, allocations: 131.6 kB / 447.6 MB, free: 8.539 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001381/0.138, allocations: 184.3 kB / 447.7 MB, free: 8.352 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003548/0.1384, allocations: 370.4 kB / 448.1 MB, free: 7.988 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.1384, allocations: 0 / 448.1 MB, free: 7.988 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.1384, allocations: 4 kB / 448.1 MB, free: 7.984 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.756e-06/0.1384, allocations: 0 / 448.1 MB, free: 7.984 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0009428/0.1394, allocations: 0.7272 MB / 448.8 MB, free: 7.207 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.1394, allocations: 8.031 kB / 448.8 MB, free: 7.199 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.133e-05/0.1395, allocations: 38.75 kB / 448.9 MB, free: 7.152 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.239e-05/0.1396, allocations: 52.28 kB / 448.9 MB, free: 7.102 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006453/0.1402, allocations: 463.8 kB / 449.4 MB, free: 6.609 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.767e-05/0.1402, allocations: 4.375 kB / 449.4 MB, free: 6.605 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.736e-05/0.1403, allocations: 19.86 kB / 449.4 MB, free: 6.586 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003391/0.1406, allocations: 151.3 kB / 449.6 MB, free: 6.426 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.1406, allocations: 7.906 kB / 449.6 MB, free: 6.418 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.568e-05/0.1407, allocations: 4 kB / 449.6 MB, free: 6.414 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.1407, allocations: 4 kB / 449.6 MB, free: 6.41 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000307/0.141, allocations: 115.9 kB / 449.7 MB, free: 6.297 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009291/0.1419, allocations: 0.6878 MB / 450.4 MB, free: 5.555 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002591/0.1422, allocations: 129.2 kB / 450.5 MB, free: 5.41 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001803/0.1424, allocations: 69.81 kB / 450.6 MB, free: 5.336 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.098e-05/0.1424, allocations: 11.97 kB / 450.6 MB, free: 5.324 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.893e-05/0.1425, allocations: 46.44 kB / 450.6 MB, free: 5.27 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.423e-06/0.1425, allocations: 0 / 450.6 MB, free: 5.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.001986/0.1445, allocations: 0.7399 MB / 451.4 MB, free: 4.52 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.359e-05/0.1445, allocations: 81.11 kB / 451.4 MB, free: 4.422 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009286/0.1455, allocations: 0.8665 MB / 452.3 MB, free: 3.543 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.95e-05/0.1455, allocations: 29.7 kB / 452.3 MB, free: 3.508 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001846/0.1457, allocations: 268.1 kB / 452.6 MB, free: 3.242 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.897e-05/0.1458, allocations: 67.09 kB / 452.7 MB, free: 3.176 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.979e-05/0.1458, allocations: 25.7 kB / 452.7 MB, free: 3.145 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002722/0.1461, allocations: 374.7 kB / 453.1 MB, free: 2.77 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002886/0.1464, allocations: 103.9 kB / 453.2 MB, free: 2.668 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002819/0.1467, allocations: 129.6 kB / 453.3 MB, free: 2.535 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005491/0.1472, allocations: 241.5 kB / 453.5 MB, free: 2.293 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.1472, allocations: 0 / 453.5 MB, free: 2.293 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007048/0.148, allocations: 332.9 kB / 453.8 MB, free: 1.961 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001916/0.1482, allocations: 8 kB / 453.9 MB, free: 1.953 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.1482, allocations: 0 / 453.9 MB, free: 1.953 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.1482, allocations: 0 / 453.9 MB, free: 1.953 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002912/0.1485, allocations: 75.88 kB / 453.9 MB, free: 1.879 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.1485, allocations: 0 / 453.9 MB, free: 1.879 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001948/0.1487, allocations: 27.92 kB / 454 MB, free: 1.852 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.993e-05/0.1487, allocations: 11.98 kB / 454 MB, free: 1.84 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * 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.0002081/0.1489, allocations: 217.6 kB / 454.2 MB, free: 1.617 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.416e-05/0.149, allocations: 55.34 kB / 454.2 MB, free: 1.562 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008329/0.1499, allocations: 378 kB / 454.6 MB, free: 1.184 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.1499, allocations: 0 / 454.6 MB, free: 1.184 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.1499, allocations: 8.734 kB / 454.6 MB, free: 1.176 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.1499, allocations: 4 kB / 454.6 MB, free: 1.172 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001585/0.1515, allocations: 0.9117 MB / 455.5 MB, free: 208 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.399e-06/0.1515, allocations: 3.984 kB / 455.5 MB, free: 204 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002444/0.1518, allocations: 59.95 kB / 455.6 MB, free: 144 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/0.1518, allocations: 4.094 kB / 455.6 MB, free: 140 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.771e-05/0.1518, allocations: 11.94 kB / 455.6 MB, free: 128 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/0.1518, allocations: 7.875 kB / 455.6 MB, free: 120 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.1518, allocations: 4 kB / 455.6 MB, free: 116 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.213/0.3648, allocations: 0.4934 MB / 456.1 MB, free: 45.62 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001491/0.365, allocations: 150.2 kB / 456.3 MB, free: 45.53 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.726e-05/0.3651, allocations: 8.125 kB / 456.3 MB, free: 45.53 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002779/0.3654, allocations: 32.95 kB / 456.3 MB, free: 45.53 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.521e-05/0.3654, allocations: 22.42 kB / 456.3 MB, free: 45.53 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.962e-05/0.3655, allocations: 12.42 kB / 456.3 MB, free: 45.53 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008165/0.3663, allocations: 0.6358 MB / 457 MB, free: 45.45 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3663, allocations: 3.844 kB / 457 MB, free: 45.45 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003902/0.3667, allocations: 58.88 kB / 457 MB, free: 45.45 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * 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.001868/0.3686, allocations: 1.322 MB / 458.3 MB, free: 44.63 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006403/0.3692, allocations: 262.7 kB / 458.6 MB, free: 44.63 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.3692, allocations: 0 / 458.6 MB, free: 44.63 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002851/0.3695, allocations: 142 kB / 458.7 MB, free: 44.63 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006746/0.3702, allocations: 78.67 kB / 458.8 MB, free: 44.63 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006746/0.377, allocations: 5.517 MB / 464.3 MB, free: 42.64 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003506/0.3774, allocations: 0.8567 MB / 465.2 MB, free: 41.95 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002558/0.3776, allocations: 84.39 kB / 465.3 MB, free: 41.93 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002563/0.3779, allocations: 178.1 kB / 465.4 MB, free: 41.92 MB / 382.1 MB Notification: Performance of SimCode: time 1.452e-06/0.3779, allocations: 0 / 465.4 MB, free: 41.92 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02186/0.3998, allocations: 9.157 MB / 474.6 MB, free: 41.07 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002807/0.4001, allocations: 231.3 kB / 474.8 MB, free: 40.81 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.058/2.458, allocations: 0 / 474.8 MB, free: 40.81 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test23_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test23.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test23/Test23.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches