Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.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.Test20,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test20,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test20",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001635/0.001635, 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.001947/0.001947, 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.48/1.48, allocations: 227.4 MB / 246.8 MB, free: 10.65 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2223/0.2223, allocations: 46.09 MB / 344.1 MB, free: 11.64 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001416/0.001416, allocations: 75.59 kB / 417.7 MB, free: 19.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1233, allocations: 62.45 MB / 480.1 MB, free: 5.219 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test20): time 0.002742/0.1261, allocations: 1.588 MB / 481.7 MB, free: 3.617 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001576/0.1277, allocations: 1.171 MB / 482.9 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.375e-05/0.1278, allocations: 0 / 482.9 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002179/0.128, allocations: 27.84 kB / 482.9 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002771/0.1283, allocations: 87.62 kB / 483 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002734/0.1286, allocations: 111.7 kB / 483.1 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001436/0.1287, allocations: 63.89 kB / 483.2 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.951e-05/0.1288, allocations: 8 kB / 483.2 MB, free: 2.145 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.499e-05/0.1289, allocations: 31.86 kB / 483.2 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001524/0.1291, allocations: 43.52 kB / 483.3 MB, free: 2.074 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.908e-05/0.1291, allocations: 4 kB / 483.3 MB, free: 2.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001608/0.1293, allocations: 95.94 kB / 483.4 MB, free: 1.977 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.024e-05/0.1293, allocations: 7.938 kB / 483.4 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.144e-05/0.1294, allocations: 35.78 kB / 483.4 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002198/0.1296, allocations: 124 kB / 483.5 MB, free: 1.812 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.1296, allocations: 8 kB / 483.5 MB, free: 1.805 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1296, allocations: 0 / 483.5 MB, free: 1.805 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.88e-06/0.1296, allocations: 0 / 483.5 MB, free: 1.805 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.0004731/0.1301, allocations: 403.1 kB / 483.9 MB, free: 1.363 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.1301, allocations: 8.031 kB / 483.9 MB, free: 1.355 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.463e-05/0.1302, allocations: 38.75 kB / 484 MB, free: 1.309 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.196e-05/0.1302, allocations: 4.844 kB / 484 MB, free: 1.305 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001811/0.1304, allocations: 206.7 kB / 484.2 MB, free: 1.066 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.566e-06/0.1304, allocations: 384 / 484.2 MB, free: 1.066 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.606e-05/0.1304, allocations: 4.375 kB / 484.2 MB, free: 1.062 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001422/0.1306, allocations: 71.33 kB / 484.2 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.1306, allocations: 0 / 484.2 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.827e-06/0.1306, allocations: 0 / 484.2 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.1306, allocations: 0 / 484.2 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.878e-05/0.1307, allocations: 23.98 kB / 484.3 MB, free: 0.957 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003352/0.1311, allocations: 284.8 kB / 484.5 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000183/0.1313, allocations: 50.55 kB / 484.6 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.628e-05/0.1313, allocations: 12.86 kB / 484.6 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.977e-05/0.1314, allocations: 4.078 kB / 484.6 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.298e-05/0.1314, allocations: 34.56 kB / 484.6 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.363e-06/0.1314, allocations: 7.938 kB / 484.7 MB, free: 0.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005616/0.132, allocations: 153.2 kB / 484.8 MB, free: 352 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.127e-05/0.132, allocations: 85.05 kB / 484.9 MB, free: 248 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001473/0.1322, allocations: 144.2 kB / 485 MB, free: 96 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.452e-05/0.1322, allocations: 25.7 kB / 485.1 MB, free: 64 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.897e-05/0.1323, allocations: 96.12 kB / 485.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.209e-05/0.1323, allocations: 15.72 kB / 485.2 MB, free: 15.95 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.516e-05/0.1324, allocations: 21.72 kB / 485.2 MB, free: 15.92 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.1325, allocations: 322.8 kB / 485.5 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.442e-05/0.1326, allocations: 23.92 kB / 485.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.622e-05/0.1326, allocations: 33.7 kB / 485.6 MB, free: 15.54 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001384/0.1328, allocations: 56.84 kB / 485.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1328, allocations: 0 / 485.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002085/0.133, allocations: 81.92 kB / 485.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.133, allocations: 4 kB / 485.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.133, allocations: 0 / 485.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.1331, allocations: 3.984 kB / 485.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.687e-05/0.1331, allocations: 20.22 kB / 485.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.1331, allocations: 0 / 485.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.271e-05/0.1332, allocations: 15.83 kB / 485.7 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.964e-06/0.1332, allocations: 4 kB / 485.7 MB, free: 15.34 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 (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 8.984e-05/0.1333, allocations: 113.8 kB / 485.8 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.401e-05/0.1334, allocations: 4 kB / 485.9 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002585/0.1336, allocations: 109.8 kB / 486 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.1336, allocations: 0 / 486 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.1336, allocations: 0 / 486 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.1336, allocations: 3.938 kB / 486 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004216/0.1341, allocations: 366.5 kB / 486.3 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.1341, allocations: 0 / 486.3 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.453e-05/0.1342, allocations: 11.98 kB / 486.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.1342, allocations: 0 / 486.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.325e-06/0.1342, allocations: 3.938 kB / 486.3 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.1342, allocations: 4 kB / 486.3 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1342, allocations: 0 / 486.3 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002273/0.1344, allocations: 183.4 kB / 486.5 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.886e-05/0.1345, allocations: 85.11 kB / 486.6 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.635e-05/0.1345, allocations: 3.938 kB / 486.6 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.675e-05/0.1346, allocations: 11.92 kB / 486.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.724e-05/0.1346, allocations: 4 kB / 486.6 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.998e-06/0.1346, allocations: 192 / 486.6 MB, free: 14.35 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.341e-05/0.1347, allocations: 121.3 kB / 486.7 MB, free: 14.23 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1347, allocations: 0 / 486.7 MB, free: 14.23 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002808/0.135, allocations: 39.94 kB / 486.8 MB, free: 14.2 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 (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.001499/0.1365, allocations: 1.099 MB / 487.9 MB, free: 13.23 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002105/0.1368, allocations: 63.89 kB / 487.9 MB, free: 13.17 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1368, allocations: 0 / 487.9 MB, free: 13.17 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.843e-05/0.1369, allocations: 23.98 kB / 488 MB, free: 13.15 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003317/0.1372, allocations: 26.14 kB / 488 MB, free: 13.13 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00156/0.1388, allocations: 1.44 MB / 489.4 MB, free: 11.61 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002193/0.139, allocations: 0.6885 MB / 490.1 MB, free: 10.89 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.954e-05/0.1391, allocations: 15.98 kB / 490.1 MB, free: 10.88 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.442e-05/0.1392, allocations: 27.42 kB / 490.2 MB, free: 10.85 MB / 366.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1392, allocations: 4 kB / 490.2 MB, free: 10.85 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02082/0.16, allocations: 3.156 MB / 493.3 MB, free: 7.75 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.688/7.848, allocations: 15.73 kB / 493.3 MB, free: 7.738 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test20.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches