Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.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.Test12,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test12,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test12",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.0008089/0.0008089, allocations: 102.9 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008681/0.0008679, allocations: 186.2 kB / 16.92 MB, free: 6.918 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.432/1.432, allocations: 205.4 MB / 223.1 MB, free: 5.773 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.4182/0.4182, allocations: 43.58 MB / 315 MB, free: 8.703 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.0006202/0.0006205, allocations: 16 kB / 384.7 MB, free: 7.527 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.1361, allocations: 58.86 MB / 443.5 MB, free: 12.56 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test12): time 0.002316/0.1385, allocations: 1.333 MB / 444.9 MB, free: 11.22 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001571/0.1401, allocations: 0.9104 MB / 445.8 MB, free: 10.3 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.389e-05/0.1402, allocations: 4 kB / 445.8 MB, free: 10.3 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000236/0.1404, allocations: 11.92 kB / 445.8 MB, free: 10.29 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002089/0.1407, allocations: 35.84 kB / 445.8 MB, free: 10.25 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003687/0.1411, allocations: 103.9 kB / 445.9 MB, free: 10.15 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001825/0.1412, allocations: 59.78 kB / 446 MB, free: 10.09 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001392/0.1414, allocations: 20.44 kB / 446 MB, free: 10.07 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.375e-05/0.1415, allocations: 15.94 kB / 446 MB, free: 10.05 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002004/0.1417, allocations: 35.83 kB / 446.1 MB, free: 10.02 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.914e-05/0.1417, allocations: 4 kB / 446.1 MB, free: 10.02 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001436/0.1419, allocations: 43.92 kB / 446.1 MB, free: 9.973 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.768e-05/0.1419, allocations: 19.92 kB / 446.1 MB, free: 9.953 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.451e-05/0.142, allocations: 49.5 kB / 446.2 MB, free: 9.898 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002328/0.1423, allocations: 103.6 kB / 446.3 MB, free: 9.797 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.1423, allocations: 0 / 446.3 MB, free: 9.797 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.1423, allocations: 0 / 446.3 MB, free: 9.797 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.036e-05/0.1423, allocations: 0 / 446.3 MB, free: 9.797 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.000629/0.1429, allocations: 387.2 kB / 446.7 MB, free: 9.371 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/0.143, allocations: 8.031 kB / 446.7 MB, free: 9.363 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.793e-05/0.143, allocations: 38.73 kB / 446.7 MB, free: 9.316 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.037e-05/0.1431, allocations: 4.938 kB / 446.7 MB, free: 9.312 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002682/0.1434, allocations: 203.8 kB / 446.9 MB, free: 9.078 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.432e-05/0.1434, allocations: 4.375 kB / 446.9 MB, free: 9.074 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.836e-05/0.1434, allocations: 8.125 kB / 446.9 MB, free: 9.066 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002188/0.1436, allocations: 75.39 kB / 447 MB, free: 8.98 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.1437, allocations: 4 kB / 447 MB, free: 8.977 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.1437, allocations: 0 / 447 MB, free: 8.977 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.1437, allocations: 0 / 447 MB, free: 8.977 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001568/0.1439, allocations: 39.97 kB / 447 MB, free: 8.938 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004562/0.1443, allocations: 288.8 kB / 447.3 MB, free: 8.605 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001497/0.1445, allocations: 50.56 kB / 447.4 MB, free: 8.547 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.485e-05/0.1446, allocations: 28.94 kB / 447.4 MB, free: 8.516 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.132e-05/0.1446, allocations: 3.938 kB / 447.4 MB, free: 8.512 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.236e-05/0.1447, allocations: 38.55 kB / 447.4 MB, free: 8.465 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.273e-06/0.1447, allocations: 0 / 447.4 MB, free: 8.465 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008284/0.1455, allocations: 237.3 kB / 447.7 MB, free: 8.227 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.279e-05/0.1456, allocations: 81.11 kB / 447.8 MB, free: 8.129 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001574/0.1458, allocations: 146 kB / 447.9 MB, free: 7.973 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.559e-05/0.1458, allocations: 25.7 kB / 447.9 MB, free: 7.941 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.799e-05/0.1458, allocations: 96.05 kB / 448 MB, free: 7.844 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.089e-05/0.1459, allocations: 27.64 kB / 448 MB, free: 7.816 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.015e-05/0.1459, allocations: 9.719 kB / 448.1 MB, free: 7.801 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.1461, allocations: 326.8 kB / 448.4 MB, free: 7.473 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001166/0.1462, allocations: 39.97 kB / 448.4 MB, free: 7.434 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001198/0.1463, allocations: 57.75 kB / 448.5 MB, free: 7.371 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002234/0.1465, allocations: 96.83 kB / 448.6 MB, free: 7.273 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.1465, allocations: 0 / 448.6 MB, free: 7.273 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002838/0.1468, allocations: 125.5 kB / 448.7 MB, free: 7.145 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.1469, allocations: 8 kB / 448.7 MB, free: 7.137 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.1469, allocations: 0 / 448.7 MB, free: 7.137 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.1469, allocations: 0 / 448.7 MB, free: 7.137 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000128/0.147, allocations: 27.92 kB / 448.7 MB, free: 7.109 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.147, allocations: 3.938 kB / 448.7 MB, free: 7.105 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.456e-05/0.1471, allocations: 19.98 kB / 448.7 MB, free: 7.086 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.274e-06/0.1471, allocations: 7.938 kB / 448.7 MB, free: 7.078 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 (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 8.405e-05/0.1472, allocations: 113.8 kB / 448.9 MB, free: 6.957 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.244e-05/0.1473, allocations: 7.906 kB / 448.9 MB, free: 6.949 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003721/0.1476, allocations: 138.6 kB / 449 MB, free: 6.812 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.1477, allocations: 0 / 449 MB, free: 6.812 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.1477, allocations: 7.875 kB / 449 MB, free: 6.805 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.1477, allocations: 3.984 kB / 449 MB, free: 6.801 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005503/0.1482, allocations: 406.5 kB / 449.4 MB, free: 6.348 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.1482, allocations: 0 / 449.4 MB, free: 6.348 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.652e-05/0.1483, allocations: 23.98 kB / 449.4 MB, free: 6.324 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.56e-06/0.1484, allocations: 7.938 kB / 449.4 MB, free: 6.316 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.383e-06/0.1484, allocations: 0 / 449.4 MB, free: 6.316 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.853e-06/0.1484, allocations: 8 kB / 449.5 MB, free: 6.309 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.1484, allocations: 3.938 kB / 449.5 MB, free: 6.305 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003272/0.1487, allocations: 223.3 kB / 449.7 MB, free: 6.07 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.848e-05/0.1488, allocations: 89 kB / 449.8 MB, free: 5.965 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.162e-05/0.1488, allocations: 7.938 kB / 449.8 MB, free: 5.957 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.539e-05/0.1489, allocations: 11.98 kB / 449.8 MB, free: 5.945 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.747e-05/0.149, allocations: 11.98 kB / 449.8 MB, free: 5.934 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.101e-06/0.149, allocations: 8 kB / 449.8 MB, free: 5.926 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.786e-05/0.1491, allocations: 103.3 kB / 449.9 MB, free: 5.824 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1491, allocations: 0 / 449.9 MB, free: 5.824 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002671/0.1493, allocations: 27.98 kB / 449.9 MB, free: 5.797 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 (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.001581/0.1509, allocations: 1.099 MB / 451 MB, free: 4.703 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003228/0.1513, allocations: 91.92 kB / 451.1 MB, free: 4.613 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.735e-06/0.1513, allocations: 4 kB / 451.1 MB, free: 4.609 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001337/0.1514, allocations: 55.84 kB / 451.2 MB, free: 4.555 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003545/0.1518, allocations: 15.98 kB / 451.2 MB, free: 4.539 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002226/0.154, allocations: 1.601 MB / 452.8 MB, free: 2.863 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003761/0.1544, allocations: 0.6887 MB / 453.5 MB, free: 2.148 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001014/0.1546, allocations: 21.05 kB / 453.5 MB, free: 2.129 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.203e-05/0.1546, allocations: 27.42 kB / 453.5 MB, free: 2.102 MB / 382.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1546, allocations: 0 / 453.5 MB, free: 2.102 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2324/0.387, allocations: 2.552 MB / 456.1 MB, free: 45.8 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003369/0.3874, allocations: 231.9 kB / 456.3 MB, free: 45.55 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.899/2.286, allocations: 1.594 kB / 456.3 MB, free: 45.55 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test12_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test12.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test12/Test12.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches