Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_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.001634/0.001634, allocations: 103.6 kB / 16.4 MB, free: 6.504 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.001935/0.001935, allocations: 192.2 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.61/1.61, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2512/0.2512, allocations: 43.51 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.001805/0.001805, allocations: 70.03 kB / 441.3 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1406, allocations: 57.79 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.004875/0.1455, allocations: 1.554 MB / 0.4889 GB, free: 10.71 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001011/0.1466, allocations: 319.5 kB / 0.4892 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.136e-05/0.1467, allocations: 0 / 0.4892 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003794/0.1471, allocations: 71.77 kB / 0.4893 GB, free: 10.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002429/0.1474, allocations: 63.7 kB / 0.4894 GB, free: 10.26 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003177/0.1477, allocations: 75.83 kB / 0.4894 GB, free: 10.19 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002141/0.148, allocations: 67.83 kB / 0.4895 GB, free: 10.12 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001399/0.1481, allocations: 15.97 kB / 0.4895 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.163e-05/0.1482, allocations: 31.84 kB / 0.4895 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001158/0.1483, allocations: 39.91 kB / 0.4896 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.898e-05/0.1483, allocations: 0 / 0.4896 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.998e-05/0.1485, allocations: 31.97 kB / 0.4896 GB, free: 10 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.683e-05/0.1485, allocations: 19.92 kB / 0.4896 GB, free: 9.984 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.549e-05/0.1486, allocations: 27.75 kB / 0.4897 GB, free: 9.957 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002034/0.1488, allocations: 87.72 kB / 0.4897 GB, free: 9.871 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1488, allocations: 0 / 0.4897 GB, free: 9.871 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1488, allocations: 0 / 0.4897 GB, free: 9.871 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.1488, allocations: 4 kB / 0.4897 GB, free: 9.867 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.0005548/0.1494, allocations: 395 kB / 0.4901 GB, free: 9.434 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.1494, allocations: 11.89 kB / 0.4901 GB, free: 9.422 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.027e-05/0.1495, allocations: 34.73 kB / 0.4902 GB, free: 9.379 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.029e-05/0.1495, allocations: 12.75 kB / 0.4902 GB, free: 9.367 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002716/0.1498, allocations: 188.2 kB / 0.4904 GB, free: 9.145 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.1498, allocations: 4.375 kB / 0.4904 GB, free: 9.141 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.077e-05/0.1498, allocations: 384 / 0.4904 GB, free: 9.141 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001609/0.15, allocations: 57.55 kB / 0.4904 GB, free: 9.078 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.1501, allocations: 0 / 0.4904 GB, free: 9.078 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.1501, allocations: 4 kB / 0.4904 GB, free: 9.074 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.1501, allocations: 0 / 0.4904 GB, free: 9.074 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001102/0.1502, allocations: 23.98 kB / 0.4904 GB, free: 9.051 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004507/0.1507, allocations: 280.8 kB / 0.4907 GB, free: 8.727 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000243/0.1509, allocations: 42.5 kB / 0.4907 GB, free: 8.676 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.104e-05/0.151, allocations: 20.94 kB / 0.4908 GB, free: 8.652 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.711e-05/0.151, allocations: 0 / 0.4908 GB, free: 8.652 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.973e-05/0.1511, allocations: 30.56 kB / 0.4908 GB, free: 8.613 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.1511, allocations: 0 / 0.4908 GB, free: 8.613 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006347/0.1517, allocations: 149.2 kB / 0.4909 GB, free: 8.461 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.825e-05/0.1518, allocations: 51.41 kB / 0.491 GB, free: 8.398 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002163/0.152, allocations: 190.2 kB / 0.4912 GB, free: 8.203 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.819e-05/0.152, allocations: 25.7 kB / 0.4912 GB, free: 8.172 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.375e-05/0.1521, allocations: 104 kB / 0.4913 GB, free: 8.066 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.135e-05/0.1521, allocations: 19.75 kB / 0.4913 GB, free: 8.047 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.76e-05/0.1522, allocations: 17.72 kB / 0.4913 GB, free: 8.023 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.1524, allocations: 326.8 kB / 0.4916 GB, free: 7.695 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.418e-05/0.1524, allocations: 15.98 kB / 0.4917 GB, free: 7.68 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.551e-05/0.1525, allocations: 27.98 kB / 0.4917 GB, free: 7.652 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001356/0.1527, allocations: 48.77 kB / 0.4917 GB, free: 7.602 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.1527, allocations: 0 / 0.4917 GB, free: 7.602 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001888/0.1529, allocations: 89.52 kB / 0.4918 GB, free: 7.508 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.1529, allocations: 4 kB / 0.4918 GB, free: 7.504 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.1529, allocations: 0 / 0.4918 GB, free: 7.504 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/0.1529, allocations: 288 / 0.4918 GB, free: 7.504 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.687e-05/0.153, allocations: 15.98 kB / 0.4918 GB, free: 7.488 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.153, allocations: 0 / 0.4918 GB, free: 7.488 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.699e-05/0.1531, allocations: 4 kB / 0.4918 GB, free: 7.484 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.154e-05/0.1531, allocations: 3.938 kB / 0.4918 GB, free: 7.48 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.0001332/0.1532, allocations: 129.8 kB / 0.492 GB, free: 7.344 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.216e-05/0.1533, allocations: 11.89 kB / 0.492 GB, free: 7.332 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00026/0.1536, allocations: 93.91 kB / 0.4921 GB, free: 7.23 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.1536, allocations: 0 / 0.4921 GB, free: 7.23 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.1536, allocations: 4 kB / 0.4921 GB, free: 7.227 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.1536, allocations: 0 / 0.4921 GB, free: 7.227 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004878/0.1541, allocations: 354.4 kB / 0.4924 GB, free: 6.824 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.1541, allocations: 4.25 kB / 0.4924 GB, free: 6.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.905e-05/0.1542, allocations: 19.98 kB / 0.4924 GB, free: 6.801 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.055e-06/0.1542, allocations: 0 / 0.4924 GB, free: 6.801 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-06/0.1542, allocations: 0 / 0.4924 GB, free: 6.801 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.1542, allocations: 3.938 kB / 0.4924 GB, free: 6.797 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1542, allocations: 0 / 0.4924 GB, free: 6.797 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002402/0.1544, allocations: 175.4 kB / 0.4926 GB, free: 6.609 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.269e-05/0.1545, allocations: 85.02 kB / 0.4927 GB, free: 6.508 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.612e-05/0.1545, allocations: 0 / 0.4927 GB, free: 6.508 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.02e-05/0.1546, allocations: 11.92 kB / 0.4927 GB, free: 6.496 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.328e-05/0.1547, allocations: 8 kB / 0.4927 GB, free: 6.488 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.007e-06/0.1547, allocations: 0 / 0.4927 GB, free: 6.488 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001403/0.1548, allocations: 151.9 kB / 0.4928 GB, free: 6.34 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.185e-06/0.1548, allocations: 0 / 0.4928 GB, free: 6.34 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003512/0.1552, allocations: 11.94 kB / 0.4929 GB, free: 6.328 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.001614/0.1568, allocations: 1.011 MB / 0.4938 GB, free: 5.34 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002343/0.1571, allocations: 47.91 kB / 0.4939 GB, free: 5.293 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.1571, allocations: 4 kB / 0.4939 GB, free: 5.289 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.129e-05/0.1572, allocations: 23.98 kB / 0.4939 GB, free: 5.266 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004353/0.1576, allocations: 27.86 kB / 0.4939 GB, free: 5.238 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001821/0.1594, allocations: 1.522 MB / 0.4954 GB, free: 3.633 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002899/0.1598, allocations: 0.7002 MB / 0.4961 GB, free: 2.906 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.58e-05/0.1598, allocations: 8 kB / 0.4961 GB, free: 2.898 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.728e-05/0.1599, allocations: 27.42 kB / 0.4961 GB, free: 2.871 MB / 382.1 MB Notification: Performance of SimCode: time 6.22e-07/0.1599, allocations: 0 / 0.4961 GB, free: 2.871 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02342/0.1833, allocations: 2.681 MB / 0.4988 GB, free: 184 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.611/7.794, allocations: 15.81 kB / 0.4988 GB, free: 168 kB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test3_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test3.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches