Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.CombiTable1Dv.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test21",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.0007751/0.0007751, allocations: 91.06 kB / 17.35 MB, free: 6 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.0008583/0.0008582, allocations: 177.9 kB / 18.26 MB, free: 5.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.324/1.324, allocations: 223.3 MB / 242.3 MB, free: 196 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2017/0.2017, allocations: 44.25 MB / 337.7 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004652/0.0004653, allocations: 8 kB / 410.4 MB, free: 27.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.1293, allocations: 61.93 MB / 472.4 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test21): time 0.002004/0.1314, allocations: 1.282 MB / 473.6 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001528/0.1329, allocations: 0.9844 MB / 474.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.951e-05/0.133, allocations: 4 kB / 474.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002236/0.1332, allocations: 23.91 kB / 474.7 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001845/0.1334, allocations: 39.84 kB / 474.7 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003305/0.1338, allocations: 87.83 kB / 474.8 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001356/0.1339, allocations: 55.84 kB / 474.8 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.711e-05/0.134, allocations: 15.98 kB / 474.9 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.801e-05/0.1341, allocations: 19.86 kB / 474.9 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000149/0.1342, allocations: 23.86 kB / 474.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.726e-05/0.1343, allocations: 4 kB / 474.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001252/0.1344, allocations: 47.95 kB / 474.9 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.532e-05/0.1344, allocations: 7.938 kB / 475 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.799e-05/0.1345, allocations: 41.58 kB / 475 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001895/0.1347, allocations: 99.97 kB / 475.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1347, allocations: 0 / 475.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1347, allocations: 0 / 475.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.888e-06/0.1347, allocations: 0 / 475.1 MB, free: 10.5 MB / 350.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.0004692/0.1352, allocations: 377.5 kB / 475.5 MB, free: 10.08 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.1353, allocations: 12.03 kB / 475.5 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.861e-05/0.1353, allocations: 30.75 kB / 475.5 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.549e-05/0.1353, allocations: 4.938 kB / 475.5 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001866/0.1355, allocations: 184.2 kB / 475.7 MB, free: 9.809 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.1356, allocations: 12.36 kB / 475.7 MB, free: 9.797 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.669e-05/0.1356, allocations: 384 / 475.7 MB, free: 9.797 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001602/0.1357, allocations: 67.34 kB / 475.8 MB, free: 9.719 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.1358, allocations: 3.906 kB / 475.8 MB, free: 9.715 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.1358, allocations: 0 / 475.8 MB, free: 9.715 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.1358, allocations: 7.875 kB / 475.8 MB, free: 9.707 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.971e-05/0.1359, allocations: 35.97 kB / 475.8 MB, free: 9.672 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000376/0.1363, allocations: 276.9 kB / 476.1 MB, free: 9.352 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000191/0.1365, allocations: 46.56 kB / 476.1 MB, free: 9.297 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.446e-05/0.1366, allocations: 24.88 kB / 476.2 MB, free: 9.27 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.859e-05/0.1366, allocations: 0 / 476.2 MB, free: 9.27 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.283e-05/0.1366, allocations: 34.56 kB / 476.2 MB, free: 9.227 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.01e-07/0.1366, allocations: 0 / 476.2 MB, free: 9.227 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005657/0.1372, allocations: 165.3 kB / 476.3 MB, free: 9.059 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.938e-05/0.1372, allocations: 77.11 kB / 476.4 MB, free: 8.965 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001226/0.1374, allocations: 140.2 kB / 476.6 MB, free: 8.82 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.593e-05/0.1374, allocations: 25.7 kB / 476.6 MB, free: 8.789 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.077e-05/0.1375, allocations: 99.98 kB / 476.7 MB, free: 8.688 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.038e-05/0.1375, allocations: 15.8 kB / 476.7 MB, free: 8.672 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.587e-05/0.1375, allocations: 17.72 kB / 476.7 MB, free: 8.648 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001101/0.1376, allocations: 318.8 kB / 477 MB, free: 8.328 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.517e-05/0.1377, allocations: 23.98 kB / 477 MB, free: 8.305 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.191e-05/0.1378, allocations: 45.69 kB / 477.1 MB, free: 8.254 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001396/0.1379, allocations: 56.83 kB / 477.1 MB, free: 8.195 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.138, allocations: 0 / 477.1 MB, free: 8.195 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002007/0.1382, allocations: 101.5 kB / 477.2 MB, free: 8.09 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.1382, allocations: 8 kB / 477.3 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.1382, allocations: 0 / 477.3 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.1382, allocations: 288 / 477.3 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.2e-05/0.1383, allocations: 12 kB / 477.3 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.1383, allocations: 0 / 477.3 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.477e-05/0.1383, allocations: 7.984 kB / 477.3 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-06/0.1384, allocations: 7.938 kB / 477.3 MB, free: 8.055 MB / 350.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 7.867e-05/0.1385, allocations: 121.8 kB / 477.4 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.907e-05/0.1385, allocations: 3.984 kB / 477.4 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002453/0.1387, allocations: 109.8 kB / 477.5 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.776e-06/0.1387, allocations: 64 / 477.5 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.1388, allocations: 4 kB / 477.5 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.1388, allocations: 4 kB / 477.5 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004339/0.1392, allocations: 362.4 kB / 477.9 MB, free: 7.391 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-06/0.1392, allocations: 3.938 kB / 477.9 MB, free: 7.387 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.848e-05/0.1393, allocations: 19.92 kB / 477.9 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.1393, allocations: 4 kB / 477.9 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-06/0.1393, allocations: 0 / 477.9 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.1393, allocations: 3.938 kB / 477.9 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1393, allocations: 0 / 477.9 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002556/0.1396, allocations: 191.5 kB / 478.1 MB, free: 7.156 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.414e-05/0.1396, allocations: 81.02 kB / 478.2 MB, free: 7.059 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.747e-05/0.1397, allocations: 4 kB / 478.2 MB, free: 7.055 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.197e-05/0.1397, allocations: 11.92 kB / 478.2 MB, free: 7.043 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.624e-05/0.1398, allocations: 4 kB / 478.2 MB, free: 7.039 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.546e-06/0.1398, allocations: 4 kB / 478.2 MB, free: 7.035 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.984e-05/0.1399, allocations: 107.2 kB / 478.3 MB, free: 6.93 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1399, allocations: 0 / 478.3 MB, free: 6.93 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002604/0.1401, allocations: 16 kB / 478.3 MB, free: 6.914 MB / 350.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.001422/0.1416, allocations: 1.067 MB / 479.4 MB, free: 5.996 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002188/0.1418, allocations: 63.95 kB / 479.4 MB, free: 5.934 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.1418, allocations: 4 kB / 479.4 MB, free: 5.93 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.382e-05/0.1419, allocations: 31.92 kB / 479.5 MB, free: 5.898 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003368/0.1423, allocations: 23.91 kB / 479.5 MB, free: 5.875 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001567/0.1438, allocations: 1.434 MB / 480.9 MB, free: 4.363 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002296/0.1441, allocations: 0.6887 MB / 481.6 MB, free: 3.648 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.451e-05/0.1442, allocations: 19.98 kB / 481.6 MB, free: 3.629 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.949e-05/0.1442, allocations: 23.42 kB / 481.7 MB, free: 3.605 MB / 350.1 MB Notification: Performance of SimCode: time 2.314e-06/0.1443, allocations: 0 / 481.7 MB, free: 3.605 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01366/0.1579, allocations: 2.341 MB / 484 MB, free: 1.387 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000191/0.1581, allocations: 236.9 kB / 484.2 MB, free: 1.129 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.764/1.922, allocations: 0 / 484.2 MB, free: 1.129 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test21_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test21.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches