Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.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.CombiTable2Dv.Test18_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab",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.001501/0.0015, allocations: 107.6 kB / 17.21 MB, free: 6.289 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.001628/0.001629, allocations: 194 kB / 18.12 MB, free: 5.383 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.347/1.347, allocations: 222.9 MB / 241.8 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2582/0.2582, allocations: 44.18 MB / 336.1 MB, free: 2.992 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00215/0.00215, allocations: 72.14 kB / 407.8 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.1267, allocations: 60.8 MB / 468.6 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.002948/0.1297, allocations: 1.731 MB / 470.3 MB, free: 13.01 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008275/0.1306, allocations: 475.1 kB / 470.8 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.607e-05/0.1306, allocations: 0 / 470.8 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001917/0.1308, allocations: 23.86 kB / 470.8 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001439/0.131, allocations: 35.84 kB / 470.9 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004317/0.1314, allocations: 162.5 kB / 471 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001369/0.1316, allocations: 75.77 kB / 471.1 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001/0.1317, allocations: 36.14 kB / 471.1 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.832e-05/0.1318, allocations: 27.86 kB / 471.2 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.804e-05/0.1318, allocations: 35.84 kB / 471.2 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.1319, allocations: 4 kB / 471.2 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001082/0.132, allocations: 51.95 kB / 471.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.47e-05/0.132, allocations: 19.92 kB / 471.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.684e-05/0.1321, allocations: 39.78 kB / 471.3 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002016/0.1323, allocations: 119.9 kB / 471.4 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.1323, allocations: 0 / 471.4 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.92e-07/0.1323, allocations: 0 / 471.4 MB, free: 11.92 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.069e-06/0.1323, allocations: 0 / 471.4 MB, free: 11.92 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000602/0.1329, allocations: 427 kB / 471.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.133, allocations: 8.031 kB / 471.9 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.527e-05/0.133, allocations: 34.75 kB / 471.9 MB, free: 11.4 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.746e-05/0.1331, allocations: 12.84 kB / 471.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001985/0.1333, allocations: 200.7 kB / 472.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.464e-06/0.1333, allocations: 4.125 kB / 472.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.3e-05/0.1333, allocations: 4 kB / 472.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002746/0.1336, allocations: 95.3 kB / 472.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.1336, allocations: 0 / 472.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.1336, allocations: 0 / 472.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.1336, allocations: 4 kB / 472.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002898/0.1339, allocations: 75.91 kB / 472.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005823/0.1345, allocations: 352.6 kB / 472.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002445/0.1348, allocations: 74.47 kB / 472.7 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001643/0.135, allocations: 52.94 kB / 472.7 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.468e-05/0.135, allocations: 0 / 472.7 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.894e-05/0.135, allocations: 38.56 kB / 472.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.135, allocations: 0 / 472.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.001658/0.1367, allocations: 400.9 kB / 473.2 MB, free: 9.988 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.444e-05/0.1368, allocations: 81.05 kB / 473.3 MB, free: 9.891 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000154/0.1369, allocations: 164.3 kB / 473.4 MB, free: 9.719 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.26e-05/0.137, allocations: 29.7 kB / 473.4 MB, free: 9.684 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.423e-05/0.137, allocations: 96.12 kB / 473.5 MB, free: 9.586 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.669e-05/0.1371, allocations: 31.55 kB / 473.6 MB, free: 9.555 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.954e-05/0.1372, allocations: 25.72 kB / 473.6 MB, free: 9.523 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001249/0.1373, allocations: 322.8 kB / 473.9 MB, free: 9.199 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003111/0.1376, allocations: 79.92 kB / 474 MB, free: 9.121 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002957/0.1379, allocations: 89.62 kB / 474.1 MB, free: 9.027 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005611/0.1385, allocations: 176.7 kB / 474.2 MB, free: 8.852 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.1385, allocations: 0 / 474.2 MB, free: 8.852 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006364/0.1391, allocations: 205.4 kB / 474.4 MB, free: 8.645 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.1392, allocations: 7.938 kB / 474.5 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.1392, allocations: 0 / 474.5 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.1392, allocations: 3.938 kB / 474.5 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002197/0.1394, allocations: 43.89 kB / 474.5 MB, free: 8.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.1394, allocations: 384 / 474.5 MB, free: 8.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001564/0.1396, allocations: 31.97 kB / 474.5 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.23e-05/0.1396, allocations: 3.984 kB / 474.5 MB, free: 8.555 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 (10): * Single equations (assignments): 10 * 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.0001068/0.1397, allocations: 129.8 kB / 474.7 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.205e-05/0.1398, allocations: 15.78 kB / 474.7 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006902/0.1405, allocations: 222.2 kB / 474.9 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.1405, allocations: 4 kB / 474.9 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.1405, allocations: 0 / 474.9 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.1405, allocations: 0 / 474.9 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009965/0.1415, allocations: 0.5178 MB / 475.4 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.1415, allocations: 4 kB / 475.4 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000189/0.1417, allocations: 35.91 kB / 475.5 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.1417, allocations: 4 kB / 475.5 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.1418, allocations: 0 / 475.5 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1418, allocations: 0 / 475.5 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.1418, allocations: 3.984 kB / 475.5 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006815/0.1425, allocations: 311.2 kB / 475.8 MB, free: 7.234 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.935e-05/0.1425, allocations: 85.39 kB / 475.9 MB, free: 7.133 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.609e-05/0.1425, allocations: 0 / 475.9 MB, free: 7.133 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001926/0.1427, allocations: 31.95 kB / 475.9 MB, free: 7.102 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.239e-05/0.1428, allocations: 7.984 kB / 475.9 MB, free: 7.094 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.064e-05/0.1428, allocations: 4 kB / 475.9 MB, free: 7.09 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001007/0.143, allocations: 122.6 kB / 476 MB, free: 6.973 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.143, allocations: 0 / 476 MB, free: 6.973 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003122/0.1433, allocations: 35.94 kB / 476.1 MB, free: 6.938 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 (9): * Single equations (assignments): 9 * 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.001897/0.1452, allocations: 1.186 MB / 477.2 MB, free: 5.91 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006385/0.1458, allocations: 171.8 kB / 477.4 MB, free: 5.742 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1458, allocations: 0 / 477.4 MB, free: 5.742 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003129/0.1462, allocations: 99.84 kB / 477.5 MB, free: 5.645 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003721/0.1465, allocations: 15.98 kB / 477.5 MB, free: 5.629 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002951/0.1495, allocations: 1.917 MB / 479.4 MB, free: 3.629 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000292/0.1498, allocations: 0.7083 MB / 480.1 MB, free: 2.895 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001162/0.1499, allocations: 24.53 kB / 480.2 MB, free: 2.871 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.39e-05/0.15, allocations: 31.42 kB / 480.2 MB, free: 2.84 MB / 350.1 MB Notification: Performance of SimCode: time 6.01e-07/0.15, allocations: 0 / 480.2 MB, free: 2.84 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.232/0.382, allocations: 3.53 MB / 483.7 MB, free: 15.42 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002052/0.3823, allocations: 258.8 kB / 484 MB, free: 15.15 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.068/2.45, allocations: 4 kB / 484 MB, free: 15.15 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches