Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test6,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test6,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test6",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.001587/0.001587, allocations: 105.6 kB / 16.27 MB, free: 6.41 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.001779/0.001779, allocations: 191.8 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.543/1.543, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2336/0.2336, allocations: 43.51 MB / 313.9 MB, free: 0.5391 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001535/0.001536, allocations: 72.84 kB / 382.8 MB, free: 56.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1137, allocations: 57.79 MB / 440.6 MB, free: 6.805 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test6): time 0.003279/0.117, allocations: 1.57 MB / 442.2 MB, free: 5.219 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006566/0.1177, allocations: 319.5 kB / 442.5 MB, free: 4.902 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.85e-05/0.1178, allocations: 0 / 442.5 MB, free: 4.902 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003269/0.1182, allocations: 99.73 kB / 442.6 MB, free: 4.805 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00024/0.1184, allocations: 75.72 kB / 442.7 MB, free: 4.73 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002635/0.1187, allocations: 63.84 kB / 442.7 MB, free: 4.668 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001848/0.1189, allocations: 75.88 kB / 442.8 MB, free: 4.594 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001193/0.119, allocations: 28.11 kB / 442.8 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.51e-05/0.1191, allocations: 35.84 kB / 442.9 MB, free: 4.531 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.976e-05/0.1192, allocations: 55.83 kB / 442.9 MB, free: 4.477 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.1192, allocations: 0 / 442.9 MB, free: 4.477 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.907e-05/0.1193, allocations: 31.97 kB / 443 MB, free: 4.445 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.311e-05/0.1194, allocations: 23.92 kB / 443 MB, free: 4.422 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.003e-05/0.1195, allocations: 27.75 kB / 443 MB, free: 4.395 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001693/0.1196, allocations: 103.7 kB / 443.1 MB, free: 4.293 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.1196, allocations: 0 / 443.1 MB, free: 4.293 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.1196, allocations: 4 kB / 443.1 MB, free: 4.289 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.1197, allocations: 0 / 443.1 MB, free: 4.289 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004181/0.1201, allocations: 414.8 kB / 443.5 MB, free: 3.836 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.1201, allocations: 15.89 kB / 443.5 MB, free: 3.82 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.049e-05/0.1202, allocations: 38.73 kB / 443.6 MB, free: 3.773 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.758e-05/0.1202, allocations: 12.75 kB / 443.6 MB, free: 3.762 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001728/0.1204, allocations: 200.1 kB / 443.8 MB, free: 3.527 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.1204, allocations: 4.375 kB / 443.8 MB, free: 3.523 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.773e-05/0.1204, allocations: 8.125 kB / 443.8 MB, free: 3.516 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001546/0.1206, allocations: 53.69 kB / 443.8 MB, free: 3.457 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.1206, allocations: 3.906 kB / 443.9 MB, free: 3.453 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.1206, allocations: 0 / 443.9 MB, free: 3.453 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.79e-06/0.1207, allocations: 7.984 kB / 443.9 MB, free: 3.445 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001032/0.1208, allocations: 31.92 kB / 443.9 MB, free: 3.414 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003308/0.1211, allocations: 300.8 kB / 444.2 MB, free: 3.07 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001088/0.1212, allocations: 54.56 kB / 444.2 MB, free: 3.008 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.857e-05/0.1213, allocations: 24.91 kB / 444.3 MB, free: 2.98 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.543e-05/0.1213, allocations: 0 / 444.3 MB, free: 2.98 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.561e-05/0.1213, allocations: 38.5 kB / 444.3 MB, free: 2.934 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.1213, allocations: 0 / 444.3 MB, free: 2.934 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005763/0.1219, allocations: 197.1 kB / 444.5 MB, free: 2.734 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.49e-05/0.122, allocations: 51.41 kB / 444.5 MB, free: 2.672 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001642/0.1221, allocations: 235.5 kB / 444.8 MB, free: 2.434 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.868e-06/0.1221, allocations: 29.7 kB / 444.8 MB, free: 2.398 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.593e-05/0.1222, allocations: 108.1 kB / 444.9 MB, free: 2.289 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.761e-05/0.1222, allocations: 19.56 kB / 444.9 MB, free: 2.27 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.759e-05/0.1223, allocations: 25.72 kB / 445 MB, free: 2.238 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.524e-05/0.1224, allocations: 326.8 kB / 445.3 MB, free: 1.91 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.451e-05/0.1224, allocations: 23.97 kB / 445.3 MB, free: 1.887 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.472e-05/0.1225, allocations: 23.98 kB / 445.3 MB, free: 1.863 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001312/0.1226, allocations: 60.83 kB / 445.4 MB, free: 1.801 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1227, allocations: 3.938 kB / 445.4 MB, free: 1.797 MB / 318.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001818/0.1228, allocations: 105.5 kB / 445.5 MB, free: 1.688 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.1229, allocations: 8 kB / 445.5 MB, free: 1.68 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.952e-06/0.1229, allocations: 0 / 445.5 MB, free: 1.68 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.1229, allocations: 3.984 kB / 445.5 MB, free: 1.676 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001071/0.123, allocations: 15.98 kB / 445.5 MB, free: 1.66 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.123, allocations: 3.938 kB / 445.5 MB, free: 1.656 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.183e-05/0.1231, allocations: 7.984 kB / 445.5 MB, free: 1.648 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/0.1231, allocations: 4 kB / 445.5 MB, free: 1.645 MB / 318.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 (8): * Single equations (assignments): 8 * 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.717e-05/0.1232, allocations: 133.8 kB / 445.7 MB, free: 1.504 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.689e-05/0.1232, allocations: 15.81 kB / 445.7 MB, free: 1.488 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002566/0.1235, allocations: 119 kB / 445.8 MB, free: 1.367 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.1235, allocations: 0 / 445.8 MB, free: 1.367 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.1235, allocations: 3.938 kB / 445.8 MB, free: 1.363 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.1235, allocations: 0 / 445.8 MB, free: 1.363 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003865/0.1239, allocations: 394.9 kB / 446.2 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.1239, allocations: 3.984 kB / 446.2 MB, free: 0.918 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.357e-05/0.124, allocations: 16.38 kB / 446.2 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.124, allocations: 3.938 kB / 446.2 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.757e-06/0.124, allocations: 4 kB / 446.2 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.124, allocations: 7.984 kB / 446.2 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.124, allocations: 0 / 446.2 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000215/0.1243, allocations: 203.3 kB / 446.4 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.645e-05/0.1243, allocations: 92.94 kB / 446.5 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.857e-05/0.1243, allocations: 0 / 446.5 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.648e-05/0.1244, allocations: 4 kB / 446.5 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.531e-05/0.1244, allocations: 11.98 kB / 446.5 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.93e-06/0.1244, allocations: 0 / 446.5 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001021/0.1246, allocations: 171.2 kB / 446.7 MB, free: 388 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1246, allocations: 3.938 kB / 446.7 MB, free: 384 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002438/0.1248, allocations: 19.98 kB / 446.7 MB, free: 364 kB / 318.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 (8): * Single equations (assignments): 8 * 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.001279/0.1261, allocations: 1.028 MB / 447.7 MB, free: 15.39 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002276/0.1263, allocations: 71.89 kB / 447.8 MB, free: 15.32 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1263, allocations: 0 / 447.8 MB, free: 15.32 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.804e-05/0.1264, allocations: 35.92 kB / 447.8 MB, free: 15.29 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003689/0.1268, allocations: 29.95 kB / 447.9 MB, free: 15.26 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001959/0.1288, allocations: 1.667 MB / 449.5 MB, free: 13.51 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003164/0.1291, allocations: 0.7054 MB / 450.2 MB, free: 12.78 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.447e-05/0.1292, allocations: 16.95 kB / 450.3 MB, free: 12.77 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.33e-05/0.1293, allocations: 39.42 kB / 450.3 MB, free: 12.73 MB / 334.1 MB Notification: Performance of SimCode: time 3e-07/0.1293, allocations: 0 / 450.3 MB, free: 12.73 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02186/0.1511, allocations: 2.926 MB / 453.2 MB, free: 9.781 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.58/7.731, allocations: 8.047 kB / 453.2 MB, free: 9.773 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test6.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches