Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.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.CombiTable1Ds.Test7,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test7,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test7",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.001259/0.001259, allocations: 105.7 kB / 16.41 MB, free: 6.5 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.001297/0.001298, allocations: 189.5 kB / 17.34 MB, free: 5.742 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.607/1.607, 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.2129/0.2129, allocations: 43.52 MB / 314.1 MB, free: 448 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.002119/0.002119, allocations: 73.45 kB / 441.3 MB, free: 6.137 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1245, allocations: 57.79 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test7): time 0.003271/0.1278, allocations: 1.562 MB / 0.4889 GB, free: 10.7 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006801/0.1285, allocations: 319.5 kB / 0.4892 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.043e-05/0.1286, allocations: 0 / 0.4892 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002855/0.1289, allocations: 23.86 kB / 0.4893 GB, free: 10.36 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001931/0.1291, allocations: 39.78 kB / 0.4893 GB, free: 10.32 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002583/0.1294, allocations: 67.84 kB / 0.4894 GB, free: 10.26 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001444/0.1295, allocations: 51.84 kB / 0.4894 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.1297, allocations: 27.91 kB / 0.4894 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.341e-05/0.1297, allocations: 23.86 kB / 0.4895 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.388e-05/0.1298, allocations: 15.92 kB / 0.4895 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.549e-05/0.1298, allocations: 4 kB / 0.4895 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.412e-05/0.1299, allocations: 31.98 kB / 0.4895 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.113e-05/0.13, allocations: 11.94 kB / 0.4895 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.822e-05/0.13, allocations: 27.78 kB / 0.4895 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001745/0.1302, allocations: 71.73 kB / 0.4896 GB, free: 9.996 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.748e-06/0.1302, allocations: 4 kB / 0.4896 GB, free: 9.992 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1302, allocations: 0 / 0.4896 GB, free: 9.992 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.1302, allocations: 4 kB / 0.4896 GB, free: 9.988 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004751/0.1307, allocations: 379.2 kB / 0.49 GB, free: 9.57 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.1307, allocations: 11.89 kB / 0.49 GB, free: 9.559 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.562e-05/0.1308, allocations: 30.75 kB / 0.49 GB, free: 9.52 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.217e-05/0.1308, allocations: 8.844 kB / 0.49 GB, free: 9.512 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001936/0.131, allocations: 188.1 kB / 0.4902 GB, free: 9.289 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.131, allocations: 4.375 kB / 0.4902 GB, free: 9.285 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.917e-05/0.1311, allocations: 16.3 kB / 0.4902 GB, free: 9.27 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001364/0.1312, allocations: 49.56 kB / 0.4903 GB, free: 9.215 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.1312, allocations: 4 kB / 0.4903 GB, free: 9.211 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.384e-06/0.1312, allocations: 0 / 0.4903 GB, free: 9.211 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.1313, allocations: 0 / 0.4903 GB, free: 9.211 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.422e-05/0.1314, allocations: 19.98 kB / 0.4903 GB, free: 9.191 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003631/0.1317, allocations: 276.9 kB / 0.4906 GB, free: 8.871 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002026/0.1319, allocations: 46.5 kB / 0.4906 GB, free: 8.816 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.051e-05/0.132, allocations: 16.94 kB / 0.4906 GB, free: 8.797 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.091e-05/0.132, allocations: 7.984 kB / 0.4906 GB, free: 8.789 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.859e-05/0.1321, allocations: 30.56 kB / 0.4907 GB, free: 8.75 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.302e-06/0.1321, allocations: 0 / 0.4907 GB, free: 8.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005644/0.1326, allocations: 137.3 kB / 0.4908 GB, free: 8.609 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.185e-05/0.1327, allocations: 55.41 kB / 0.4908 GB, free: 8.543 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001489/0.1329, allocations: 156.5 kB / 0.491 GB, free: 8.383 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.304e-05/0.1329, allocations: 25.7 kB / 0.491 GB, free: 8.352 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.858e-05/0.1329, allocations: 96.05 kB / 0.4911 GB, free: 8.254 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.451e-05/0.133, allocations: 19.73 kB / 0.4911 GB, free: 8.234 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.759e-05/0.133, allocations: 17.72 kB / 0.4911 GB, free: 8.211 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.1331, allocations: 322.8 kB / 0.4915 GB, free: 7.887 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.962e-05/0.1332, allocations: 19.98 kB / 0.4915 GB, free: 7.867 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.86e-05/0.1333, allocations: 15.98 kB / 0.4915 GB, free: 7.852 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001247/0.1334, allocations: 44.83 kB / 0.4915 GB, free: 7.805 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.1334, allocations: 0 / 0.4915 GB, free: 7.805 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001892/0.1336, allocations: 93.77 kB / 0.4916 GB, free: 7.707 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.1336, allocations: 7.938 kB / 0.4916 GB, free: 7.699 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.1337, allocations: 3.984 kB / 0.4916 GB, free: 7.695 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.1337, allocations: 0 / 0.4916 GB, free: 7.695 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.933e-05/0.1337, allocations: 12 kB / 0.4916 GB, free: 7.684 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.1338, allocations: 3.984 kB / 0.4916 GB, free: 7.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.111e-05/0.1338, allocations: 11.92 kB / 0.4917 GB, free: 7.668 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.992e-06/0.1338, allocations: 0 / 0.4917 GB, free: 7.668 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 8.691e-05/0.1339, allocations: 121.8 kB / 0.4918 GB, free: 7.539 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.233e-05/0.1339, allocations: 7.906 kB / 0.4918 GB, free: 7.531 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002187/0.1342, allocations: 93.91 kB / 0.4919 GB, free: 7.43 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.1342, allocations: 3.938 kB / 0.4919 GB, free: 7.426 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.1342, allocations: 0 / 0.4919 GB, free: 7.426 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/0.1342, allocations: 11.92 kB / 0.4919 GB, free: 7.414 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004051/0.1346, allocations: 330.6 kB / 0.4922 GB, free: 7.035 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.1346, allocations: 7.938 kB / 0.4922 GB, free: 7.027 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.236e-05/0.1347, allocations: 12 kB / 0.4922 GB, free: 7.016 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.1347, allocations: 0 / 0.4922 GB, free: 7.016 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.1347, allocations: 7.922 kB / 0.4922 GB, free: 7.008 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.1347, allocations: 0 / 0.4922 GB, free: 7.008 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1347, allocations: 0 / 0.4922 GB, free: 7.008 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002138/0.1349, allocations: 171.4 kB / 0.4924 GB, free: 6.824 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.319e-05/0.135, allocations: 89.2 kB / 0.4925 GB, free: 6.719 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.717e-05/0.135, allocations: 7.938 kB / 0.4925 GB, free: 6.711 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.731e-05/0.1351, allocations: 11.98 kB / 0.4925 GB, free: 6.699 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.17e-05/0.1351, allocations: 0 / 0.4925 GB, free: 6.699 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.091e-06/0.1351, allocations: 4 kB / 0.4925 GB, free: 6.695 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.628e-05/0.1352, allocations: 122.1 kB / 0.4926 GB, free: 6.578 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.705e-06/0.1352, allocations: 0 / 0.4926 GB, free: 6.578 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002326/0.1355, allocations: 15.94 kB / 0.4926 GB, free: 6.562 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.001316/0.1368, allocations: 1.005 MB / 0.4936 GB, free: 5.57 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001939/0.137, allocations: 55.84 kB / 0.4937 GB, free: 5.516 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.137, allocations: 0 / 0.4937 GB, free: 5.516 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.121e-05/0.1371, allocations: 27.98 kB / 0.4937 GB, free: 5.488 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003747/0.1375, allocations: 15.92 kB / 0.4937 GB, free: 5.473 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00172/0.1392, allocations: 1.417 MB / 0.4951 GB, free: 3.973 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003151/0.1395, allocations: 0.6923 MB / 0.4958 GB, free: 3.254 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.118e-05/0.1396, allocations: 15.98 kB / 0.4958 GB, free: 3.238 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.311e-05/0.1397, allocations: 19.44 kB / 0.4958 GB, free: 3.219 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1397, allocations: 0 / 0.4958 GB, free: 3.219 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02244/0.1621, allocations: 2.519 MB / 0.4983 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.725/7.888, allocations: 12.05 kB / 0.4983 GB, free: 0.6719 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test7_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test7.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches