Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.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.CombiTable1D.Test3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_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.00145/0.00145, allocations: 101.8 kB / 15.98 MB, free: 6.348 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.001536/0.001536, allocations: 193.3 kB / 16.91 MB, free: 6.191 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.267/1.267, allocations: 205.1 MB / 222.8 MB, free: 4.691 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.3545/0.3545, allocations: 43.5 MB / 313.6 MB, free: 8.191 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.001497/0.001497, allocations: 71.91 kB / 382.3 MB, free: 8.297 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1227, allocations: 57.79 MB / 440.1 MB, free: 14.41 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test3): time 0.003827/0.1266, allocations: 1.602 MB / 441.7 MB, free: 12.79 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006473/0.1273, allocations: 327.5 kB / 442 MB, free: 12.46 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.271e-05/0.1274, allocations: 0 / 442 MB, free: 12.46 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003316/0.1277, allocations: 75.83 kB / 442.1 MB, free: 12.39 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002467/0.128, allocations: 43.88 kB / 442.1 MB, free: 12.35 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003437/0.1283, allocations: 95.83 kB / 442.2 MB, free: 12.25 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001929/0.1286, allocations: 63.89 kB / 442.3 MB, free: 12.19 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.1287, allocations: 16.25 kB / 442.3 MB, free: 12.18 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.939e-05/0.1287, allocations: 43.77 kB / 442.4 MB, free: 12.13 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001049/0.1289, allocations: 39.91 kB / 442.4 MB, free: 12.09 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.801e-05/0.1289, allocations: 0 / 442.4 MB, free: 12.09 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.577e-05/0.129, allocations: 31.98 kB / 442.4 MB, free: 12.06 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.612e-05/0.129, allocations: 19.92 kB / 442.5 MB, free: 12.04 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.178e-05/0.1291, allocations: 27.81 kB / 442.5 MB, free: 12.02 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001778/0.1293, allocations: 83.66 kB / 442.6 MB, free: 11.93 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1293, allocations: 0 / 442.6 MB, free: 11.93 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1293, allocations: 0 / 442.6 MB, free: 11.93 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.753e-06/0.1293, allocations: 4 kB / 442.6 MB, free: 11.93 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.0004895/0.1298, allocations: 399 kB / 443 MB, free: 11.49 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.1299, allocations: 15.83 kB / 443 MB, free: 11.48 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.406e-05/0.1299, allocations: 30.75 kB / 443 MB, free: 11.44 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.554e-05/0.13, allocations: 8.844 kB / 443 MB, free: 11.43 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001864/0.1301, allocations: 204 kB / 443.2 MB, free: 11.19 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/0.1302, allocations: 384 / 443.2 MB, free: 11.19 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.017e-05/0.1302, allocations: 384 / 443.2 MB, free: 11.19 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001324/0.1303, allocations: 57.62 kB / 443.3 MB, free: 11.13 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.1303, allocations: 0 / 443.3 MB, free: 11.13 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.264e-06/0.1304, allocations: 0 / 443.3 MB, free: 11.13 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.286e-06/0.1304, allocations: 4 kB / 443.3 MB, free: 11.12 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.313e-05/0.1305, allocations: 27.91 kB / 443.3 MB, free: 11.1 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003867/0.1309, allocations: 284.8 kB / 443.6 MB, free: 10.77 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002048/0.1311, allocations: 50.55 kB / 443.6 MB, free: 10.71 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.899e-05/0.1311, allocations: 12.86 kB / 443.6 MB, free: 10.7 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.069e-05/0.1312, allocations: 96 / 443.6 MB, free: 10.7 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.234e-05/0.1312, allocations: 38.48 kB / 443.7 MB, free: 10.65 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.1312, allocations: 4 kB / 443.7 MB, free: 10.64 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005574/0.1318, allocations: 145.3 kB / 443.8 MB, free: 10.5 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.382e-05/0.1318, allocations: 55.34 kB / 443.9 MB, free: 10.43 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001916/0.132, allocations: 194.2 kB / 444.1 MB, free: 10.23 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.727e-05/0.132, allocations: 25.7 kB / 444.1 MB, free: 10.2 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.868e-05/0.1321, allocations: 104 kB / 444.2 MB, free: 10.09 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.572e-05/0.1321, allocations: 19.8 kB / 444.2 MB, free: 10.07 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.766e-05/0.1322, allocations: 13.72 kB / 444.2 MB, free: 10.05 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.1323, allocations: 330.7 kB / 444.5 MB, free: 9.723 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.522e-05/0.1324, allocations: 19.98 kB / 444.6 MB, free: 9.703 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.048e-05/0.1325, allocations: 23.97 kB / 444.6 MB, free: 9.68 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001343/0.1326, allocations: 52.83 kB / 444.6 MB, free: 9.625 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1327, allocations: 4 kB / 444.6 MB, free: 9.621 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001861/0.1328, allocations: 85.52 kB / 444.7 MB, free: 9.531 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.1329, allocations: 8 kB / 444.7 MB, free: 9.523 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.1329, allocations: 0 / 444.7 MB, free: 9.523 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.1329, allocations: 0 / 444.7 MB, free: 9.523 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.233e-05/0.133, allocations: 11.98 kB / 444.7 MB, free: 9.512 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.133, allocations: 3.938 kB / 444.8 MB, free: 9.508 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.834e-05/0.133, allocations: 7.984 kB / 444.8 MB, free: 9.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/0.133, allocations: 11.94 kB / 444.8 MB, free: 9.488 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 9.097e-05/0.1331, allocations: 121.8 kB / 444.9 MB, free: 9.359 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.241e-05/0.1332, allocations: 7.906 kB / 444.9 MB, free: 9.352 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002353/0.1334, allocations: 110.1 kB / 445 MB, free: 9.238 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.1334, allocations: 0 / 445 MB, free: 9.238 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.258e-05/0.1334, allocations: 0 / 445 MB, free: 9.238 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.1335, allocations: 0 / 445 MB, free: 9.238 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003993/0.1339, allocations: 358.5 kB / 445.4 MB, free: 8.832 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.1339, allocations: 0 / 445.4 MB, free: 8.832 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.404e-05/0.1339, allocations: 15.98 kB / 445.4 MB, free: 8.816 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.1339, allocations: 0 / 445.4 MB, free: 8.816 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.034e-06/0.134, allocations: 0 / 445.4 MB, free: 8.816 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.134, allocations: 3.938 kB / 445.4 MB, free: 8.812 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.134, allocations: 0 / 445.4 MB, free: 8.812 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002187/0.1342, allocations: 195.5 kB / 445.6 MB, free: 8.605 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.154e-05/0.1342, allocations: 85.02 kB / 445.6 MB, free: 8.504 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.827e-05/0.1343, allocations: 3.984 kB / 445.7 MB, free: 8.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.937e-05/0.1343, allocations: 11.92 kB / 445.7 MB, free: 8.488 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.588e-05/0.1344, allocations: 4 kB / 445.7 MB, free: 8.484 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.62e-06/0.1344, allocations: 4 kB / 445.7 MB, free: 8.48 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001006/0.1345, allocations: 144 kB / 445.8 MB, free: 8.34 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1345, allocations: 4 kB / 445.8 MB, free: 8.336 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000244/0.1348, allocations: 16 kB / 445.8 MB, free: 8.32 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.00131/0.1361, allocations: 1.02 MB / 446.9 MB, free: 7.316 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001956/0.1363, allocations: 59.97 kB / 446.9 MB, free: 7.258 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1363, allocations: 0 / 446.9 MB, free: 7.258 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.711e-05/0.1364, allocations: 31.91 kB / 446.9 MB, free: 7.227 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003391/0.1367, allocations: 20.48 kB / 447 MB, free: 7.207 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001546/0.1383, allocations: 1.557 MB / 448.5 MB, free: 5.57 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002332/0.1385, allocations: 0.6963 MB / 449.2 MB, free: 4.848 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.513e-05/0.1386, allocations: 16.23 kB / 449.2 MB, free: 4.832 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.996e-05/0.1387, allocations: 27.44 kB / 449.3 MB, free: 4.805 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1387, allocations: 0 / 449.3 MB, free: 4.805 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1203/0.2589, allocations: 2.526 MB / 451.8 MB, free: 2.262 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003089/0.2593, allocations: 234.8 kB / 452 MB, free: 2.004 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.108/2.368, allocations: 0 / 452 MB, free: 2.004 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test3_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test3.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test3/Test3.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches