Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.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.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00115/0.00115, allocations: 104.4 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.001418/0.001418, 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.498/1.498, allocations: 227.4 MB / 246.8 MB, free: 10.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2098/0.2098, allocations: 46.09 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001509/0.001509, allocations: 77.83 kB / 417.7 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1103, allocations: 62.45 MB / 480.1 MB, free: 5.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test4): time 0.003161/0.1135, allocations: 1.643 MB / 481.8 MB, free: 3.523 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001036/0.1145, allocations: 0.5533 MB / 482.3 MB, free: 2.965 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.172e-05/0.1146, allocations: 7.938 kB / 482.3 MB, free: 2.957 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002968/0.1149, allocations: 91.73 kB / 482.4 MB, free: 2.867 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003131/0.1153, allocations: 107.6 kB / 482.5 MB, free: 2.762 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003477/0.1156, allocations: 119.6 kB / 482.6 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001846/0.1158, allocations: 107.8 kB / 482.8 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.1159, allocations: 20.28 kB / 482.8 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.989e-05/0.116, allocations: 47.77 kB / 482.8 MB, free: 2.473 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001203/0.1161, allocations: 63.8 kB / 482.9 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.995e-05/0.1162, allocations: 12 kB / 482.9 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001032/0.1163, allocations: 43.98 kB / 482.9 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.196e-05/0.1163, allocations: 31.86 kB / 483 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.055e-05/0.1164, allocations: 43.67 kB / 483 MB, free: 2.281 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000202/0.1166, allocations: 127.5 kB / 483.1 MB, free: 2.156 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1166, allocations: 0 / 483.1 MB, free: 2.156 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1166, allocations: 0 / 483.1 MB, free: 2.156 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.061e-06/0.1166, allocations: 0 / 483.1 MB, free: 2.156 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000541/0.1172, allocations: 438.8 kB / 483.6 MB, free: 1.68 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.1172, allocations: 12.03 kB / 483.6 MB, free: 1.668 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.903e-05/0.1173, allocations: 34.75 kB / 483.6 MB, free: 1.625 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.28e-05/0.1173, allocations: 12.84 kB / 483.6 MB, free: 1.613 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002305/0.1176, allocations: 211.9 kB / 483.8 MB, free: 1.367 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/0.1176, allocations: 8.312 kB / 483.8 MB, free: 1.359 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.803e-05/0.1176, allocations: 8.375 kB / 483.8 MB, free: 1.352 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001865/0.1178, allocations: 84.78 kB / 483.9 MB, free: 1.266 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.1178, allocations: 0 / 483.9 MB, free: 1.266 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.1179, allocations: 4 kB / 483.9 MB, free: 1.262 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.1179, allocations: 0 / 483.9 MB, free: 1.262 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000125/0.118, allocations: 51.94 kB / 484 MB, free: 1.211 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004776/0.1185, allocations: 340.6 kB / 484.3 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001446/0.1187, allocations: 70.48 kB / 484.4 MB, free: 0.75 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.364e-05/0.1187, allocations: 28.84 kB / 484.4 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.525e-05/0.1188, allocations: 4 kB / 484.4 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.505e-05/0.1188, allocations: 34.56 kB / 484.5 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.1188, allocations: 0 / 484.5 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001082/0.1199, allocations: 344.8 kB / 484.8 MB, free: 336 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.971e-05/0.1199, allocations: 55.41 kB / 484.8 MB, free: 268 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002025/0.1201, allocations: 236.3 kB / 485.1 MB, free: 20 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.098e-05/0.1202, allocations: 29.7 kB / 485.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.103e-05/0.1202, allocations: 112 kB / 485.2 MB, free: 15.87 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.012e-05/0.1203, allocations: 47.28 kB / 485.3 MB, free: 15.82 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.923e-05/0.1203, allocations: 33.7 kB / 485.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001065/0.1205, allocations: 330.8 kB / 485.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001079/0.1206, allocations: 43.97 kB / 485.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001068/0.1207, allocations: 48.09 kB / 485.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002146/0.1209, allocations: 104.8 kB / 485.8 MB, free: 15.26 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.1209, allocations: 0 / 485.8 MB, free: 15.26 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002911/0.1212, allocations: 164.6 kB / 486 MB, free: 15.09 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.1212, allocations: 11.94 kB / 486 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.1212, allocations: 3.938 kB / 486 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.1213, allocations: 0 / 486 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000139/0.1214, allocations: 23.98 kB / 486 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.1214, allocations: 0 / 486 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.649e-05/0.1215, allocations: 4 kB / 486 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.425e-05/0.1215, allocations: 11.98 kB / 486 MB, free: 15.04 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 (13): * Single equations (assignments): 13 * 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.0001069/0.1216, allocations: 133.8 kB / 486.2 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.099e-05/0.1217, allocations: 15.81 kB / 486.2 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003799/0.122, allocations: 191.7 kB / 486.4 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.1221, allocations: 0 / 486.4 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.1221, allocations: 4 kB / 486.4 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.1221, allocations: 0 / 486.4 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006465/0.1227, allocations: 499.1 kB / 486.8 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.1227, allocations: 0 / 486.8 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001006/0.1229, allocations: 35.92 kB / 486.9 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.1229, allocations: 11.86 kB / 486.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.1229, allocations: 4 kB / 486.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.1229, allocations: 4 kB / 486.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.1229, allocations: 3.984 kB / 486.9 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003209/0.1232, allocations: 252.2 kB / 487.1 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.394e-05/0.1233, allocations: 88.92 kB / 487.2 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.505e-05/0.1233, allocations: 7.984 kB / 487.2 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.108e-05/0.1234, allocations: 8 kB / 487.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.923e-05/0.1235, allocations: 11.92 kB / 487.3 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.386e-06/0.1235, allocations: 8 kB / 487.3 MB, free: 13.68 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001527/0.1236, allocations: 181.2 kB / 487.4 MB, free: 13.5 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1236, allocations: 0 / 487.4 MB, free: 13.5 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000272/0.1239, allocations: 24 kB / 487.5 MB, free: 13.48 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 (13): * Single equations (assignments): 13 * 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.001614/0.1255, allocations: 1.139 MB / 488.6 MB, free: 12.48 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003092/0.1259, allocations: 119.9 kB / 488.7 MB, free: 12.36 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1259, allocations: 4 kB / 488.7 MB, free: 12.36 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001225/0.126, allocations: 55.97 kB / 488.8 MB, free: 12.3 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000381/0.1264, allocations: 27.33 kB / 488.8 MB, free: 12.28 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002107/0.1285, allocations: 1.897 MB / 490.7 MB, free: 10.29 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003259/0.1288, allocations: 0.7313 MB / 491.4 MB, free: 9.535 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.57e-05/0.129, allocations: 28.53 kB / 491.5 MB, free: 9.508 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.12e-05/0.129, allocations: 47.41 kB / 491.5 MB, free: 9.461 MB / 366.1 MB Notification: Performance of SimCode: time 9.42e-07/0.129, allocations: 0 / 491.5 MB, free: 9.461 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02086/0.1499, allocations: 3.504 MB / 495 MB, free: 6.012 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.469/7.618, allocations: 9.078 kB / 495 MB, free: 6.004 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test4.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches