Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test18,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test18",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test18,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test18",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.001451/0.001451, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001295/0.001295, allocations: 191.9 kB / 18.56 MB, free: 4.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.344/1.344, allocations: 222.9 MB / 242.3 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2024/0.2024, allocations: 44.17 MB / 336.6 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 62.97 kB / 408.5 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1086, allocations: 60.82 MB / 469.3 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test18): time 0.002973/0.1116, allocations: 1.584 MB / 470.9 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00161/0.1133, allocations: 1.016 MB / 471.9 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.281e-05/0.1133, allocations: 0 / 471.9 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002272/0.1136, allocations: 31.84 kB / 472 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001735/0.1138, allocations: 47.7 kB / 472 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000225/0.114, allocations: 83.09 kB / 472.1 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001269/0.1141, allocations: 71.88 kB / 472.2 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.1143, allocations: 12.19 kB / 472.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.372e-05/0.1143, allocations: 31.86 kB / 472.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001391/0.1144, allocations: 27.84 kB / 472.2 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.812e-05/0.1145, allocations: 4 kB / 472.3 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.987e-05/0.1146, allocations: 59.91 kB / 472.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.13e-05/0.1146, allocations: 11.98 kB / 472.3 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.783e-05/0.1147, allocations: 31.8 kB / 472.4 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001765/0.1149, allocations: 95.98 kB / 472.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.1149, allocations: 0 / 472.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1149, allocations: 0 / 472.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.1149, allocations: 0 / 472.4 MB, free: 11.16 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004629/0.1153, allocations: 387.2 kB / 472.8 MB, free: 10.73 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.1154, allocations: 8.031 kB / 472.8 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.078e-05/0.1154, allocations: 38.73 kB / 472.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.244e-05/0.1155, allocations: 12.84 kB / 472.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001662/0.1156, allocations: 192.2 kB / 473.1 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.1157, allocations: 4.375 kB / 473.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.113e-05/0.1157, allocations: 12.03 kB / 473.1 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001544/0.1159, allocations: 67.39 kB / 473.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.1159, allocations: 0 / 473.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.1159, allocations: 0 / 473.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.1159, allocations: 4 kB / 473.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000113/0.116, allocations: 35.97 kB / 473.2 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003755/0.1164, allocations: 292.8 kB / 473.5 MB, free: 9.969 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001214/0.1165, allocations: 50.56 kB / 473.5 MB, free: 9.91 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.299e-05/0.1166, allocations: 24.97 kB / 473.6 MB, free: 9.883 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.275e-05/0.1166, allocations: 0 / 473.6 MB, free: 9.883 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.512e-05/0.1167, allocations: 38.56 kB / 473.6 MB, free: 9.836 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 8.21e-07/0.1167, allocations: 0 / 473.6 MB, free: 9.836 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005912/0.1173, allocations: 177.2 kB / 473.8 MB, free: 9.656 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.281e-05/0.1173, allocations: 81.05 kB / 473.8 MB, free: 9.559 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001518/0.1175, allocations: 148.8 kB / 474 MB, free: 9.406 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.65e-05/0.1175, allocations: 29.7 kB / 474 MB, free: 9.371 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.426e-05/0.1176, allocations: 92.14 kB / 474.1 MB, free: 9.277 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.256e-05/0.1176, allocations: 31.61 kB / 474.1 MB, free: 9.246 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.857e-05/0.1177, allocations: 21.72 kB / 474.2 MB, free: 9.219 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001102/0.1178, allocations: 322.8 kB / 474.5 MB, free: 8.895 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.569e-05/0.1179, allocations: 19.98 kB / 474.5 MB, free: 8.875 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.937e-05/0.118, allocations: 37.7 kB / 474.5 MB, free: 8.832 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001441/0.1181, allocations: 68.8 kB / 474.6 MB, free: 8.762 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.1181, allocations: 0 / 474.6 MB, free: 8.762 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001966/0.1183, allocations: 97.5 kB / 474.7 MB, free: 8.66 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.1184, allocations: 4 kB / 474.7 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.1184, allocations: 7.938 kB / 474.7 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.1184, allocations: 0 / 474.7 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001219/0.1185, allocations: 15.98 kB / 474.7 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.328e-06/0.1185, allocations: 7.938 kB / 474.7 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.797e-05/0.1186, allocations: 8 kB / 474.7 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.1186, allocations: 4 kB / 474.7 MB, free: 8.613 MB / 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 (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 8.776e-05/0.1187, allocations: 117.8 kB / 474.9 MB, free: 8.488 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.556e-05/0.1187, allocations: 7.906 kB / 474.9 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002613/0.119, allocations: 122.2 kB / 475 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.119, allocations: 4 kB / 475 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.119, allocations: 3.938 kB / 475 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.119, allocations: 3.984 kB / 475 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004386/0.1195, allocations: 378.8 kB / 475.4 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.1195, allocations: 0 / 475.4 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.034e-05/0.1196, allocations: 31.92 kB / 475.4 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.1196, allocations: 3.938 kB / 475.4 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.1196, allocations: 4 kB / 475.4 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.1196, allocations: 0 / 475.4 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.1196, allocations: 0 / 475.4 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000254/0.1199, allocations: 191.4 kB / 475.6 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.211e-05/0.1199, allocations: 88.95 kB / 475.7 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.912e-05/0.1199, allocations: 0 / 475.7 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.493e-05/0.12, allocations: 15.98 kB / 475.7 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.435e-05/0.1201, allocations: 4 kB / 475.7 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.613e-06/0.1201, allocations: 3.984 kB / 475.7 MB, free: 7.547 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.058e-05/0.1202, allocations: 103.3 kB / 475.8 MB, free: 7.445 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.134e-06/0.1202, allocations: 0 / 475.8 MB, free: 7.445 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002591/0.1205, allocations: 31.94 kB / 475.8 MB, free: 7.414 MB / 350.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.001664/0.1221, allocations: 1.066 MB / 476.9 MB, free: 6.5 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002646/0.1224, allocations: 75.89 kB / 477 MB, free: 6.426 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/0.1224, allocations: 4 kB / 477 MB, free: 6.422 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.154e-05/0.1225, allocations: 27.98 kB / 477 MB, free: 6.395 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003852/0.1229, allocations: 17.61 kB / 477 MB, free: 6.379 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001737/0.1246, allocations: 1.461 MB / 478.5 MB, free: 4.836 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002629/0.1249, allocations: 0.6962 MB / 479.2 MB, free: 4.113 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.409e-05/0.125, allocations: 17.11 kB / 479.2 MB, free: 4.09 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.73e-05/0.1251, allocations: 31.36 kB / 479.2 MB, free: 4.062 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1251, allocations: 0 / 479.2 MB, free: 4.062 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02159/0.1467, allocations: 2.851 MB / 482.1 MB, free: 1.281 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.572/7.719, allocations: 11.28 kB / 482.1 MB, free: 1.273 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test18.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches