Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.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.Test25_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001249/0.001249, 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.001301/0.001301, 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.438/1.438, allocations: 227.4 MB / 246.8 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.24/0.24, allocations: 46.12 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001544/0.001544, allocations: 75.84 kB / 417.7 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.1215, allocations: 62.44 MB / 480.1 MB, free: 5.188 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab): time 0.003667/0.1252, allocations: 1.619 MB / 481.7 MB, free: 3.559 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001108/0.1264, allocations: 0.5455 MB / 482.3 MB, free: 3.008 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.559e-05/0.1265, allocations: 0 / 482.3 MB, free: 3.008 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002673/0.1268, allocations: 31.78 kB / 482.3 MB, free: 2.977 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003832/0.1272, allocations: 71.69 kB / 482.4 MB, free: 2.906 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00034/0.1275, allocations: 95.69 kB / 482.5 MB, free: 2.812 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001712/0.1277, allocations: 63.84 kB / 482.5 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.1278, allocations: 23.97 kB / 482.6 MB, free: 2.727 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.865e-05/0.1279, allocations: 31.86 kB / 482.6 MB, free: 2.695 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.239e-05/0.128, allocations: 27.84 kB / 482.6 MB, free: 2.668 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.07e-05/0.128, allocations: 4 kB / 482.6 MB, free: 2.664 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002383/0.1283, allocations: 103.9 kB / 482.7 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.511e-05/0.1283, allocations: 11.94 kB / 482.7 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.469e-05/0.1284, allocations: 31.86 kB / 482.8 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003528/0.1288, allocations: 139.9 kB / 482.9 MB, free: 2.383 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.1288, allocations: 4 kB / 482.9 MB, free: 2.379 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1288, allocations: 0 / 482.9 MB, free: 2.379 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.158e-05/0.1288, allocations: 4 kB / 482.9 MB, free: 2.375 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000534/0.1293, allocations: 415 kB / 483.3 MB, free: 1.922 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.84e-05/0.1294, allocations: 12.03 kB / 483.3 MB, free: 1.91 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.169e-05/0.1294, allocations: 34.75 kB / 483.4 MB, free: 1.867 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.157e-05/0.1295, allocations: 8.844 kB / 483.4 MB, free: 1.859 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002306/0.1297, allocations: 188.3 kB / 483.6 MB, free: 1.637 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.779e-06/0.1298, allocations: 384 / 483.6 MB, free: 1.637 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.677e-05/0.1298, allocations: 8.375 kB / 483.6 MB, free: 1.629 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000168/0.13, allocations: 75.27 kB / 483.6 MB, free: 1.543 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.13, allocations: 3.906 kB / 483.6 MB, free: 1.539 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.13, allocations: 3.984 kB / 483.7 MB, free: 1.535 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.625e-06/0.13, allocations: 4 kB / 483.7 MB, free: 1.531 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000106/0.1301, allocations: 27.97 kB / 483.7 MB, free: 1.504 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004235/0.1306, allocations: 304.8 kB / 484 MB, free: 1.156 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001233/0.1307, allocations: 58.5 kB / 484 MB, free: 1.09 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.19e-05/0.1308, allocations: 24.97 kB / 484.1 MB, free: 1.062 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.388e-05/0.1308, allocations: 0 / 484.1 MB, free: 1.062 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/0.1308, allocations: 38.56 kB / 484.1 MB, free: 1.016 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 9.32e-07/0.1308, allocations: 0 / 484.1 MB, free: 1.016 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006892/0.1315, allocations: 185.2 kB / 484.3 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.243e-05/0.1316, allocations: 77.11 kB / 484.4 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00015/0.1318, allocations: 152.7 kB / 484.5 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.863e-05/0.1318, allocations: 33.7 kB / 484.5 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.533e-05/0.1319, allocations: 92.14 kB / 484.6 MB, free: 456 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.039e-05/0.1319, allocations: 35.53 kB / 484.7 MB, free: 420 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.276e-05/0.1319, allocations: 21.72 kB / 484.7 MB, free: 392 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001006/0.1321, allocations: 330.7 kB / 485 MB, free: 52 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.588e-05/0.1321, allocations: 27.92 kB / 485 MB, free: 24 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001106/0.1323, allocations: 49.62 kB / 485.1 MB, free: 15.97 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001721/0.1324, allocations: 80.84 kB / 485.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.1325, allocations: 0 / 485.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002425/0.1327, allocations: 109.5 kB / 485.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.1327, allocations: 10.5 kB / 485.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.1327, allocations: 0 / 485.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.1328, allocations: 0 / 485.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001152/0.1329, allocations: 20.36 kB / 485.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.1329, allocations: 0 / 485.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.768e-05/0.133, allocations: 15.98 kB / 485.3 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/0.133, allocations: 7.938 kB / 485.3 MB, free: 15.72 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 (9): * Single equations (assignments): 9 * 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.423e-05/0.1331, allocations: 117.8 kB / 485.4 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.914e-05/0.1331, allocations: 7.906 kB / 485.4 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002773/0.1334, allocations: 118.4 kB / 485.6 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.1334, allocations: 0 / 485.6 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.1334, allocations: 0 / 485.6 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.1334, allocations: 7.984 kB / 485.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005122/0.1339, allocations: 402.3 kB / 486 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.134, allocations: 288 / 486 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.398e-05/0.134, allocations: 15.98 kB / 486 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.1341, allocations: 0 / 486 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.1341, allocations: 11.88 kB / 486 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.1341, allocations: 8 kB / 486 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.1341, allocations: 0 / 486 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000274/0.1344, allocations: 199.3 kB / 486.2 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5e-05/0.1344, allocations: 81.02 kB / 486.3 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.776e-05/0.1345, allocations: 7.938 kB / 486.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.508e-05/0.1345, allocations: 0 / 486.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.181e-05/0.1346, allocations: 15.98 kB / 486.3 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.324e-06/0.1346, allocations: 4 kB / 486.3 MB, free: 14.64 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000107/0.1347, allocations: 117.5 kB / 486.4 MB, free: 14.53 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1347, allocations: 0 / 486.4 MB, free: 14.53 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003201/0.1351, allocations: 51.92 kB / 486.5 MB, free: 14.48 MB / 366.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 (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.00169/0.1368, allocations: 1.125 MB / 487.6 MB, free: 13.49 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002932/0.1371, allocations: 71.94 kB / 487.7 MB, free: 13.42 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/0.1371, allocations: 4 kB / 487.7 MB, free: 13.42 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001005/0.1372, allocations: 35.92 kB / 487.7 MB, free: 13.38 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004194/0.1376, allocations: 23.48 kB / 487.7 MB, free: 13.36 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001959/0.1396, allocations: 1.55 MB / 489.3 MB, free: 11.73 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002738/0.1399, allocations: 0.6963 MB / 490 MB, free: 11.01 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.983e-05/0.14, allocations: 32.55 kB / 490 MB, free: 10.98 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.619e-05/0.1401, allocations: 31.41 kB / 490 MB, free: 10.95 MB / 366.1 MB Notification: Performance of SimCode: time 1.153e-06/0.1401, allocations: 0 / 490 MB, free: 10.95 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01968/0.1598, allocations: 3.461 MB / 493.5 MB, free: 7.562 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.619/7.779, allocations: 12.92 kB / 493.5 MB, free: 7.551 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches