Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.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.Test3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test3",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.001272/0.001272, allocations: 111.2 kB / 16.41 MB, free: 6.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001249/0.001249, allocations: 190.1 kB / 17.34 MB, free: 5.738 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.505/1.505, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2375/0.2375, allocations: 43.53 MB / 314.1 MB, free: 464 kB / 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.002017/0.002017, allocations: 63.91 kB / 441.3 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.1267, allocations: 57.8 MB / 499.1 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test3): time 0.003408/0.1302, allocations: 1.612 MB / 0.489 GB, free: 10.66 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006579/0.1309, allocations: 331.5 kB / 0.4893 GB, free: 10.33 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.95e-05/0.1309, allocations: 0 / 0.4893 GB, free: 10.33 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000662/0.1316, allocations: 447.2 kB / 0.4897 GB, free: 9.895 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003729/0.132, allocations: 259.4 kB / 0.49 GB, free: 9.641 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003271/0.1323, allocations: 115.7 kB / 0.4901 GB, free: 9.527 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002467/0.1326, allocations: 155.7 kB / 0.4902 GB, free: 9.375 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000119/0.1327, allocations: 20.16 kB / 0.4903 GB, free: 9.355 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001261/0.1329, allocations: 107.8 kB / 0.4904 GB, free: 9.25 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002668/0.1331, allocations: 215.6 kB / 0.4906 GB, free: 9.039 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.27e-05/0.1332, allocations: 8 kB / 0.4906 GB, free: 9.031 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.381e-05/0.1333, allocations: 27.98 kB / 0.4906 GB, free: 9.004 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001146/0.1334, allocations: 79.7 kB / 0.4907 GB, free: 8.926 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001147/0.1335, allocations: 107 kB / 0.4908 GB, free: 8.82 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003595/0.1339, allocations: 266.6 kB / 0.491 GB, free: 8.559 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.012e-06/0.1339, allocations: 0 / 0.491 GB, free: 8.559 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1339, allocations: 3.938 kB / 0.491 GB, free: 8.555 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.823e-06/0.1339, allocations: 0 / 0.491 GB, free: 8.555 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008922/0.1348, allocations: 0.653 MB / 0.4917 GB, free: 7.852 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.1349, allocations: 19.89 kB / 0.4917 GB, free: 7.832 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.916e-05/0.1349, allocations: 30.75 kB / 0.4917 GB, free: 7.793 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.244e-05/0.135, allocations: 48.61 kB / 0.4918 GB, free: 7.746 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003502/0.1353, allocations: 296.7 kB / 0.4921 GB, free: 7.414 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.989e-06/0.1353, allocations: 8.359 kB / 0.4921 GB, free: 7.406 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.258e-05/0.1354, allocations: 8.125 kB / 0.4921 GB, free: 7.398 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001621/0.1355, allocations: 61.61 kB / 0.4921 GB, free: 7.332 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.1356, allocations: 0 / 0.4921 GB, free: 7.332 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.404e-06/0.1356, allocations: 0 / 0.4921 GB, free: 7.332 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-06/0.1356, allocations: 7.984 kB / 0.4921 GB, free: 7.324 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001277/0.1357, allocations: 31.97 kB / 0.4922 GB, free: 7.293 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004996/0.1362, allocations: 388.7 kB / 0.4925 GB, free: 6.863 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000138/0.1364, allocations: 42.5 kB / 0.4926 GB, free: 6.812 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.666e-05/0.1365, allocations: 28.94 kB / 0.4926 GB, free: 6.781 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.68e-05/0.1365, allocations: 0 / 0.4926 GB, free: 6.781 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.523e-05/0.1365, allocations: 34.55 kB / 0.4926 GB, free: 6.738 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.1365, allocations: 0 / 0.4926 GB, free: 6.738 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008473/0.1374, allocations: 292.9 kB / 0.4929 GB, free: 6.445 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.192e-05/0.1374, allocations: 55.41 kB / 0.493 GB, free: 6.379 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009703/0.1384, allocations: 0.869 MB / 0.4938 GB, free: 5.496 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.363e-05/0.1384, allocations: 29.7 kB / 0.4938 GB, free: 5.461 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002148/0.1387, allocations: 212.1 kB / 0.494 GB, free: 5.25 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.499e-05/0.1387, allocations: 31.69 kB / 0.4941 GB, free: 5.219 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.249e-05/0.1388, allocations: 17.72 kB / 0.4941 GB, free: 5.195 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002717/0.1391, allocations: 366.8 kB / 0.4944 GB, free: 4.828 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001688/0.1393, allocations: 35.97 kB / 0.4945 GB, free: 4.793 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001758/0.1394, allocations: 27.97 kB / 0.4945 GB, free: 4.766 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003182/0.1398, allocations: 72.81 kB / 0.4946 GB, free: 4.691 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.1398, allocations: 0 / 0.4946 GB, free: 4.691 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003749/0.1402, allocations: 153.4 kB / 0.4947 GB, free: 4.535 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.1402, allocations: 4 kB / 0.4947 GB, free: 4.531 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.697e-06/0.1402, allocations: 3.984 kB / 0.4947 GB, free: 4.527 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.63e-05/0.1403, allocations: 4 kB / 0.4947 GB, free: 4.523 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001244/0.1404, allocations: 15.98 kB / 0.4947 GB, free: 4.508 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.637e-06/0.1404, allocations: 3.938 kB / 0.4948 GB, free: 4.504 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.305e-05/0.1405, allocations: 19.98 kB / 0.4948 GB, free: 4.484 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.154e-06/0.1405, allocations: 0 / 0.4948 GB, free: 4.484 MB / 382.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.000202/0.1407, allocations: 213.7 kB / 0.495 GB, free: 4.266 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.163e-05/0.1408, allocations: 47.7 kB / 0.495 GB, free: 4.219 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004193/0.1412, allocations: 165.4 kB / 0.4952 GB, free: 4.047 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.1412, allocations: 0 / 0.4952 GB, free: 4.047 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.1413, allocations: 7.938 kB / 0.4952 GB, free: 4.039 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.1413, allocations: 0 / 0.4952 GB, free: 4.039 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007296/0.142, allocations: 0.491 MB / 0.4957 GB, free: 3.492 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.142, allocations: 0 / 0.4957 GB, free: 3.492 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.426e-05/0.1421, allocations: 19.98 kB / 0.4957 GB, free: 3.473 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.1421, allocations: 3.938 kB / 0.4957 GB, free: 3.469 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.238e-06/0.1421, allocations: 0 / 0.4957 GB, free: 3.469 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1421, allocations: 4 kB / 0.4957 GB, free: 3.465 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.1421, allocations: 4 kB / 0.4957 GB, free: 3.461 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003764/0.1425, allocations: 243.2 kB / 0.4959 GB, free: 3.207 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.546e-05/0.1426, allocations: 112.8 kB / 0.496 GB, free: 3.078 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.816e-05/0.1427, allocations: 7.938 kB / 0.496 GB, free: 3.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.1428, allocations: 15.98 kB / 0.4961 GB, free: 3.055 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.413e-05/0.1428, allocations: 11.88 kB / 0.4961 GB, free: 3.043 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-06/0.1429, allocations: 0 / 0.4961 GB, free: 3.043 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000699/0.1436, allocations: 0.6511 MB / 0.4967 GB, free: 2.395 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1436, allocations: 0 / 0.4967 GB, free: 2.395 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002556/0.1438, allocations: 24 kB / 0.4967 GB, free: 2.371 MB / 382.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.002208/0.146, allocations: 1.077 MB / 0.4978 GB, free: 1.312 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000305/0.1464, allocations: 79.88 kB / 0.4979 GB, free: 1.234 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.1464, allocations: 4 kB / 0.4979 GB, free: 1.23 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001227/0.1465, allocations: 35.97 kB / 0.4979 GB, free: 1.195 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004338/0.1469, allocations: 29.89 kB / 0.4979 GB, free: 1.164 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004324/0.1513, allocations: 3.284 MB / 0.5011 GB, free: 13.79 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005121/0.1518, allocations: 0.826 MB / 0.5019 GB, free: 12.94 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.685e-05/0.1519, allocations: 12.97 kB / 0.5019 GB, free: 12.93 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001434/0.152, allocations: 107.3 kB / 0.5021 GB, free: 12.82 MB / 398.1 MB Notification: Performance of SimCode: time 9.62e-07/0.152, allocations: 0 / 0.5021 GB, free: 12.82 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02976/0.1818, allocations: 6.082 MB / 0.508 GB, free: 6.727 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.415/8.597, allocations: 7.844 kB / 0.508 GB, free: 6.719 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test3_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test3.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches