Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.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.CombiTable2D.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test2",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.007414/0.007414, allocations: 100 kB / 15.87 MB, free: 6.309 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.001416/0.001416, allocations: 196.1 kB / 16.79 MB, free: 6.238 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.383/1.383, allocations: 205.1 MB / 222.6 MB, free: 4.734 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.3182/0.3182, allocations: 43.49 MB / 313.5 MB, free: 8.305 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.001493/0.001493, allocations: 66.56 kB / 382.1 MB, free: 8.402 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1207, allocations: 57.78 MB / 439.9 MB, free: 14.52 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test2): time 0.003566/0.1244, allocations: 1.676 MB / 441.6 MB, free: 12.83 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007226/0.1251, allocations: 319.6 kB / 441.9 MB, free: 12.51 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.328e-05/0.1252, allocations: 0 / 441.9 MB, free: 12.51 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005562/0.1258, allocations: 451.2 kB / 442.3 MB, free: 12.07 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003333/0.1262, allocations: 243.6 kB / 442.6 MB, free: 11.83 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003323/0.1265, allocations: 99.81 kB / 442.7 MB, free: 11.73 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002624/0.1268, allocations: 159.7 kB / 442.8 MB, free: 11.58 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.962e-05/0.1269, allocations: 12.47 kB / 442.8 MB, free: 11.57 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001655/0.1271, allocations: 103.7 kB / 443 MB, free: 11.46 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002553/0.1273, allocations: 199.6 kB / 443.1 MB, free: 11.27 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.135e-05/0.1274, allocations: 0 / 443.1 MB, free: 11.27 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000118/0.1275, allocations: 43.91 kB / 443.2 MB, free: 11.23 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001192/0.1276, allocations: 83.69 kB / 443.3 MB, free: 11.14 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.635e-05/0.1277, allocations: 99 kB / 443.4 MB, free: 11.05 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003072/0.128, allocations: 250.9 kB / 443.6 MB, free: 10.8 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.128, allocations: 0 / 443.6 MB, free: 10.8 MB / 382.1 MB Notification: Performance of FrontEnd: time 8.02e-07/0.128, allocations: 0 / 443.6 MB, free: 10.8 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.544e-06/0.128, allocations: 0 / 443.6 MB, free: 10.8 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007552/0.1288, allocations: 0.6337 MB / 444.2 MB, free: 10.12 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/0.1289, allocations: 12.03 kB / 444.3 MB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.198e-05/0.1289, allocations: 38.69 kB / 444.3 MB, free: 10.06 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.612e-05/0.129, allocations: 44.38 kB / 444.3 MB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002619/0.1292, allocations: 300.1 kB / 444.6 MB, free: 9.684 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.208e-06/0.1293, allocations: 4.312 kB / 444.6 MB, free: 9.68 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.369e-05/0.1293, allocations: 8.125 kB / 444.6 MB, free: 9.672 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001465/0.1294, allocations: 53.67 kB / 444.7 MB, free: 9.613 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.571e-05/0.1295, allocations: 3.984 kB / 444.7 MB, free: 9.609 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.748e-06/0.1295, allocations: 0 / 444.7 MB, free: 9.609 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.219e-06/0.1295, allocations: 0 / 444.7 MB, free: 9.609 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.587e-05/0.1296, allocations: 23.98 kB / 444.7 MB, free: 9.586 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004809/0.1301, allocations: 392.6 kB / 445.1 MB, free: 9.152 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002008/0.1303, allocations: 46.55 kB / 445.2 MB, free: 9.098 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.848e-05/0.1304, allocations: 12.86 kB / 445.2 MB, free: 9.082 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.098e-05/0.1304, allocations: 4 kB / 445.2 MB, free: 9.078 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.251e-05/0.1304, allocations: 38.5 kB / 445.2 MB, free: 9.031 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.263e-06/0.1304, allocations: 0 / 445.2 MB, free: 9.031 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005978/0.131, allocations: 216 kB / 445.4 MB, free: 8.812 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.765e-05/0.1311, allocations: 55.34 kB / 445.5 MB, free: 8.746 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007573/0.1318, allocations: 0.8691 MB / 446.3 MB, free: 7.867 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.285e-05/0.1319, allocations: 25.7 kB / 446.4 MB, free: 7.836 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001497/0.132, allocations: 228.1 kB / 446.6 MB, free: 7.609 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.584e-05/0.132, allocations: 15.75 kB / 446.6 MB, free: 7.594 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.546e-05/0.1321, allocations: 17.72 kB / 446.6 MB, free: 7.57 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001277/0.1322, allocations: 358.8 kB / 447 MB, free: 7.211 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.067e-05/0.1323, allocations: 19.98 kB / 447 MB, free: 7.191 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.727e-05/0.1324, allocations: 19.98 kB / 447 MB, free: 7.172 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001186/0.1325, allocations: 49.02 kB / 447.1 MB, free: 7.121 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.1325, allocations: 4 kB / 447.1 MB, free: 7.117 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001973/0.1327, allocations: 117 kB / 447.2 MB, free: 6.996 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.1327, allocations: 8 kB / 447.2 MB, free: 6.988 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.1327, allocations: 3.938 kB / 447.2 MB, free: 6.984 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.1328, allocations: 0 / 447.2 MB, free: 6.984 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.006e-05/0.1328, allocations: 11.98 kB / 447.2 MB, free: 6.973 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.1328, allocations: 3.938 kB / 447.2 MB, free: 6.969 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.35e-05/0.1329, allocations: 8 kB / 447.2 MB, free: 6.961 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.114e-06/0.1329, allocations: 4 kB / 447.2 MB, free: 6.957 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 0.0001695/0.1331, allocations: 213.8 kB / 447.4 MB, free: 6.738 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.963e-05/0.1331, allocations: 35.53 kB / 447.5 MB, free: 6.703 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002606/0.1334, allocations: 144.8 kB / 447.6 MB, free: 6.555 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.1334, allocations: 0 / 447.6 MB, free: 6.555 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.1334, allocations: 3.938 kB / 447.6 MB, free: 6.551 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.1334, allocations: 4 kB / 447.6 MB, free: 6.547 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004748/0.1339, allocations: 458.5 kB / 448.1 MB, free: 6.043 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.1339, allocations: 0 / 448.1 MB, free: 6.043 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.975e-05/0.134, allocations: 8 kB / 448.1 MB, free: 6.035 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.134, allocations: 7.938 kB / 448.1 MB, free: 6.027 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.237e-06/0.134, allocations: 3.984 kB / 448.1 MB, free: 6.023 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.134, allocations: 0 / 448.1 MB, free: 6.023 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.134, allocations: 7.938 kB / 448.1 MB, free: 6.016 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002339/0.1343, allocations: 207.2 kB / 448.3 MB, free: 5.797 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.09e-05/0.1343, allocations: 116.5 kB / 448.4 MB, free: 5.664 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.643e-05/0.1344, allocations: 7.938 kB / 448.4 MB, free: 5.656 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.839e-05/0.1345, allocations: 0 / 448.4 MB, free: 5.656 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.282e-05/0.1345, allocations: 7.984 kB / 448.4 MB, free: 5.648 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-06/0.1345, allocations: 4 kB / 448.4 MB, free: 5.645 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005371/0.135, allocations: 0.6511 MB / 449.1 MB, free: 4.996 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1351, allocations: 0 / 449.1 MB, free: 4.996 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000251/0.1353, allocations: 20 kB / 449.1 MB, free: 4.977 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.001248/0.1366, allocations: 1.067 MB / 450.2 MB, free: 3.918 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001697/0.1367, allocations: 43.97 kB / 450.2 MB, free: 3.875 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.1368, allocations: 0 / 450.2 MB, free: 3.875 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.06e-05/0.1368, allocations: 27.92 kB / 450.2 MB, free: 3.848 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003474/0.1372, allocations: 25.95 kB / 450.3 MB, free: 3.82 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003321/0.1405, allocations: 3.295 MB / 453.5 MB, free: 440 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1848/0.3253, allocations: 0.8175 MB / 454.4 MB, free: 48.5 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.359e-05/0.3255, allocations: 9.844 kB / 454.4 MB, free: 48.5 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001779/0.3257, allocations: 104.4 kB / 454.5 MB, free: 48.5 MB / 382.1 MB Notification: Performance of SimCode: time 6.91e-07/0.3257, allocations: 2.312 kB / 454.5 MB, free: 48.5 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01758/0.3433, allocations: 5.653 MB / 460.1 MB, free: 47.91 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001891/0.3435, allocations: 238.1 kB / 460.4 MB, free: 47.64 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.826/2.17, allocations: 0 / 460.4 MB, free: 47.64 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test2_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test2.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test2/Test2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches