Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_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.001429/0.00143, 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.001833/0.001833, 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.46/1.46, 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.2435/0.2435, allocations: 46.11 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001415, allocations: 74.41 kB / 417.7 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1086, allocations: 62.45 MB / 480.1 MB, free: 5.199 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test4): time 0.003281/0.1119, allocations: 1.655 MB / 481.8 MB, free: 3.531 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00109/0.113, allocations: 0.5532 MB / 482.3 MB, free: 2.973 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.161e-05/0.1131, allocations: 0 / 482.3 MB, free: 2.973 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005049/0.1136, allocations: 451.1 kB / 482.8 MB, free: 2.531 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004621/0.1141, allocations: 295.3 kB / 483.1 MB, free: 2.242 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003457/0.1145, allocations: 131.3 kB / 483.2 MB, free: 2.117 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002438/0.1147, allocations: 171.7 kB / 483.4 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.1148, allocations: 12 kB / 483.4 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001452/0.115, allocations: 111.8 kB / 483.5 MB, free: 1.828 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002305/0.1152, allocations: 207.6 kB / 483.7 MB, free: 1.625 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.175e-05/0.1153, allocations: 8 kB / 483.7 MB, free: 1.617 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001077/0.1154, allocations: 43.97 kB / 483.7 MB, free: 1.574 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001018/0.1155, allocations: 75.7 kB / 483.8 MB, free: 1.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.058e-05/0.1156, allocations: 106.9 kB / 483.9 MB, free: 1.395 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002744/0.1159, allocations: 259.2 kB / 484.2 MB, free: 1.141 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.1159, allocations: 0 / 484.2 MB, free: 1.141 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1159, allocations: 0 / 484.2 MB, free: 1.141 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.855e-06/0.1159, allocations: 0 / 484.2 MB, free: 1.141 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000688/0.1166, allocations: 0.6453 MB / 484.8 MB, free: 456 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.1166, allocations: 12.03 kB / 484.8 MB, free: 444 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.555e-05/0.1167, allocations: 34.75 kB / 484.9 MB, free: 400 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.268e-05/0.1167, allocations: 40.38 kB / 484.9 MB, free: 360 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002489/0.117, allocations: 300.1 kB / 485.2 MB, free: 20 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.257e-06/0.117, allocations: 4.375 kB / 485.2 MB, free: 16 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.812e-05/0.117, allocations: 4.375 kB / 485.2 MB, free: 12 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001522/0.1172, allocations: 53.61 kB / 485.3 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.1172, allocations: 0 / 485.3 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.1172, allocations: 7.938 kB / 485.3 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.1173, allocations: 3.984 kB / 485.3 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.366e-05/0.1174, allocations: 31.92 kB / 485.3 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004265/0.1178, allocations: 396.5 kB / 485.7 MB, free: 15.47 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001978/0.118, allocations: 46.56 kB / 485.7 MB, free: 15.42 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.004e-05/0.1181, allocations: 20.88 kB / 485.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.677e-05/0.1181, allocations: 4 kB / 485.8 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.121e-05/0.1181, allocations: 30.56 kB / 485.8 MB, free: 15.35 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.293e-06/0.1181, allocations: 0 / 485.8 MB, free: 15.35 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006102/0.1187, allocations: 228 kB / 486 MB, free: 15.12 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.658e-05/0.1188, allocations: 55.41 kB / 486.1 MB, free: 15.05 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007638/0.1195, allocations: 0.8776 MB / 486.9 MB, free: 14.17 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.587e-05/0.1196, allocations: 29.7 kB / 487 MB, free: 14.13 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001625/0.1197, allocations: 224.1 kB / 487.2 MB, free: 13.91 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.928e-05/0.1198, allocations: 15.66 kB / 487.2 MB, free: 13.89 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.284e-05/0.1198, allocations: 25.7 kB / 487.2 MB, free: 13.86 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.12, allocations: 358.8 kB / 487.6 MB, free: 13.5 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.19e-05/0.12, allocations: 15.98 kB / 487.6 MB, free: 13.49 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.348e-05/0.1201, allocations: 19.98 kB / 487.6 MB, free: 13.47 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001379/0.1203, allocations: 48.83 kB / 487.7 MB, free: 13.42 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.1203, allocations: 0 / 487.7 MB, free: 13.42 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002307/0.1205, allocations: 113.4 kB / 487.8 MB, free: 13.3 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.1205, allocations: 6.344 kB / 487.8 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.1205, allocations: 7.984 kB / 487.8 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.1206, allocations: 4 kB / 487.8 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.89e-05/0.1206, allocations: 12 kB / 487.8 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.022e-06/0.1207, allocations: 0 / 487.8 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.856e-05/0.1207, allocations: 19.83 kB / 487.8 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.251e-06/0.1207, allocations: 0 / 487.8 MB, free: 13.25 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 0.0001838/0.1209, allocations: 205.8 kB / 488 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.023e-05/0.121, allocations: 39.53 kB / 488.1 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002941/0.1213, allocations: 145.1 kB / 488.2 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.1213, allocations: 4 kB / 488.2 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.1213, allocations: 0 / 488.2 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.471e-06/0.1213, allocations: 3.938 kB / 488.2 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005294/0.1219, allocations: 462.4 kB / 488.7 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.1219, allocations: 4 kB / 488.7 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.141e-05/0.122, allocations: 15.92 kB / 488.7 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.122, allocations: 3.938 kB / 488.7 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.122, allocations: 7.938 kB / 488.7 MB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.122, allocations: 4 kB / 488.7 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.122, allocations: 0 / 488.7 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002515/0.1223, allocations: 215 kB / 488.9 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.472e-05/0.1223, allocations: 108.5 kB / 489 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.974e-05/0.1224, allocations: 3.938 kB / 489 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.2e-05/0.1225, allocations: 12.17 kB / 489 MB, free: 11.94 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.108e-05/0.1225, allocations: 8 kB / 489 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.641e-06/0.1225, allocations: 4 kB / 489 MB, free: 11.93 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005701/0.1231, allocations: 0.6589 MB / 489.7 MB, free: 11.27 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1231, allocations: 0 / 489.7 MB, free: 11.27 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002617/0.1234, allocations: 28 kB / 489.7 MB, free: 11.24 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.001253/0.1246, allocations: 1.03 MB / 490.8 MB, free: 10.32 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000186/0.1248, allocations: 43.97 kB / 490.8 MB, free: 10.28 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1248, allocations: 0 / 490.8 MB, free: 10.28 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.616e-05/0.1249, allocations: 27.92 kB / 490.8 MB, free: 10.25 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003883/0.1253, allocations: 30.53 kB / 490.9 MB, free: 10.22 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003338/0.1287, allocations: 3.276 MB / 494.1 MB, free: 6.848 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003644/0.1291, allocations: 0.8221 MB / 494.9 MB, free: 6 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.437e-05/0.1291, allocations: 20.03 kB / 495 MB, free: 5.98 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001176/0.1292, allocations: 107.3 kB / 495.1 MB, free: 5.875 MB / 366.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1292, allocations: 0 / 495.1 MB, free: 5.875 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02933/0.1586, allocations: 5.898 MB / 0.4892 GB, free: 28 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.023/8.181, allocations: 16.64 kB / 0.4892 GB, free: 16 kB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test4.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches