Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test16,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test16,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test16",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00129/0.00129, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001336/0.001336, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.406/1.406, allocations: 227.4 MB / 246.8 MB, free: 10.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2228/0.2228, allocations: 46.09 MB / 344.1 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002106/0.002106, allocations: 77.02 kB / 417.7 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1349, allocations: 62.45 MB / 480.1 MB, free: 5.184 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test16): time 0.003669/0.1386, allocations: 1.612 MB / 481.7 MB, free: 3.559 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00116/0.1398, allocations: 0.5494 MB / 482.3 MB, free: 3.004 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.817e-05/0.1399, allocations: 0 / 482.3 MB, free: 3.004 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003123/0.1403, allocations: 79.7 kB / 482.4 MB, free: 2.926 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003858/0.1407, allocations: 103.6 kB / 482.5 MB, free: 2.824 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003987/0.1411, allocations: 115.7 kB / 482.6 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001769/0.1413, allocations: 75.83 kB / 482.7 MB, free: 2.637 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000121/0.1414, allocations: 27.97 kB / 482.7 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.5e-05/0.1415, allocations: 35.84 kB / 482.7 MB, free: 2.574 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001139/0.1416, allocations: 55.81 kB / 482.8 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.683e-05/0.1416, allocations: 4 kB / 482.8 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001254/0.1417, allocations: 43.98 kB / 482.8 MB, free: 2.473 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.328e-05/0.1418, allocations: 23.91 kB / 482.8 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.9e-05/0.1419, allocations: 27.75 kB / 482.9 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002049/0.1421, allocations: 108 kB / 483 MB, free: 2.316 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.1421, allocations: 3.938 kB / 483 MB, free: 2.312 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.1421, allocations: 0 / 483 MB, free: 2.312 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.1421, allocations: 7.938 kB / 483 MB, free: 2.305 MB / 350.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.000539/0.1427, allocations: 407 kB / 483.4 MB, free: 1.859 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/0.1427, allocations: 8.031 kB / 483.4 MB, free: 1.852 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.262e-05/0.1428, allocations: 38.75 kB / 483.4 MB, free: 1.805 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.623e-05/0.1428, allocations: 8.844 kB / 483.4 MB, free: 1.797 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002813/0.1431, allocations: 196.8 kB / 483.6 MB, free: 1.562 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/0.1431, allocations: 384 / 483.6 MB, free: 1.562 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.629e-05/0.1432, allocations: 4.375 kB / 483.6 MB, free: 1.559 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002432/0.1434, allocations: 65.59 kB / 483.7 MB, free: 1.488 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.022e-05/0.1435, allocations: 7.844 kB / 483.7 MB, free: 1.48 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.1435, allocations: 4 kB / 483.7 MB, free: 1.477 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.84e-06/0.1435, allocations: 0 / 483.7 MB, free: 1.477 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001225/0.1436, allocations: 27.97 kB / 483.7 MB, free: 1.449 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006184/0.1443, allocations: 304.8 kB / 484 MB, free: 1.102 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001459/0.1444, allocations: 50.5 kB / 484.1 MB, free: 1.043 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.173e-05/0.1445, allocations: 16.94 kB / 484.1 MB, free: 1.023 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.698e-05/0.1445, allocations: 0 / 484.1 MB, free: 1.023 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.741e-05/0.1446, allocations: 38.56 kB / 484.1 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.242e-06/0.1446, allocations: 0 / 484.1 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.001129/0.1457, allocations: 237 kB / 484.4 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.884e-05/0.1458, allocations: 55.39 kB / 484.4 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002105/0.146, allocations: 222.2 kB / 484.6 MB, free: 456 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.146, allocations: 25.7 kB / 484.7 MB, free: 424 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.578e-05/0.1461, allocations: 112.1 kB / 484.8 MB, free: 308 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.406e-05/0.1461, allocations: 27.61 kB / 484.8 MB, free: 280 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.5e-05/0.1462, allocations: 25.72 kB / 484.8 MB, free: 248 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.1464, allocations: 322.8 kB / 485.1 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.997e-05/0.1465, allocations: 31.97 kB / 485.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.802e-05/0.1465, allocations: 23.98 kB / 485.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001686/0.1467, allocations: 80.75 kB / 485.3 MB, free: 15.78 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-06/0.1467, allocations: 0 / 485.3 MB, free: 15.78 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002441/0.147, allocations: 113.6 kB / 485.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.147, allocations: 6.344 kB / 485.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.147, allocations: 320 / 485.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.147, allocations: 0 / 485.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001094/0.1472, allocations: 19.98 kB / 485.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.196e-06/0.1472, allocations: 3.938 kB / 485.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.373e-05/0.1472, allocations: 7.984 kB / 485.4 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.1472, allocations: 7.922 kB / 485.4 MB, free: 15.62 MB / 366.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 (8): * Single equations (assignments): 8 * 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.0001083/0.1474, allocations: 133.8 kB / 485.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.087e-05/0.1474, allocations: 11.81 kB / 485.6 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003119/0.1477, allocations: 135.4 kB / 485.7 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.1477, allocations: 0 / 485.7 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.241e-06/0.1478, allocations: 3.938 kB / 485.7 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.1478, allocations: 7.984 kB / 485.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005725/0.1483, allocations: 427.3 kB / 486.1 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.1484, allocations: 3.984 kB / 486.1 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.986e-05/0.1484, allocations: 19.88 kB / 486.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.1484, allocations: 4 kB / 486.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.1485, allocations: 3.984 kB / 486.2 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.1485, allocations: 0 / 486.2 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1485, allocations: 0 / 486.2 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002645/0.1487, allocations: 212.2 kB / 486.4 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001265/0.1489, allocations: 88.95 kB / 486.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.729e-05/0.1489, allocations: 11.94 kB / 486.5 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.33e-05/0.149, allocations: 3.984 kB / 486.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.986e-05/0.149, allocations: 7.938 kB / 486.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.558e-06/0.1491, allocations: 11.98 kB / 486.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001395/0.1492, allocations: 164.2 kB / 486.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1492, allocations: 0 / 486.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002577/0.1495, allocations: 16 kB / 486.7 MB, free: 14.27 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001651/0.1511, allocations: 1.091 MB / 487.8 MB, free: 13.32 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000266/0.1514, allocations: 91.86 kB / 487.9 MB, free: 13.23 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1514, allocations: 0 / 487.9 MB, free: 13.23 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001046/0.1515, allocations: 43.91 kB / 487.9 MB, free: 13.18 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003945/0.1519, allocations: 13.22 kB / 487.9 MB, free: 13.17 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001993/0.1539, allocations: 1.703 MB / 489.6 MB, free: 11.39 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002825/0.1542, allocations: 0.708 MB / 490.3 MB, free: 10.65 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.447e-05/0.1543, allocations: 20.66 kB / 490.3 MB, free: 10.63 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.146e-05/0.1544, allocations: 35.42 kB / 490.4 MB, free: 10.6 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1544, allocations: 0 / 490.4 MB, free: 10.6 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02359/0.178, allocations: 3.071 MB / 493.5 MB, free: 7.578 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.602/7.78, allocations: 5.016 kB / 493.5 MB, free: 7.574 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0012 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test16.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches