Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test16,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test16,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_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.001113/0.001113, 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.0011/0.0011, 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.487/1.487, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.218/0.218, allocations: 46.09 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00161/0.00161, allocations: 81.08 kB / 417.7 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1248/0.1265, allocations: 62.44 MB / 480.1 MB, free: 5.191 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test16): time 0.004047/0.1306, allocations: 1.618 MB / 481.7 MB, free: 3.562 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00108/0.1317, allocations: 0.5338 MB / 482.3 MB, free: 3.023 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.286e-05/0.1318, allocations: 0 / 482.3 MB, free: 3.023 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000301/0.1321, allocations: 75.77 kB / 482.4 MB, free: 2.949 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003661/0.1325, allocations: 107.6 kB / 482.5 MB, free: 2.844 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003476/0.1329, allocations: 95.69 kB / 482.6 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002452/0.1331, allocations: 75.88 kB / 482.6 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001303/0.1333, allocations: 12 kB / 482.6 MB, free: 2.664 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.924e-05/0.1334, allocations: 43.78 kB / 482.7 MB, free: 2.621 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000127/0.1335, allocations: 55.81 kB / 482.7 MB, free: 2.566 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.719e-05/0.1335, allocations: 4 kB / 482.7 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000127/0.1337, allocations: 51.98 kB / 482.8 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.985e-05/0.1338, allocations: 23.91 kB / 482.8 MB, free: 2.488 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.992e-05/0.1338, allocations: 27.75 kB / 482.8 MB, free: 2.461 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002125/0.134, allocations: 99.98 kB / 482.9 MB, free: 2.363 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.134, allocations: 3.938 kB / 482.9 MB, free: 2.359 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.134, allocations: 0 / 482.9 MB, free: 2.359 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.151e-06/0.1341, allocations: 0 / 482.9 MB, free: 2.359 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.0005345/0.1346, allocations: 418.9 kB / 483.4 MB, free: 1.902 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.1347, allocations: 8.031 kB / 483.4 MB, free: 1.895 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.997e-05/0.1347, allocations: 38.69 kB / 483.4 MB, free: 1.848 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.069e-05/0.1347, allocations: 16.78 kB / 483.4 MB, free: 1.832 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002129/0.135, allocations: 196.8 kB / 483.6 MB, free: 1.598 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/0.135, allocations: 4.375 kB / 483.6 MB, free: 1.594 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.693e-05/0.135, allocations: 4.375 kB / 483.6 MB, free: 1.59 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001585/0.1352, allocations: 57.61 kB / 483.7 MB, free: 1.527 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.1352, allocations: 3.906 kB / 483.7 MB, free: 1.523 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.1352, allocations: 4 kB / 483.7 MB, free: 1.52 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.1352, allocations: 0 / 483.7 MB, free: 1.52 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001067/0.1353, allocations: 35.91 kB / 483.7 MB, free: 1.484 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003845/0.1357, allocations: 292.8 kB / 484 MB, free: 1.148 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001048/0.1359, allocations: 42.56 kB / 484 MB, free: 1.098 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.843e-05/0.1359, allocations: 16.92 kB / 484.1 MB, free: 1.078 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.329e-05/0.136, allocations: 4 kB / 484.1 MB, free: 1.074 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.632e-05/0.136, allocations: 42.5 kB / 484.1 MB, free: 1.023 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.136, allocations: 0 / 484.1 MB, free: 1.023 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009074/0.1369, allocations: 221 kB / 484.3 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.876e-05/0.137, allocations: 55.41 kB / 484.4 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002257/0.1372, allocations: 222.3 kB / 484.6 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.926e-05/0.1372, allocations: 25.7 kB / 484.6 MB, free: 488 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.963e-05/0.1373, allocations: 108.1 kB / 484.7 MB, free: 376 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.792e-05/0.1374, allocations: 31.61 kB / 484.8 MB, free: 344 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.753e-05/0.1374, allocations: 17.72 kB / 484.8 MB, free: 320 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.1376, allocations: 322.8 kB / 485.1 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.559e-05/0.1377, allocations: 35.97 kB / 485.1 MB, free: 15.95 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.752e-05/0.1377, allocations: 23.98 kB / 485.1 MB, free: 15.93 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001565/0.1379, allocations: 61.06 kB / 485.2 MB, free: 15.87 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.1379, allocations: 0 / 485.2 MB, free: 15.87 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002206/0.1381, allocations: 105.5 kB / 485.3 MB, free: 15.76 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.1382, allocations: 6.5 kB / 485.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.1382, allocations: 0 / 485.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.1382, allocations: 4 kB / 485.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/0.1383, allocations: 23.98 kB / 485.3 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.1383, allocations: 3.938 kB / 485.3 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.706e-05/0.1384, allocations: 7.984 kB / 485.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/0.1384, allocations: 0 / 485.4 MB, free: 15.71 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.0001065/0.1385, allocations: 125.8 kB / 485.5 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.336e-05/0.1385, allocations: 15.8 kB / 485.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002872/0.1388, allocations: 122.9 kB / 485.6 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.1389, allocations: 0 / 485.6 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.057e-05/0.1389, allocations: 7.922 kB / 485.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.1389, allocations: 0 / 485.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000547/0.1394, allocations: 403.3 kB / 486 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.1394, allocations: 3.969 kB / 486 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.352e-05/0.1395, allocations: 27.92 kB / 486 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.1395, allocations: 0 / 486 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.1396, allocations: 0 / 486 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/0.1396, allocations: 4 kB / 486 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.1396, allocations: 3.938 kB / 486 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002529/0.1398, allocations: 204.2 kB / 486.2 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.147e-05/0.1399, allocations: 88.95 kB / 486.3 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.126e-05/0.1399, allocations: 7.938 kB / 486.3 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.499e-05/0.14, allocations: 7.984 kB / 486.4 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.264e-05/0.14, allocations: 4 kB / 486.4 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.38e-06/0.14, allocations: 0 / 486.4 MB, free: 14.6 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001339/0.1402, allocations: 164.2 kB / 486.5 MB, free: 14.44 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1402, allocations: 0 / 486.5 MB, free: 14.44 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002585/0.1405, allocations: 19.98 kB / 486.5 MB, free: 14.42 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.001583/0.142, allocations: 1.095 MB / 487.6 MB, free: 13.46 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002403/0.1423, allocations: 71.89 kB / 487.7 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1423, allocations: 0 / 487.7 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.19e-05/0.1424, allocations: 35.97 kB / 487.7 MB, free: 13.36 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003737/0.1428, allocations: 31.55 kB / 487.8 MB, free: 13.33 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001885/0.1447, allocations: 1.646 MB / 489.4 MB, free: 11.6 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003036/0.145, allocations: 0.7041 MB / 490.1 MB, free: 10.87 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.339e-05/0.1451, allocations: 16.95 kB / 490.1 MB, free: 10.85 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.96e-05/0.1451, allocations: 35.42 kB / 490.2 MB, free: 10.82 MB / 366.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1451, allocations: 8 kB / 490.2 MB, free: 10.81 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0212/0.1663, allocations: 3.015 MB / 493.2 MB, free: 7.844 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.504/7.671, allocations: 5.016 kB / 493.2 MB, free: 7.84 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.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_CombiTable1Ds_Test16.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches