Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.CombiTable1Ds.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test8",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.001119/0.001119, allocations: 104.5 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001185/0.001185, allocations: 192 kB / 18.56 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.451/1.451, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2322/0.2322, allocations: 44.19 MB / 336.6 MB, free: 2.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001384, allocations: 61.09 kB / 408.5 MB, free: 27.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/0.1263, allocations: 60.82 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test8): time 0.00394/0.1303, allocations: 1.564 MB / 470.9 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008063/0.1311, allocations: 395.3 kB / 471.3 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.471e-05/0.1312, allocations: 0 / 471.3 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001962/0.1314, allocations: 23.84 kB / 471.3 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002161/0.1317, allocations: 43.78 kB / 471.4 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002857/0.132, allocations: 83.7 kB / 471.5 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001374/0.1321, allocations: 55.84 kB / 471.5 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001344/0.1323, allocations: 15.98 kB / 471.5 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.911e-05/0.1323, allocations: 23.86 kB / 471.5 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.455e-05/0.1324, allocations: 19.86 kB / 471.6 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.857e-05/0.1325, allocations: 4 kB / 471.6 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.797e-05/0.1326, allocations: 31.98 kB / 471.6 MB, free: 12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.471e-05/0.1326, allocations: 11.94 kB / 471.6 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.469e-05/0.1327, allocations: 19.86 kB / 471.6 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001846/0.1329, allocations: 76.06 kB / 471.7 MB, free: 11.9 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1329, allocations: 0 / 471.7 MB, free: 11.9 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.1329, allocations: 0 / 471.7 MB, free: 11.9 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.1329, allocations: 4 kB / 471.7 MB, free: 11.89 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005341/0.1334, allocations: 379.1 kB / 472.1 MB, free: 11.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.715e-05/0.1335, allocations: 11.97 kB / 472.1 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.026e-05/0.1336, allocations: 42.73 kB / 472.1 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.258e-05/0.1336, allocations: 8.844 kB / 472.1 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000238/0.1339, allocations: 180.3 kB / 472.3 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.1339, allocations: 384 / 472.3 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.266e-05/0.1339, allocations: 4.375 kB / 472.3 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001675/0.1341, allocations: 53.61 kB / 472.4 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.1341, allocations: 4 kB / 472.4 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.1341, allocations: 4 kB / 472.4 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/0.1341, allocations: 0 / 472.4 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.997e-05/0.1343, allocations: 23.92 kB / 472.4 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004115/0.1347, allocations: 284.8 kB / 472.7 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002375/0.1349, allocations: 38.56 kB / 472.7 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.18e-05/0.135, allocations: 8.859 kB / 472.7 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.449e-05/0.135, allocations: 4.094 kB / 472.7 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.67e-05/0.1351, allocations: 42.55 kB / 472.8 MB, free: 10.66 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.232e-06/0.1351, allocations: 3.938 kB / 472.8 MB, free: 10.65 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005961/0.1357, allocations: 129.4 kB / 472.9 MB, free: 10.52 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.106e-05/0.1357, allocations: 55.41 kB / 473 MB, free: 10.45 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001451/0.1359, allocations: 156 kB / 473.1 MB, free: 10.29 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/0.1359, allocations: 33.7 kB / 473.1 MB, free: 10.25 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.156e-05/0.136, allocations: 96.12 kB / 473.2 MB, free: 10.16 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.356e-05/0.136, allocations: 11.75 kB / 473.3 MB, free: 10.14 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.576e-05/0.136, allocations: 17.72 kB / 473.3 MB, free: 10.12 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.1361, allocations: 326.8 kB / 473.6 MB, free: 9.793 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.888e-05/0.1362, allocations: 23.92 kB / 473.6 MB, free: 9.77 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.601e-05/0.1363, allocations: 11.98 kB / 473.6 MB, free: 9.758 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001283/0.1364, allocations: 60.95 kB / 473.7 MB, free: 9.695 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.1364, allocations: 0 / 473.7 MB, free: 9.695 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001792/0.1366, allocations: 77.58 kB / 473.8 MB, free: 9.613 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.1366, allocations: 4 kB / 473.8 MB, free: 9.609 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.1367, allocations: 0 / 473.8 MB, free: 9.609 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.1367, allocations: 3.938 kB / 473.8 MB, free: 9.605 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.354e-05/0.1367, allocations: 15.98 kB / 473.8 MB, free: 9.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.379e-06/0.1367, allocations: 0 / 473.8 MB, free: 9.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.11e-05/0.1368, allocations: 15.94 kB / 473.8 MB, free: 9.574 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.283e-06/0.1368, allocations: 3.984 kB / 473.8 MB, free: 9.57 MB / 350.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 (5): * Single equations (assignments): 5 * 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 7.338e-05/0.1369, allocations: 113.8 kB / 473.9 MB, free: 9.449 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.571e-05/0.1369, allocations: 7.906 kB / 473.9 MB, free: 9.441 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002472/0.1372, allocations: 89.95 kB / 474 MB, free: 9.348 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.1372, allocations: 0 / 474 MB, free: 9.348 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.1372, allocations: 0 / 474 MB, free: 9.348 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.246e-06/0.1372, allocations: 16.16 kB / 474 MB, free: 9.332 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004442/0.1377, allocations: 334.6 kB / 474.3 MB, free: 8.949 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.237e-06/0.1377, allocations: 4 kB / 474.4 MB, free: 8.945 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.575e-05/0.1378, allocations: 11.98 kB / 474.4 MB, free: 8.934 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.1378, allocations: 0 / 474.4 MB, free: 8.934 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.1378, allocations: 7.922 kB / 474.4 MB, free: 8.926 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.1378, allocations: 0 / 474.4 MB, free: 8.926 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.1378, allocations: 4 kB / 474.4 MB, free: 8.922 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002655/0.1381, allocations: 183.5 kB / 474.6 MB, free: 8.727 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.574e-05/0.1381, allocations: 85.02 kB / 474.6 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.9e-05/0.1382, allocations: 3.938 kB / 474.6 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.876e-05/0.1382, allocations: 7.984 kB / 474.7 MB, free: 8.613 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.764e-05/0.1383, allocations: 4 kB / 474.7 MB, free: 8.609 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-06/0.1383, allocations: 8 kB / 474.7 MB, free: 8.602 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.482e-05/0.1384, allocations: 117.1 kB / 474.8 MB, free: 8.488 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.1384, allocations: 0 / 474.8 MB, free: 8.488 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002427/0.1387, allocations: 16 kB / 474.8 MB, free: 8.473 MB / 350.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 (5): * Single equations (assignments): 5 * 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.001309/0.14, allocations: 1.011 MB / 475.8 MB, free: 7.594 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002102/0.1402, allocations: 55.89 kB / 475.9 MB, free: 7.539 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1402, allocations: 0 / 475.9 MB, free: 7.539 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.772e-05/0.1403, allocations: 27.92 kB / 475.9 MB, free: 7.512 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000371/0.1407, allocations: 17.48 kB / 475.9 MB, free: 7.5 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001629/0.1423, allocations: 1.42 MB / 477.3 MB, free: 6 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002714/0.1426, allocations: 0.6977 MB / 478 MB, free: 5.277 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.365e-05/0.1426, allocations: 8 kB / 478 MB, free: 5.27 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.192e-05/0.1427, allocations: 23.42 kB / 478.1 MB, free: 5.246 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1427, allocations: 0 / 478.1 MB, free: 5.246 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01974/0.1625, allocations: 2.444 MB / 480.5 MB, free: 2.871 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.527/7.689, allocations: 15.08 kB / 480.5 MB, free: 2.859 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test8.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches