Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.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.Test31,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test31,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test31",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001405/0.001405, allocations: 104.6 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001661/0.001661, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.41/1.41, allocations: 227.4 MB / 246.8 MB, free: 10.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2203/0.2203, allocations: 46.1 MB / 344.1 MB, free: 11.58 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00232/0.00232, allocations: 77.09 kB / 417.7 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.1328, allocations: 62.44 MB / 480.1 MB, free: 5.176 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.003067/0.1359, allocations: 1.615 MB / 481.7 MB, free: 3.551 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009796/0.1369, allocations: 0.5377 MB / 482.3 MB, free: 3.008 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.839e-05/0.137, allocations: 0 / 482.3 MB, free: 3.008 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002937/0.1373, allocations: 123.6 kB / 482.4 MB, free: 2.887 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003253/0.1377, allocations: 131.6 kB / 482.5 MB, free: 2.758 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002957/0.138, allocations: 99.62 kB / 482.6 MB, free: 2.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001716/0.1382, allocations: 91.8 kB / 482.7 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.1383, allocations: 15.98 kB / 482.7 MB, free: 2.555 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.74e-05/0.1384, allocations: 47.83 kB / 482.8 MB, free: 2.508 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001443/0.1385, allocations: 87.78 kB / 482.9 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.709e-05/0.1385, allocations: 0 / 482.9 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001032/0.1386, allocations: 47.98 kB / 482.9 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.907e-05/0.1387, allocations: 31.86 kB / 482.9 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.093e-05/0.1388, allocations: 31.69 kB / 483 MB, free: 2.312 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002004/0.139, allocations: 123.9 kB / 483.1 MB, free: 2.191 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.139, allocations: 0 / 483.1 MB, free: 2.191 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.139, allocations: 0 / 483.1 MB, free: 2.191 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.623e-06/0.139, allocations: 0 / 483.1 MB, free: 2.191 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.0004688/0.1395, allocations: 442.7 kB / 483.5 MB, free: 1.711 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.1395, allocations: 8.031 kB / 483.5 MB, free: 1.703 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.393e-05/0.1396, allocations: 30.75 kB / 483.6 MB, free: 1.664 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.73e-05/0.1396, allocations: 16.75 kB / 483.6 MB, free: 1.648 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001958/0.1398, allocations: 208 kB / 483.8 MB, free: 1.406 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.187e-06/0.1398, allocations: 384 / 483.8 MB, free: 1.406 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.396e-05/0.1398, allocations: 12.31 kB / 483.8 MB, free: 1.395 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001377/0.14, allocations: 57.59 kB / 483.9 MB, free: 1.332 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.14, allocations: 3.938 kB / 483.9 MB, free: 1.328 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.685e-06/0.14, allocations: 4 kB / 483.9 MB, free: 1.324 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.14, allocations: 0 / 483.9 MB, free: 1.324 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001046/0.1401, allocations: 23.98 kB / 483.9 MB, free: 1.301 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004104/0.1406, allocations: 308.7 kB / 484.2 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001138/0.1407, allocations: 46.5 kB / 484.2 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.212e-05/0.1408, allocations: 24.94 kB / 484.3 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.271e-05/0.1408, allocations: 0 / 484.3 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.524e-05/0.1408, allocations: 30.56 kB / 484.3 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.51e-07/0.1408, allocations: 0 / 484.3 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009227/0.1418, allocations: 241.3 kB / 484.5 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.771e-05/0.1418, allocations: 51.41 kB / 484.6 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000268/0.1421, allocations: 279.7 kB / 484.8 MB, free: 248 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.527e-05/0.1421, allocations: 29.69 kB / 484.9 MB, free: 212 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.848e-05/0.1422, allocations: 116.1 kB / 485 MB, free: 92 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.929e-05/0.1422, allocations: 27.62 kB / 485 MB, free: 64 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.112e-05/0.1423, allocations: 21.7 kB / 485 MB, free: 36 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.1424, allocations: 334.8 kB / 485.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.888e-05/0.1425, allocations: 19.98 kB / 485.4 MB, free: 15.68 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.502e-05/0.1426, allocations: 27.98 kB / 485.4 MB, free: 15.65 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001498/0.1427, allocations: 60.77 kB / 485.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.1427, allocations: 0 / 485.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002126/0.1429, allocations: 101.6 kB / 485.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.143, allocations: 10.5 kB / 485.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.728e-06/0.143, allocations: 0 / 485.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.143, allocations: 0 / 485.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/0.1431, allocations: 19.98 kB / 485.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.216e-06/0.1431, allocations: 7.938 kB / 485.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.166e-05/0.1432, allocations: 7.844 kB / 485.6 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.094e-05/0.1432, allocations: 4 kB / 485.6 MB, free: 15.44 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.000108/0.1433, allocations: 137.8 kB / 485.8 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.991e-05/0.1434, allocations: 11.91 kB / 485.8 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002866/0.1437, allocations: 127.2 kB / 485.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.012e-06/0.1437, allocations: 4 kB / 485.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.718e-06/0.1437, allocations: 7.938 kB / 485.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/0.1437, allocations: 7.922 kB / 485.9 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005882/0.1443, allocations: 415.4 kB / 486.3 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.1443, allocations: 0 / 486.3 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.603e-05/0.1444, allocations: 27.86 kB / 486.3 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.1444, allocations: 0 / 486.3 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.866e-06/0.1444, allocations: 3.938 kB / 486.3 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.16e-06/0.1444, allocations: 4 kB / 486.3 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1444, allocations: 0 / 486.3 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002683/0.1447, allocations: 208.2 kB / 486.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.147e-05/0.1448, allocations: 92.86 kB / 486.6 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.475e-05/0.1448, allocations: 7.984 kB / 486.6 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.418e-05/0.1449, allocations: 4 kB / 486.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.368e-05/0.1449, allocations: 7.984 kB / 486.7 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-06/0.145, allocations: 7.938 kB / 486.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002063/0.1452, allocations: 209.5 kB / 486.9 MB, free: 14.07 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1452, allocations: 4 kB / 486.9 MB, free: 14.07 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002662/0.1454, allocations: 23.98 kB / 486.9 MB, free: 14.04 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.001576/0.147, allocations: 1.073 MB / 488 MB, free: 13.11 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002148/0.1473, allocations: 71.89 kB / 488 MB, free: 13.04 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1473, allocations: 0 / 488 MB, free: 13.04 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.64e-05/0.1474, allocations: 43.91 kB / 488.1 MB, free: 12.99 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003548/0.1477, allocations: 19 kB / 488.1 MB, free: 12.98 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001936/0.1497, allocations: 1.793 MB / 489.9 MB, free: 11.09 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002874/0.15, allocations: 0.7158 MB / 490.6 MB, free: 10.35 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.488e-05/0.15, allocations: 12.97 kB / 490.6 MB, free: 10.34 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.963e-05/0.1501, allocations: 47.34 kB / 490.7 MB, free: 10.29 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1501, allocations: 0 / 490.7 MB, free: 10.29 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01979/0.1699, allocations: 3.298 MB / 494 MB, free: 7.047 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.543/7.713, allocations: 9.078 kB / 494 MB, free: 7.039 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.006 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test31.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches