Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.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.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001292/0.001292, 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.001399/0.001399, 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.44/1.44, 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.2419/0.2419, allocations: 46.11 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001694/0.001694, allocations: 76.47 kB / 417.7 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.1147, allocations: 62.43 MB / 480.1 MB, free: 5.188 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.003285/0.1181, allocations: 1.599 MB / 481.7 MB, free: 3.578 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00102/0.1191, allocations: 0.5378 MB / 482.3 MB, free: 3.035 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.153e-05/0.1192, allocations: 3.938 kB / 482.3 MB, free: 3.031 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001973/0.1194, allocations: 23.8 kB / 482.3 MB, free: 3.008 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003139/0.1198, allocations: 83.61 kB / 482.4 MB, free: 2.926 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003484/0.1201, allocations: 103.5 kB / 482.5 MB, free: 2.828 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001619/0.1203, allocations: 67.83 kB / 482.5 MB, free: 2.762 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.1204, allocations: 19.98 kB / 482.6 MB, free: 2.742 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.755e-05/0.1205, allocations: 27.84 kB / 482.6 MB, free: 2.715 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.89e-05/0.1206, allocations: 19.88 kB / 482.6 MB, free: 2.695 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.61e-05/0.1206, allocations: 4 kB / 482.6 MB, free: 2.691 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001037/0.1207, allocations: 31.98 kB / 482.6 MB, free: 2.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.492e-05/0.1208, allocations: 15.97 kB / 482.7 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.259e-05/0.1208, allocations: 23.75 kB / 482.7 MB, free: 2.621 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001918/0.121, allocations: 84.08 kB / 482.8 MB, free: 2.539 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.121, allocations: 0 / 482.8 MB, free: 2.539 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.121, allocations: 0 / 482.8 MB, free: 2.539 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.121, allocations: 0 / 482.8 MB, free: 2.539 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.0005472/0.1216, allocations: 383.1 kB / 483.1 MB, free: 2.117 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.986e-05/0.1216, allocations: 12.03 kB / 483.1 MB, free: 2.105 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.244e-05/0.1217, allocations: 30.75 kB / 483.2 MB, free: 2.066 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.847e-05/0.1218, allocations: 12.83 kB / 483.2 MB, free: 2.055 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002363/0.122, allocations: 190.7 kB / 483.4 MB, free: 1.832 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.122, allocations: 4.375 kB / 483.4 MB, free: 1.828 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.256e-05/0.1221, allocations: 4.375 kB / 483.4 MB, free: 1.824 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001608/0.1222, allocations: 57.55 kB / 483.4 MB, free: 1.762 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.1222, allocations: 4 kB / 483.4 MB, free: 1.758 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.858e-06/0.1223, allocations: 0 / 483.4 MB, free: 1.758 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.1223, allocations: 0 / 483.4 MB, free: 1.758 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001145/0.1224, allocations: 19.98 kB / 483.5 MB, free: 1.738 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004389/0.1228, allocations: 284.9 kB / 483.7 MB, free: 1.41 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002347/0.1231, allocations: 50.5 kB / 483.8 MB, free: 1.352 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.692e-05/0.1232, allocations: 16.94 kB / 483.8 MB, free: 1.332 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.539e-05/0.1232, allocations: 0 / 483.8 MB, free: 1.332 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.34e-05/0.1232, allocations: 30.56 kB / 483.8 MB, free: 1.293 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.1232, allocations: 0 / 483.8 MB, free: 1.293 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006407/0.1239, allocations: 157.2 kB / 484 MB, free: 1.133 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.967e-05/0.1239, allocations: 55.41 kB / 484 MB, free: 1.066 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001542/0.1241, allocations: 152.5 kB / 484.2 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.423e-05/0.1241, allocations: 25.7 kB / 484.2 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.327e-05/0.1242, allocations: 92.14 kB / 484.3 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.774e-05/0.1242, allocations: 15.8 kB / 484.3 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.716e-05/0.1243, allocations: 21.72 kB / 484.3 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.1244, allocations: 322.8 kB / 484.7 MB, free: 428 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.57e-05/0.1245, allocations: 19.98 kB / 484.7 MB, free: 408 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.452e-05/0.1245, allocations: 27.86 kB / 484.7 MB, free: 380 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001486/0.1247, allocations: 60.95 kB / 484.8 MB, free: 316 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.1247, allocations: 0 / 484.8 MB, free: 316 kB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001946/0.1249, allocations: 89.56 kB / 484.9 MB, free: 220 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.1249, allocations: 8 kB / 484.9 MB, free: 212 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.1249, allocations: 0 / 484.9 MB, free: 212 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.125, allocations: 0 / 484.9 MB, free: 212 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.745e-05/0.125, allocations: 11.98 kB / 484.9 MB, free: 200 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.125, allocations: 0 / 484.9 MB, free: 200 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.232e-05/0.1251, allocations: 7.938 kB / 484.9 MB, free: 192 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.1251, allocations: 7.938 kB / 484.9 MB, free: 184 kB / 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 8.233e-05/0.1252, allocations: 121.8 kB / 485 MB, free: 52 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.561e-05/0.1252, allocations: 7.906 kB / 485 MB, free: 44 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002541/0.1255, allocations: 93.91 kB / 485.1 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.1255, allocations: 4 kB / 485.1 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.1255, allocations: 3.984 kB / 485.1 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.1255, allocations: 0 / 485.1 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004218/0.126, allocations: 370.3 kB / 485.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.126, allocations: 0 / 485.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.771e-05/0.126, allocations: 12 kB / 485.5 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.1261, allocations: 0 / 485.5 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.378e-06/0.1261, allocations: 3.984 kB / 485.5 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.1261, allocations: 3.938 kB / 485.5 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1261, allocations: 0 / 485.5 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002337/0.1263, allocations: 187.9 kB / 485.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.229e-05/0.1264, allocations: 81.11 kB / 485.8 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.105e-05/0.1264, allocations: 4 kB / 485.8 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.227e-05/0.1265, allocations: 11.92 kB / 485.8 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.689e-05/0.1265, allocations: 7.922 kB / 485.8 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.518e-06/0.1265, allocations: 0 / 485.8 MB, free: 15.18 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.217e-05/0.1266, allocations: 118 kB / 485.9 MB, free: 15.07 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1266, allocations: 0 / 485.9 MB, free: 15.07 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002572/0.1269, allocations: 27.89 kB / 485.9 MB, free: 15.04 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.001503/0.1284, allocations: 0.998 MB / 486.9 MB, free: 14.15 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002468/0.1287, allocations: 67.84 kB / 487 MB, free: 14.09 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.1287, allocations: 0 / 487 MB, free: 14.09 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.752e-05/0.1288, allocations: 27.97 kB / 487 MB, free: 14.06 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004094/0.1292, allocations: 20.97 kB / 487 MB, free: 14.04 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00183/0.1311, allocations: 1.458 MB / 488.5 MB, free: 12.5 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000276/0.1313, allocations: 0.6924 MB / 489.2 MB, free: 11.78 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.811e-05/0.1314, allocations: 16.05 kB / 489.2 MB, free: 11.77 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.364e-05/0.1315, allocations: 23.44 kB / 489.2 MB, free: 11.74 MB / 366.1 MB Notification: Performance of SimCode: time 1.953e-06/0.1315, allocations: 4 kB / 489.2 MB, free: 11.74 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0204/0.1519, allocations: 2.489 MB / 491.7 MB, free: 9.305 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.451/7.603, allocations: 1.078 kB / 491.7 MB, free: 9.305 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1_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_trunk_ModelicaTest_Tables_CombiTable1Dv_Test1.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches