Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_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.001498/0.001498, allocations: 105.5 kB / 16.4 MB, free: 6.445 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.002374/0.002374, allocations: 192.1 kB / 17.34 MB, free: 5.719 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.459/1.459, 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.2371/0.2371, 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.001491/0.001491, allocations: 69.47 kB / 441.3 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.122, allocations: 57.8 MB / 499.1 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.003412/0.1254, allocations: 1.558 MB / 0.4889 GB, free: 10.71 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006836/0.1261, allocations: 315.5 kB / 0.4892 GB, free: 10.4 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.181e-05/0.1262, allocations: 3.938 kB / 0.4892 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002489/0.1265, allocations: 27.84 kB / 0.4893 GB, free: 10.37 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002146/0.1268, allocations: 31.86 kB / 0.4893 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002904/0.1271, allocations: 71.83 kB / 0.4894 GB, free: 10.27 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001731/0.1273, allocations: 51.84 kB / 0.4894 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.1274, allocations: 27.91 kB / 0.4894 GB, free: 10.19 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.205e-05/0.1274, allocations: 23.86 kB / 0.4895 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.856e-05/0.1275, allocations: 15.92 kB / 0.4895 GB, free: 10.15 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.1275, allocations: 4 kB / 0.4895 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001058/0.1277, allocations: 27.98 kB / 0.4895 GB, free: 10.12 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.523e-05/0.1277, allocations: 11.94 kB / 0.4895 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.033e-05/0.1278, allocations: 23.8 kB / 0.4895 GB, free: 10.08 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002852/0.1281, allocations: 75.72 kB / 0.4896 GB, free: 10.01 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.1281, allocations: 4 kB / 0.4896 GB, free: 10 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1281, allocations: 4 kB / 0.4896 GB, free: 10 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.063e-06/0.1281, allocations: 0 / 0.4896 GB, free: 10 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.000622/0.1287, allocations: 371.2 kB / 0.49 GB, free: 9.59 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.1288, allocations: 11.89 kB / 0.49 GB, free: 9.578 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.061e-05/0.1288, allocations: 34.73 kB / 0.49 GB, free: 9.535 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.045e-05/0.1289, allocations: 8.844 kB / 0.49 GB, free: 9.527 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002118/0.1291, allocations: 180.3 kB / 0.4902 GB, free: 9.312 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.1291, allocations: 384 / 0.4902 GB, free: 9.312 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.316e-05/0.1292, allocations: 12.31 kB / 0.4902 GB, free: 9.301 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001431/0.1293, allocations: 53.61 kB / 0.4903 GB, free: 9.242 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.1293, allocations: 0 / 0.4903 GB, free: 9.242 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.1293, allocations: 0 / 0.4903 GB, free: 9.242 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.1294, allocations: 4 kB / 0.4903 GB, free: 9.238 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.676e-05/0.1295, allocations: 19.98 kB / 0.4903 GB, free: 9.219 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004544/0.1299, allocations: 276.8 kB / 0.4905 GB, free: 8.898 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002217/0.1302, allocations: 46.5 kB / 0.4906 GB, free: 8.844 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.32e-05/0.1302, allocations: 16.86 kB / 0.4906 GB, free: 8.824 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.441e-05/0.1302, allocations: 0 / 0.4906 GB, free: 8.824 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.225e-05/0.1303, allocations: 34.64 kB / 0.4906 GB, free: 8.781 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.1303, allocations: 0 / 0.4906 GB, free: 8.781 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005484/0.1308, allocations: 137.4 kB / 0.4908 GB, free: 8.641 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.992e-05/0.1309, allocations: 51.41 kB / 0.4908 GB, free: 8.578 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001291/0.131, allocations: 141.8 kB / 0.4909 GB, free: 8.43 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/0.1311, allocations: 29.64 kB / 0.491 GB, free: 8.395 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.416e-05/0.1311, allocations: 96.12 kB / 0.4911 GB, free: 8.297 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.763e-05/0.1312, allocations: 27.64 kB / 0.4911 GB, free: 8.27 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.764e-05/0.1312, allocations: 13.72 kB / 0.4911 GB, free: 8.25 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001767/0.1314, allocations: 326.8 kB / 0.4914 GB, free: 7.922 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001197/0.1315, allocations: 19.98 kB / 0.4914 GB, free: 7.902 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.631e-05/0.1316, allocations: 24.05 kB / 0.4915 GB, free: 7.879 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001238/0.1317, allocations: 40.78 kB / 0.4915 GB, free: 7.836 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.1317, allocations: 0 / 0.4915 GB, free: 7.836 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001884/0.1319, allocations: 85.56 kB / 0.4916 GB, free: 7.746 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.1319, allocations: 11.94 kB / 0.4916 GB, free: 7.734 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.339e-06/0.132, allocations: 0 / 0.4916 GB, free: 7.734 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.132, allocations: 4 kB / 0.4916 GB, free: 7.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.629e-05/0.132, allocations: 12.27 kB / 0.4916 GB, free: 7.719 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.1321, allocations: 0 / 0.4916 GB, free: 7.719 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.93e-05/0.1321, allocations: 4 kB / 0.4916 GB, free: 7.715 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.835e-06/0.1321, allocations: 3.938 kB / 0.4916 GB, free: 7.711 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.067e-05/0.1322, allocations: 121.7 kB / 0.4917 GB, free: 7.582 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.134e-05/0.1322, allocations: 8 kB / 0.4917 GB, free: 7.574 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002263/0.1325, allocations: 97.84 kB / 0.4918 GB, free: 7.469 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.1325, allocations: 0 / 0.4918 GB, free: 7.469 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.1325, allocations: 0 / 0.4918 GB, free: 7.469 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.1325, allocations: 0 / 0.4918 GB, free: 7.469 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004105/0.1329, allocations: 346.5 kB / 0.4922 GB, free: 7.074 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.133, allocations: 320 / 0.4922 GB, free: 7.074 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.589e-05/0.133, allocations: 16 kB / 0.4922 GB, free: 7.059 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.133, allocations: 3.984 kB / 0.4922 GB, free: 7.055 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.133, allocations: 4 kB / 0.4922 GB, free: 7.051 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/0.133, allocations: 3.938 kB / 0.4922 GB, free: 7.047 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.1331, allocations: 0 / 0.4922 GB, free: 7.047 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000223/0.1333, allocations: 171.4 kB / 0.4924 GB, free: 6.863 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.985e-05/0.1333, allocations: 77.11 kB / 0.4924 GB, free: 6.77 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.474e-05/0.1334, allocations: 4 kB / 0.4924 GB, free: 6.766 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.726e-05/0.1334, allocations: 11.92 kB / 0.4924 GB, free: 6.754 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.194e-05/0.1335, allocations: 11.94 kB / 0.4925 GB, free: 6.742 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.977e-06/0.1335, allocations: 3.938 kB / 0.4925 GB, free: 6.738 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001003/0.1336, allocations: 111.2 kB / 0.4926 GB, free: 6.629 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1336, allocations: 0 / 0.4926 GB, free: 6.629 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000252/0.1339, allocations: 16 kB / 0.4926 GB, free: 6.613 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.001567/0.1354, allocations: 1.004 MB / 0.4936 GB, free: 5.625 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002086/0.1357, allocations: 43.91 kB / 0.4936 GB, free: 5.582 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.1357, allocations: 4 kB / 0.4936 GB, free: 5.578 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.542e-05/0.1357, allocations: 23.98 kB / 0.4936 GB, free: 5.555 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003537/0.1361, allocations: 27.86 kB / 0.4937 GB, free: 5.527 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001779/0.1379, allocations: 1.401 MB / 0.495 GB, free: 4.051 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003075/0.1382, allocations: 0.6924 MB / 0.4957 GB, free: 3.332 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.464e-05/0.1383, allocations: 11.94 kB / 0.4957 GB, free: 3.32 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.246e-05/0.1383, allocations: 23.42 kB / 0.4957 GB, free: 3.297 MB / 382.1 MB Notification: Performance of SimCode: time 6.11e-07/0.1383, allocations: 0 / 0.4957 GB, free: 3.297 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02104/0.1594, allocations: 2.458 MB / 0.4981 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.745/7.905, allocations: 11.83 kB / 0.4981 GB, free: 0.8125 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test1_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test1.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches