Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.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.CombiTable2Ds.Test10,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test10,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test10",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.0007348/0.0007346, allocations: 95.47 kB / 17.35 MB, free: 6.367 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.0007392/0.0007392, allocations: 180.4 kB / 18.26 MB, free: 5.523 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.252/1.252, allocations: 223.3 MB / 242.3 MB, free: 224 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.1824/0.1824, allocations: 44.25 MB / 337.7 MB, free: 2.738 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003175/0.0003175, allocations: 8.531 kB / 410.4 MB, free: 27.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1211, allocations: 61.91 MB / 472.4 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test10): time 0.002438/0.1236, allocations: 1.333 MB / 473.7 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001642/0.1253, allocations: 1.008 MB / 474.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.635e-05/0.1253, allocations: 0 / 474.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002101/0.1256, allocations: 19.92 kB / 474.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002081/0.1258, allocations: 31.86 kB / 474.7 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000381/0.1262, allocations: 130.6 kB / 474.9 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001408/0.1263, allocations: 55.84 kB / 474.9 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.1264, allocations: 12.17 kB / 474.9 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.487e-05/0.1265, allocations: 19.86 kB / 475 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001716/0.1267, allocations: 35.84 kB / 475 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.405e-05/0.1267, allocations: 0 / 475 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001377/0.1268, allocations: 51.97 kB / 475 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.727e-05/0.1269, allocations: 11.92 kB / 475.1 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.204e-05/0.127, allocations: 45.58 kB / 475.1 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000208/0.1272, allocations: 99.95 kB / 475.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.1272, allocations: 3.938 kB / 475.2 MB, free: 10.37 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1272, allocations: 3.938 kB / 475.2 MB, free: 10.37 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.1272, allocations: 0 / 475.2 MB, free: 10.37 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.0005504/0.1278, allocations: 391.3 kB / 475.6 MB, free: 9.938 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.1278, allocations: 8.031 kB / 475.6 MB, free: 9.93 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.333e-05/0.1279, allocations: 38.73 kB / 475.6 MB, free: 9.883 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.865e-05/0.1279, allocations: 8.844 kB / 475.6 MB, free: 9.875 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002198/0.1282, allocations: 196.2 kB / 475.8 MB, free: 9.645 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.226e-06/0.1282, allocations: 384 / 475.8 MB, free: 9.645 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.861e-05/0.1282, allocations: 8.125 kB / 475.8 MB, free: 9.637 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001835/0.1284, allocations: 75.39 kB / 475.9 MB, free: 9.551 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.1284, allocations: 0 / 475.9 MB, free: 9.551 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.1284, allocations: 3.938 kB / 475.9 MB, free: 9.547 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.1284, allocations: 0 / 475.9 MB, free: 9.547 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001406/0.1286, allocations: 43.97 kB / 476 MB, free: 9.504 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004035/0.129, allocations: 292.7 kB / 476.3 MB, free: 9.168 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001263/0.1291, allocations: 42.56 kB / 476.3 MB, free: 9.117 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.578e-05/0.1292, allocations: 36.88 kB / 476.3 MB, free: 9.078 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.177e-05/0.1292, allocations: 0 / 476.3 MB, free: 9.078 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.817e-05/0.1293, allocations: 38.56 kB / 476.4 MB, free: 9.031 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.11e-07/0.1293, allocations: 0 / 476.4 MB, free: 9.031 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007831/0.1301, allocations: 245.4 kB / 476.6 MB, free: 8.785 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.475e-05/0.1301, allocations: 77.11 kB / 476.7 MB, free: 8.691 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001383/0.1303, allocations: 144.9 kB / 476.8 MB, free: 8.543 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.839e-05/0.1303, allocations: 33.7 kB / 476.9 MB, free: 8.504 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.972e-05/0.1304, allocations: 88.12 kB / 476.9 MB, free: 8.414 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.88e-05/0.1304, allocations: 27.64 kB / 477 MB, free: 8.387 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.968e-05/0.1304, allocations: 17.72 kB / 477 MB, free: 8.363 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.1306, allocations: 318.8 kB / 477.3 MB, free: 8.043 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001248/0.1307, allocations: 39.97 kB / 477.3 MB, free: 8.004 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00012/0.1308, allocations: 57.69 kB / 477.4 MB, free: 7.941 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002171/0.1311, allocations: 89.06 kB / 477.5 MB, free: 7.852 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-06/0.1311, allocations: 0 / 477.5 MB, free: 7.852 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002889/0.1314, allocations: 133.5 kB / 477.6 MB, free: 7.715 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.1314, allocations: 8 kB / 477.6 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.1314, allocations: 0 / 477.6 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.1314, allocations: 4 kB / 477.6 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/0.1315, allocations: 19.98 kB / 477.6 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.1316, allocations: 3.938 kB / 477.6 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.377e-05/0.1316, allocations: 19.92 kB / 477.7 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.723e-06/0.1317, allocations: 4 kB / 477.7 MB, free: 7.656 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 (7): * Single equations (assignments): 7 * 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 9.222e-05/0.1317, allocations: 117.8 kB / 477.8 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.218e-05/0.1318, allocations: 7.906 kB / 477.8 MB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003286/0.1321, allocations: 146.2 kB / 477.9 MB, free: 7.375 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.1321, allocations: 4 kB / 477.9 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.1321, allocations: 3.938 kB / 477.9 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.1322, allocations: 0 / 477.9 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000546/0.1327, allocations: 410.4 kB / 478.3 MB, free: 6.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-06/0.1327, allocations: 0 / 478.3 MB, free: 6.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.268e-05/0.1328, allocations: 19.98 kB / 478.4 MB, free: 6.891 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.62e-06/0.1328, allocations: 7.938 kB / 478.4 MB, free: 6.883 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.776e-06/0.1328, allocations: 8 kB / 478.4 MB, free: 6.875 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.1328, allocations: 0 / 478.4 MB, free: 6.875 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.1328, allocations: 4 kB / 478.4 MB, free: 6.871 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003163/0.1332, allocations: 219.4 kB / 478.6 MB, free: 6.641 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.312e-05/0.1332, allocations: 89 kB / 478.7 MB, free: 6.535 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.012e-05/0.1333, allocations: 7.938 kB / 478.7 MB, free: 6.527 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.266e-05/0.1333, allocations: 15.98 kB / 478.7 MB, free: 6.512 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.054e-05/0.1334, allocations: 7.922 kB / 478.7 MB, free: 6.504 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.1334, allocations: 8 kB / 478.7 MB, free: 6.496 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.476e-05/0.1335, allocations: 103.3 kB / 478.8 MB, free: 6.395 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.1335, allocations: 3.938 kB / 478.8 MB, free: 6.391 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002523/0.1338, allocations: 31.98 kB / 478.9 MB, free: 6.359 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 (7): * Single equations (assignments): 7 * 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.001468/0.1352, allocations: 1.094 MB / 480 MB, free: 5.422 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002891/0.1355, allocations: 103.9 kB / 480.1 MB, free: 5.32 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.1355, allocations: 0 / 480.1 MB, free: 5.32 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001228/0.1357, allocations: 47.97 kB / 480.1 MB, free: 5.273 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003097/0.136, allocations: 15.98 kB / 480.1 MB, free: 5.258 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001905/0.1379, allocations: 1.592 MB / 481.7 MB, free: 3.586 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002706/0.1382, allocations: 0.6965 MB / 482.4 MB, free: 2.863 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.351e-05/0.1383, allocations: 17.11 kB / 482.4 MB, free: 2.844 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.364e-05/0.1383, allocations: 27.42 kB / 482.4 MB, free: 2.82 MB / 350.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1384, allocations: 4 kB / 482.5 MB, free: 2.816 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01362/0.152, allocations: 2.559 MB / 485 MB, free: 376 kB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001864/0.1522, allocations: 246.8 kB / 485.3 MB, free: 112 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.837/1.99, allocations: 0 / 485.3 MB, free: 112 kB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test10_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test10.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test10/Test10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches