Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.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.Test7,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test7,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test7",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.001281/0.001281, allocations: 96.14 kB / 15.87 MB, free: 12 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.001499/0.001499, allocations: 197.7 kB / 16.79 MB, free: 6.828 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.521/1.521, allocations: 205.1 MB / 222.6 MB, free: 4.812 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.3315/0.3315, allocations: 43.5 MB / 313.5 MB, free: 8.59 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.001356/0.001356, allocations: 63.91 kB / 382.1 MB, free: 8.645 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1372/0.1386, allocations: 57.78 MB / 439.9 MB, free: 14.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.003012/0.1417, allocations: 1.629 MB / 441.5 MB, free: 13.12 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006657/0.1423, allocations: 339.6 kB / 441.9 MB, free: 12.79 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.853e-05/0.1424, allocations: 0 / 441.9 MB, free: 12.79 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005768/0.143, allocations: 447.2 kB / 442.3 MB, free: 12.35 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002971/0.1433, allocations: 243.5 kB / 442.5 MB, free: 12.11 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003272/0.1437, allocations: 139.8 kB / 442.7 MB, free: 11.97 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002143/0.1439, allocations: 159.6 kB / 442.8 MB, free: 11.82 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.144, allocations: 15.97 kB / 442.9 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.987e-05/0.1441, allocations: 99.8 kB / 442.9 MB, free: 11.7 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002155/0.1443, allocations: 203.6 kB / 443.1 MB, free: 11.5 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.928e-05/0.1443, allocations: 0 / 443.1 MB, free: 11.5 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.72e-05/0.1444, allocations: 19.98 kB / 443.2 MB, free: 11.48 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001049/0.1445, allocations: 83.62 kB / 443.2 MB, free: 11.4 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.12e-05/0.1446, allocations: 99.05 kB / 443.3 MB, free: 11.3 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002528/0.1449, allocations: 251.2 kB / 443.6 MB, free: 11.06 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1449, allocations: 0 / 443.6 MB, free: 11.06 MB / 382.1 MB Notification: Performance of FrontEnd: time 8.01e-07/0.1449, allocations: 0 / 443.6 MB, free: 11.06 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.1449, allocations: 0 / 443.6 MB, free: 11.06 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.0007402/0.1456, allocations: 0.6297 MB / 444.2 MB, free: 10.38 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.703e-05/0.1457, allocations: 8.031 kB / 444.2 MB, free: 10.37 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.97e-05/0.1457, allocations: 38.75 kB / 444.3 MB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.648e-05/0.1458, allocations: 40.38 kB / 444.3 MB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002766/0.1461, allocations: 300.1 kB / 444.6 MB, free: 9.953 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.358e-06/0.1461, allocations: 4.375 kB / 444.6 MB, free: 9.949 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.076e-05/0.1461, allocations: 384 / 444.6 MB, free: 9.949 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001444/0.1463, allocations: 61.55 kB / 444.7 MB, free: 9.883 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.1463, allocations: 0 / 444.7 MB, free: 9.883 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.789e-06/0.1463, allocations: 3.984 kB / 444.7 MB, free: 9.879 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.1463, allocations: 4 kB / 444.7 MB, free: 9.875 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.584e-05/0.1464, allocations: 19.98 kB / 444.7 MB, free: 9.855 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005086/0.1469, allocations: 388.8 kB / 445.1 MB, free: 9.426 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.511e-05/0.147, allocations: 34.52 kB / 445.1 MB, free: 9.383 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.6e-05/0.1471, allocations: 12.91 kB / 445.1 MB, free: 9.367 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.265e-05/0.1471, allocations: 4 kB / 445.1 MB, free: 9.363 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.169e-05/0.1471, allocations: 38.56 kB / 445.2 MB, free: 9.316 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.1471, allocations: 0 / 445.2 MB, free: 9.316 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002535/0.1474, allocations: 101.1 kB / 445.3 MB, free: 9.211 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.591e-05/0.1474, allocations: 55.41 kB / 445.3 MB, free: 9.145 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007609/0.1482, allocations: 0.8653 MB / 446.2 MB, free: 8.27 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.186e-05/0.1482, allocations: 25.7 kB / 446.2 MB, free: 8.238 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001594/0.1484, allocations: 224.1 kB / 446.4 MB, free: 8.016 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.712e-05/0.1484, allocations: 7.844 kB / 446.4 MB, free: 8.008 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.291e-05/0.1485, allocations: 13.72 kB / 446.4 MB, free: 7.988 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.1486, allocations: 370.8 kB / 446.8 MB, free: 7.617 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.375e-05/0.1487, allocations: 11.98 kB / 446.8 MB, free: 7.605 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.078e-05/0.1487, allocations: 8 kB / 446.8 MB, free: 7.598 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.242e-05/0.1488, allocations: 32.83 kB / 446.9 MB, free: 7.562 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1488, allocations: 0 / 446.9 MB, free: 7.562 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001408/0.1489, allocations: 89.19 kB / 446.9 MB, free: 7.469 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.1489, allocations: 8.031 kB / 446.9 MB, free: 7.461 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.149, allocations: 3.938 kB / 447 MB, free: 7.457 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.149, allocations: 4 kB / 447 MB, free: 7.453 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.022e-05/0.1491, allocations: 7.984 kB / 447 MB, free: 7.445 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.1491, allocations: 3.938 kB / 447 MB, free: 7.441 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.236e-05/0.1491, allocations: 3.938 kB / 447 MB, free: 7.438 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.825e-06/0.1491, allocations: 4 kB / 447 MB, free: 7.434 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 (2): * Single equations (assignments): 2 * 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.0001752/0.1493, allocations: 213.7 kB / 447.2 MB, free: 7.215 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.411e-05/0.1494, allocations: 43.53 kB / 447.2 MB, free: 7.172 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001909/0.1496, allocations: 100.7 kB / 447.3 MB, free: 7.066 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.1496, allocations: 0 / 447.3 MB, free: 7.066 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.1496, allocations: 0 / 447.3 MB, free: 7.066 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.1496, allocations: 4 kB / 447.3 MB, free: 7.062 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002649/0.1499, allocations: 289.4 kB / 447.6 MB, free: 6.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.1499, allocations: 0 / 447.6 MB, free: 6.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.335e-05/0.1499, allocations: 7.984 kB / 447.6 MB, free: 6.723 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.1499, allocations: 0 / 447.6 MB, free: 6.723 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.1499, allocations: 8.031 kB / 447.6 MB, free: 6.715 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.1499, allocations: 0 / 447.6 MB, free: 6.715 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.1499, allocations: 3.938 kB / 447.6 MB, free: 6.711 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001806/0.1501, allocations: 183 kB / 447.8 MB, free: 6.516 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.176e-05/0.1502, allocations: 116.5 kB / 447.9 MB, free: 6.383 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.352e-05/0.1502, allocations: 0 / 447.9 MB, free: 6.383 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.137e-05/0.1503, allocations: 4 kB / 447.9 MB, free: 6.379 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.189e-05/0.1504, allocations: 8.016 kB / 447.9 MB, free: 6.371 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.524e-06/0.1504, allocations: 0 / 447.9 MB, free: 6.371 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005796/0.1509, allocations: 0.655 MB / 448.6 MB, free: 5.719 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.151, allocations: 0 / 448.6 MB, free: 5.719 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002314/0.1512, allocations: 15.94 kB / 448.6 MB, free: 5.703 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 (2): * Single equations (assignments): 2 * 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.001145/0.1523, allocations: 0.9931 MB / 449.6 MB, free: 4.719 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001323/0.1525, allocations: 19.98 kB / 449.6 MB, free: 4.699 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.1525, allocations: 4.062 kB / 449.6 MB, free: 4.695 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.24e-05/0.1525, allocations: 11.98 kB / 449.6 MB, free: 4.684 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003585/0.1529, allocations: 26.17 kB / 449.7 MB, free: 4.652 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003172/0.1561, allocations: 3.241 MB / 452.9 MB, free: 1.316 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003853/0.1565, allocations: 0.8185 MB / 453.7 MB, free: 484 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.099e-05/0.1566, allocations: 20.05 kB / 453.7 MB, free: 464 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001192/0.1567, allocations: 111.3 kB / 453.8 MB, free: 352 kB / 382.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1567, allocations: 0 / 453.8 MB, free: 352 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2101/0.3668, allocations: 5.452 MB / 459.3 MB, free: 48.22 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001856/0.367, allocations: 232.3 kB / 459.5 MB, free: 47.97 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.693/2.06, allocations: 7.844 kB / 459.5 MB, free: 47.96 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test7_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test7.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches