Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.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 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.CombiTable2Dv.Test21,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test21,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_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.006008/0.006008, allocations: 100.2 kB / 15.87 MB, free: 6.316 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.001183/0.001183, allocations: 195.8 kB / 16.79 MB, free: 6.242 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.586/1.586, allocations: 205.1 MB / 222.6 MB, free: 4.73 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3632/0.3632, allocations: 43.5 MB / 313.5 MB, free: 8.312 MB / 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.001341/0.001341, allocations: 64.42 kB / 382.1 MB, free: 8.395 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1278, allocations: 57.79 MB / 439.9 MB, free: 14.5 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test21): time 0.003039/0.1309, allocations: 2.014 MB / 441.9 MB, free: 12.47 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001186/0.1321, allocations: 0.7564 MB / 442.7 MB, free: 11.71 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.819e-05/0.1322, allocations: 3.938 kB / 442.7 MB, free: 11.71 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003442/0.1325, allocations: 247.4 kB / 442.9 MB, free: 11.46 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002386/0.1328, allocations: 179.5 kB / 443.1 MB, free: 11.29 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00101/0.1338, allocations: 0.5732 MB / 443.7 MB, free: 10.71 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002633/0.1341, allocations: 283.3 kB / 444 MB, free: 10.44 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001263/0.1342, allocations: 72.7 kB / 444 MB, free: 10.37 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001077/0.1343, allocations: 127.4 kB / 444.2 MB, free: 10.24 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001838/0.1345, allocations: 199.3 kB / 444.3 MB, free: 10.05 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.614e-05/0.1345, allocations: 8 kB / 444.4 MB, free: 10.04 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001099/0.1347, allocations: 71.91 kB / 444.4 MB, free: 9.969 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001087/0.1348, allocations: 91.66 kB / 444.5 MB, free: 9.879 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.357e-05/0.1349, allocations: 111 kB / 444.6 MB, free: 9.77 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002759/0.1352, allocations: 314.8 kB / 444.9 MB, free: 9.461 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.1352, allocations: 4 kB / 444.9 MB, free: 9.457 MB / 382.1 MB Notification: Performance of FrontEnd: time 8.31e-07/0.1352, allocations: 0 / 444.9 MB, free: 9.457 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.043e-06/0.1352, allocations: 0 / 444.9 MB, free: 9.457 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0006391/0.1358, allocations: 0.6651 MB / 445.6 MB, free: 8.742 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.953e-05/0.1359, allocations: 12.03 kB / 445.6 MB, free: 8.73 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.092e-05/0.1359, allocations: 34.75 kB / 445.6 MB, free: 8.688 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.601e-05/0.136, allocations: 40.47 kB / 445.7 MB, free: 8.648 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003014/0.1363, allocations: 330.1 kB / 446 MB, free: 8.285 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.014e-05/0.1363, allocations: 8.375 kB / 446 MB, free: 8.277 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.231e-05/0.1363, allocations: 12.31 kB / 446 MB, free: 8.266 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002046/0.1365, allocations: 133.5 kB / 446.2 MB, free: 8.129 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.1365, allocations: 0 / 446.2 MB, free: 8.129 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.318e-06/0.1366, allocations: 8 kB / 446.2 MB, free: 8.121 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.1366, allocations: 4 kB / 446.2 MB, free: 8.117 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001742/0.1367, allocations: 87.94 kB / 446.3 MB, free: 8.031 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005505/0.1373, allocations: 0.508 MB / 446.8 MB, free: 7.473 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001679/0.1375, allocations: 114.5 kB / 446.9 MB, free: 7.352 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.078e-05/0.1376, allocations: 44.78 kB / 446.9 MB, free: 7.305 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.75e-05/0.1376, allocations: 3.984 kB / 446.9 MB, free: 7.301 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.989e-05/0.1376, allocations: 38.5 kB / 447 MB, free: 7.254 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 9.92e-07/0.1376, allocations: 224 / 447 MB, free: 7.254 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.0008138/0.1384, allocations: 439.7 kB / 447.4 MB, free: 6.816 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.354e-05/0.1385, allocations: 51.41 kB / 447.4 MB, free: 6.754 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005147/0.139, allocations: 0.5487 MB / 448 MB, free: 6.191 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.158e-05/0.139, allocations: 29.7 kB / 448 MB, free: 6.156 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001275/0.1392, allocations: 208.3 kB / 448.2 MB, free: 5.949 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.277e-05/0.1392, allocations: 51.2 kB / 448.3 MB, free: 5.898 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.268e-05/0.1393, allocations: 37.7 kB / 448.3 MB, free: 5.855 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.1394, allocations: 358.7 kB / 448.7 MB, free: 5.496 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001316/0.1395, allocations: 67.86 kB / 448.7 MB, free: 5.43 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001086/0.1397, allocations: 67.55 kB / 448.8 MB, free: 5.367 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002565/0.1399, allocations: 156.7 kB / 448.9 MB, free: 5.211 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1399, allocations: 0 / 448.9 MB, free: 5.211 MB / 382.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003445/0.1403, allocations: 233 kB / 449.2 MB, free: 4.977 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.01e-05/0.1403, allocations: 8 kB / 449.2 MB, free: 4.969 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.526e-06/0.1403, allocations: 4 kB / 449.2 MB, free: 4.965 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.302e-06/0.1403, allocations: 0 / 449.2 MB, free: 4.965 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001178/0.1404, allocations: 39.91 kB / 449.2 MB, free: 4.926 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.747e-06/0.1405, allocations: 0 / 449.2 MB, free: 4.926 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.696e-05/0.1405, allocations: 12 kB / 449.2 MB, free: 4.914 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.818e-06/0.1405, allocations: 4 kB / 449.2 MB, free: 4.91 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 (17): * Single equations (assignments): 17 * 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.0001466/0.1407, allocations: 181.7 kB / 449.4 MB, free: 4.723 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.183e-05/0.1408, allocations: 39.53 kB / 449.5 MB, free: 4.684 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004419/0.1412, allocations: 284.4 kB / 449.7 MB, free: 4.406 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.1412, allocations: 4 kB / 449.7 MB, free: 4.402 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.1412, allocations: 0 / 449.7 MB, free: 4.402 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.1412, allocations: 0 / 449.7 MB, free: 4.402 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007613/0.142, allocations: 0.6778 MB / 450.4 MB, free: 3.668 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.142, allocations: 0 / 450.4 MB, free: 3.668 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.99e-05/0.1421, allocations: 31.98 kB / 450.4 MB, free: 3.637 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.1421, allocations: 0 / 450.4 MB, free: 3.637 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.746e-06/0.1422, allocations: 3.938 kB / 450.4 MB, free: 3.633 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.1422, allocations: 7.938 kB / 450.5 MB, free: 3.625 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1422, allocations: 0 / 450.5 MB, free: 3.625 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003766/0.1425, allocations: 330.9 kB / 450.8 MB, free: 3.285 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.323e-05/0.1426, allocations: 116.6 kB / 450.9 MB, free: 3.152 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.19e-05/0.1427, allocations: 8 kB / 450.9 MB, free: 3.145 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.375e-05/0.1428, allocations: 11.92 kB / 450.9 MB, free: 3.133 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.499e-05/0.1428, allocations: 15.98 kB / 450.9 MB, free: 3.117 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.011e-05/0.1428, allocations: 7.938 kB / 450.9 MB, free: 3.109 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003868/0.1432, allocations: 419.1 kB / 451.3 MB, free: 2.699 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1432, allocations: 0 / 451.3 MB, free: 2.699 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000286/0.1435, allocations: 55.91 kB / 451.4 MB, free: 2.645 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 (17): * Single equations (assignments): 17 * 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.002121/0.1457, allocations: 1.469 MB / 452.9 MB, free: 1.188 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003033/0.146, allocations: 171.8 kB / 453 MB, free: 1.02 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.146, allocations: 0 / 453 MB, free: 1.02 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001449/0.1461, allocations: 87.89 kB / 453.1 MB, free: 0.9336 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005744/0.1467, allocations: 73.3 kB / 453.2 MB, free: 0.8633 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.215/0.3617, allocations: 3.311 MB / 456.5 MB, free: 47.59 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002266/0.3619, allocations: 0.8194 MB / 457.3 MB, free: 46.89 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001665/0.3621, allocations: 58.16 kB / 457.4 MB, free: 46.89 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001446/0.3623, allocations: 130.3 kB / 457.5 MB, free: 46.88 MB / 382.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3623, allocations: 0 / 457.5 MB, free: 46.88 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01696/0.3792, allocations: 7.121 MB / 464.6 MB, free: 46.18 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002125/0.3795, allocations: 239.8 kB / 464.9 MB, free: 45.93 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.731/2.111, allocations: 0 / 464.9 MB, free: 45.93 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test21_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test21.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test21/Test21.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches