Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.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.Test1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test1",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.001528/0.001528, allocations: 101.8 kB / 16.4 MB, free: 6.441 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.001502/0.001502, allocations: 192.2 kB / 17.34 MB, free: 5.703 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.543/1.543, allocations: 205.1 MB / 223.2 MB, free: 12.21 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.2405/0.2405, allocations: 43.52 MB / 314.1 MB, free: 456 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.002191/0.002191, allocations: 77.44 kB / 441.3 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1212, allocations: 57.8 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.003471/0.1248, allocations: 1.603 MB / 0.489 GB, free: 10.66 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007843/0.1256, allocations: 347.5 kB / 0.4893 GB, free: 10.31 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.883e-05/0.1257, allocations: 3.938 kB / 0.4893 GB, free: 10.31 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006657/0.1264, allocations: 451.1 kB / 0.4897 GB, free: 9.867 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000426/0.1268, allocations: 255.5 kB / 0.49 GB, free: 9.617 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004772/0.1273, allocations: 151.7 kB / 0.4901 GB, free: 9.469 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003048/0.1276, allocations: 163.7 kB / 0.4903 GB, free: 9.309 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.1278, allocations: 24.16 kB / 0.4903 GB, free: 9.285 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001488/0.1279, allocations: 107.7 kB / 0.4904 GB, free: 9.18 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000254/0.1282, allocations: 215.6 kB / 0.4906 GB, free: 8.969 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.135e-05/0.1282, allocations: 0 / 0.4906 GB, free: 8.969 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001002/0.1283, allocations: 32 kB / 0.4907 GB, free: 8.938 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001067/0.1284, allocations: 83.69 kB / 0.4907 GB, free: 8.855 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001036/0.1285, allocations: 103 kB / 0.4908 GB, free: 8.754 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003979/0.1289, allocations: 270.5 kB / 0.4911 GB, free: 8.488 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.1289, allocations: 0 / 0.4911 GB, free: 8.488 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.129, allocations: 0 / 0.4911 GB, free: 8.488 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.165e-05/0.129, allocations: 4 kB / 0.4911 GB, free: 8.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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0009053/0.1299, allocations: 0.653 MB / 0.4917 GB, free: 7.781 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.1299, allocations: 11.89 kB / 0.4917 GB, free: 7.77 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.597e-05/0.13, allocations: 30.75 kB / 0.4918 GB, free: 7.73 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001267/0.1301, allocations: 48.61 kB / 0.4918 GB, free: 7.684 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003561/0.1305, allocations: 308.6 kB / 0.4921 GB, free: 7.34 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/0.1305, allocations: 384 / 0.4921 GB, free: 7.34 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.678e-05/0.1305, allocations: 8.125 kB / 0.4921 GB, free: 7.332 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001768/0.1307, allocations: 57.62 kB / 0.4922 GB, free: 7.27 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.1307, allocations: 0 / 0.4922 GB, free: 7.27 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.956e-06/0.1307, allocations: 0 / 0.4922 GB, free: 7.27 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.327e-05/0.1308, allocations: 4 kB / 0.4922 GB, free: 7.266 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001159/0.1309, allocations: 31.97 kB / 0.4922 GB, free: 7.234 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000651/0.1315, allocations: 392.7 kB / 0.4926 GB, free: 6.801 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002941/0.1318, allocations: 46.5 kB / 0.4926 GB, free: 6.746 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.257e-05/0.1319, allocations: 20.94 kB / 0.4927 GB, free: 6.723 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.605e-05/0.1319, allocations: 80 / 0.4927 GB, free: 6.723 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.601e-05/0.132, allocations: 34.56 kB / 0.4927 GB, free: 6.68 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 2.756e-06/0.132, allocations: 3.984 kB / 0.4927 GB, free: 6.676 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007098/0.1327, allocations: 244.6 kB / 0.4929 GB, free: 6.43 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.493e-05/0.1328, allocations: 55.41 kB / 0.493 GB, free: 6.363 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009463/0.1337, allocations: 0.8691 MB / 0.4938 GB, free: 5.48 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.286e-05/0.1337, allocations: 25.7 kB / 0.4938 GB, free: 5.449 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002026/0.134, allocations: 228 kB / 0.4941 GB, free: 5.223 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.005e-05/0.134, allocations: 19.84 kB / 0.4941 GB, free: 5.203 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.426e-05/0.134, allocations: 17.72 kB / 0.4941 GB, free: 5.18 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002057/0.1343, allocations: 358.8 kB / 0.4944 GB, free: 4.82 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001018/0.1344, allocations: 31.91 kB / 0.4945 GB, free: 4.789 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.014e-05/0.1344, allocations: 19.98 kB / 0.4945 GB, free: 4.77 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001491/0.1346, allocations: 56.77 kB / 0.4945 GB, free: 4.711 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.1346, allocations: 192 / 0.4945 GB, free: 4.711 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002475/0.1349, allocations: 121.4 kB / 0.4947 GB, free: 4.586 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.204e-05/0.1349, allocations: 11.98 kB / 0.4947 GB, free: 4.574 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.1349, allocations: 4 kB / 0.4947 GB, free: 4.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.1349, allocations: 0 / 0.4947 GB, free: 4.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.282e-05/0.135, allocations: 8 kB / 0.4947 GB, free: 4.562 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/0.135, allocations: 3.938 kB / 0.4947 GB, free: 4.559 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.831e-05/0.1351, allocations: 7.984 kB / 0.4947 GB, free: 4.551 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.398e-06/0.1351, allocations: 4 kB / 0.4947 GB, free: 4.547 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 (5): * Single equations (assignments): 5 * 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.0002205/0.1353, allocations: 221.6 kB / 0.4949 GB, free: 4.32 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.066e-05/0.1354, allocations: 43.72 kB / 0.495 GB, free: 4.277 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004679/0.1359, allocations: 145.1 kB / 0.4951 GB, free: 4.129 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.1359, allocations: 0 / 0.4951 GB, free: 4.129 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.938e-06/0.1359, allocations: 3.938 kB / 0.4951 GB, free: 4.125 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.1359, allocations: 0 / 0.4951 GB, free: 4.125 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000655/0.1366, allocations: 470.4 kB / 0.4955 GB, free: 3.609 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.1366, allocations: 0 / 0.4955 GB, free: 3.609 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.346e-05/0.1367, allocations: 12 kB / 0.4956 GB, free: 3.598 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.1367, allocations: 3.938 kB / 0.4956 GB, free: 3.594 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.797e-06/0.1367, allocations: 0 / 0.4956 GB, free: 3.594 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1367, allocations: 4 kB / 0.4956 GB, free: 3.59 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.1367, allocations: 3.984 kB / 0.4956 GB, free: 3.586 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002984/0.137, allocations: 219.4 kB / 0.4958 GB, free: 3.355 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001043/0.1371, allocations: 116.8 kB / 0.4959 GB, free: 3.223 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.795e-05/0.1372, allocations: 11.88 kB / 0.4959 GB, free: 3.211 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.149e-05/0.1372, allocations: 4 kB / 0.4959 GB, free: 3.207 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.67e-05/0.1373, allocations: 7.984 kB / 0.4959 GB, free: 3.199 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.725e-06/0.1373, allocations: 4 kB / 0.4959 GB, free: 3.195 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006624/0.138, allocations: 0.655 MB / 0.4966 GB, free: 2.543 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.138, allocations: 0 / 0.4966 GB, free: 2.543 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002612/0.1382, allocations: 27.94 kB / 0.4966 GB, free: 2.516 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 (5): * Single equations (assignments): 5 * 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.002022/0.1403, allocations: 1.055 MB / 0.4976 GB, free: 1.477 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002224/0.1405, allocations: 47.91 kB / 0.4977 GB, free: 1.43 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.1405, allocations: 4 kB / 0.4977 GB, free: 1.426 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.469e-05/0.1406, allocations: 31.98 kB / 0.4977 GB, free: 1.395 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004002/0.141, allocations: 26.23 kB / 0.4977 GB, free: 1.367 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004064/0.1451, allocations: 3.253 MB / 0.5009 GB, free: 14.02 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005562/0.1457, allocations: 0.826 MB / 0.5017 GB, free: 13.17 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.808e-05/0.1458, allocations: 15.98 kB / 0.5017 GB, free: 13.15 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00015/0.1459, allocations: 107.4 kB / 0.5018 GB, free: 13.05 MB / 398.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1459, allocations: 0 / 0.5018 GB, free: 13.05 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02914/0.1751, allocations: 6.024 MB / 0.5077 GB, free: 7.004 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.458/8.633, allocations: 19.81 kB / 0.5077 GB, free: 6.984 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test1_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test1.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches