Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19.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.CombiTable2Dv.Test19,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test19,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test19",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.001696/0.001697, allocations: 103.8 kB / 16.41 MB, free: 6.52 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.001898/0.001898, allocations: 192.2 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.515/1.515, allocations: 205.1 MB / 223.2 MB, free: 12.27 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.2195/0.2195, allocations: 43.52 MB / 314.1 MB, free: 460 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.002178/0.002178, allocations: 73.47 kB / 441.3 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.1193, allocations: 57.79 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test19): time 0.003999/0.1234, allocations: 1.841 MB / 0.4892 GB, free: 10.43 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001572/0.125, allocations: 0.7369 MB / 0.4899 GB, free: 9.688 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001911/0.1252, allocations: 4 kB / 0.4899 GB, free: 9.684 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006053/0.1258, allocations: 255.2 kB / 0.4902 GB, free: 9.434 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004658/0.1263, allocations: 191.3 kB / 0.4904 GB, free: 9.246 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001424/0.1278, allocations: 0.5926 MB / 0.4909 GB, free: 8.652 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000429/0.1282, allocations: 271.3 kB / 0.4912 GB, free: 8.387 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001964/0.1284, allocations: 56.36 kB / 0.4912 GB, free: 8.328 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001538/0.1286, allocations: 127.5 kB / 0.4914 GB, free: 8.203 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002502/0.1288, allocations: 187.3 kB / 0.4915 GB, free: 8.02 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.34e-05/0.1289, allocations: 8 kB / 0.4916 GB, free: 8.012 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001444/0.129, allocations: 51.95 kB / 0.4916 GB, free: 7.961 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001427/0.1292, allocations: 87.69 kB / 0.4917 GB, free: 7.875 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001127/0.1293, allocations: 107.1 kB / 0.4918 GB, free: 7.77 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004101/0.1297, allocations: 290.5 kB / 0.4921 GB, free: 7.484 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1297, allocations: 0 / 0.4921 GB, free: 7.484 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1297, allocations: 0 / 0.4921 GB, free: 7.484 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.1297, allocations: 0 / 0.4921 GB, free: 7.484 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007927/0.1305, allocations: 0.6453 MB / 0.4927 GB, free: 6.789 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.1306, allocations: 11.89 kB / 0.4927 GB, free: 6.777 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.071e-05/0.1307, allocations: 42.73 kB / 0.4927 GB, free: 6.727 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.966e-05/0.1307, allocations: 40.66 kB / 0.4928 GB, free: 6.688 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003691/0.1311, allocations: 318.6 kB / 0.4931 GB, free: 6.336 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.1311, allocations: 12.31 kB / 0.4931 GB, free: 6.324 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.727e-05/0.1311, allocations: 4.375 kB / 0.4931 GB, free: 6.32 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002138/0.1314, allocations: 97.58 kB / 0.4932 GB, free: 6.219 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.677e-06/0.1314, allocations: 4 kB / 0.4932 GB, free: 6.215 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.1314, allocations: 0 / 0.4932 GB, free: 6.215 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/0.1314, allocations: 0 / 0.4932 GB, free: 6.215 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001702/0.1316, allocations: 75.89 kB / 0.4933 GB, free: 6.141 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006341/0.1322, allocations: 460.5 kB / 0.4937 GB, free: 5.641 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000148/0.1324, allocations: 70.48 kB / 0.4938 GB, free: 5.562 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.545e-05/0.1325, allocations: 36.95 kB / 0.4938 GB, free: 5.523 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.263e-05/0.1325, allocations: 11.98 kB / 0.4938 GB, free: 5.512 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.452e-05/0.1325, allocations: 34.5 kB / 0.4939 GB, free: 5.469 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.1326, allocations: 0 / 0.4939 GB, free: 5.469 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.000382/0.1329, allocations: 157.4 kB / 0.494 GB, free: 5.309 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.708e-05/0.133, allocations: 63.28 kB / 0.4941 GB, free: 5.234 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006215/0.1336, allocations: 0.5526 MB / 0.4946 GB, free: 4.672 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.601e-05/0.1336, allocations: 25.7 kB / 0.4946 GB, free: 4.641 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001603/0.1338, allocations: 200.1 kB / 0.4948 GB, free: 4.441 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.932e-05/0.1338, allocations: 19.86 kB / 0.4948 GB, free: 4.422 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.276e-05/0.1339, allocations: 21.7 kB / 0.4949 GB, free: 4.395 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001679/0.1341, allocations: 346.8 kB / 0.4952 GB, free: 4.047 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.096e-05/0.1342, allocations: 32.22 kB / 0.4952 GB, free: 4.016 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.183e-05/0.1342, allocations: 27.98 kB / 0.4953 GB, free: 3.988 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001372/0.1344, allocations: 60.83 kB / 0.4953 GB, free: 3.926 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1344, allocations: 0 / 0.4953 GB, free: 3.926 MB / 382.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002201/0.1346, allocations: 129.4 kB / 0.4954 GB, free: 3.793 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.175e-05/0.1346, allocations: 8 kB / 0.4954 GB, free: 3.785 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.1347, allocations: 3.938 kB / 0.4954 GB, free: 3.781 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.128e-05/0.1347, allocations: 3.938 kB / 0.4955 GB, free: 3.777 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.771e-05/0.1348, allocations: 15.98 kB / 0.4955 GB, free: 3.762 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.1348, allocations: 0 / 0.4955 GB, free: 3.762 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.216e-05/0.1349, allocations: 15.89 kB / 0.4955 GB, free: 3.746 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.626e-06/0.1349, allocations: 3.984 kB / 0.4955 GB, free: 3.742 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 (6): * Single equations (assignments): 6 * 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.0001661/0.135, allocations: 173.7 kB / 0.4957 GB, free: 3.562 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.046e-05/0.1351, allocations: 35.77 kB / 0.4957 GB, free: 3.527 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003032/0.1354, allocations: 148.9 kB / 0.4958 GB, free: 3.375 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.323e-06/0.1354, allocations: 15.92 kB / 0.4958 GB, free: 3.359 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.1354, allocations: 3.938 kB / 0.4958 GB, free: 3.355 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.1355, allocations: 0 / 0.4958 GB, free: 3.355 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003232/0.1358, allocations: 293.5 kB / 0.4961 GB, free: 3.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.1358, allocations: 0 / 0.4961 GB, free: 3.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.436e-05/0.1359, allocations: 8 kB / 0.4961 GB, free: 3.012 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.644e-06/0.1359, allocations: 4 kB / 0.4961 GB, free: 3.008 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-06/0.1359, allocations: 0 / 0.4961 GB, free: 3.008 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.586e-06/0.1359, allocations: 4.188 kB / 0.4961 GB, free: 3.004 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.459e-06/0.1359, allocations: 4 kB / 0.4961 GB, free: 3 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000274/0.1362, allocations: 231.2 kB / 0.4964 GB, free: 2.758 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.895e-05/0.1363, allocations: 116.8 kB / 0.4965 GB, free: 2.625 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.775e-05/0.1363, allocations: 0 / 0.4965 GB, free: 2.625 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.696e-05/0.1364, allocations: 7.938 kB / 0.4965 GB, free: 2.617 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.097e-05/0.1364, allocations: 11.92 kB / 0.4965 GB, free: 2.605 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.142e-06/0.1365, allocations: 4 kB / 0.4965 GB, free: 2.602 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000432/0.1369, allocations: 415.1 kB / 0.4969 GB, free: 2.203 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1369, allocations: 4 kB / 0.4969 GB, free: 2.199 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002737/0.1372, allocations: 31.94 kB / 0.4969 GB, free: 2.168 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 (6): * Single equations (assignments): 6 * 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.002727/0.1399, allocations: 1.244 MB / 0.4981 GB, free: 0.957 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002286/0.1402, allocations: 75.89 kB / 0.4982 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.1402, allocations: 0 / 0.4982 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.685e-05/0.1403, allocations: 31.97 kB / 0.4982 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005831/0.1408, allocations: 85.27 kB / 0.4983 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003489/0.1443, allocations: 2.825 MB / 0.5011 GB, free: 13.86 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004316/0.1448, allocations: 0.8022 MB / 0.5019 GB, free: 13.03 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001319/0.1449, allocations: 49.48 kB / 0.5019 GB, free: 12.98 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001476/0.1451, allocations: 103.4 kB / 0.502 GB, free: 12.88 MB / 398.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1451, allocations: 3.938 kB / 0.502 GB, free: 12.88 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03013/0.1752, allocations: 6.639 MB / 0.5085 GB, free: 6.207 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.328/8.504, allocations: 0 / 0.5085 GB, free: 6.207 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test19_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test19.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches