Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.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.CombiTable2Dv.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test4",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.001359/0.001367, allocations: 102 kB / 16.4 MB, free: 6.461 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.001292/0.001292, allocations: 192.2 kB / 17.34 MB, free: 5.715 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.478/1.478, allocations: 205.1 MB / 223.2 MB, free: 12.21 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.2182/0.2182, allocations: 43.53 MB / 314.1 MB, free: 456 kB / 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.002068/0.002068, allocations: 69.45 kB / 441.3 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1152, allocations: 57.8 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.003005/0.1182, allocations: 1.607 MB / 0.489 GB, free: 10.65 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007235/0.119, allocations: 347.6 kB / 0.4893 GB, free: 10.31 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.499e-05/0.119, allocations: 3.938 kB / 0.4893 GB, free: 10.3 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006118/0.1197, allocations: 451.2 kB / 0.4898 GB, free: 9.863 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003609/0.1201, allocations: 255.4 kB / 0.49 GB, free: 9.613 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000391/0.1205, allocations: 155.7 kB / 0.4901 GB, free: 9.461 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002269/0.1207, allocations: 163.6 kB / 0.4903 GB, free: 9.301 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.1208, allocations: 20.17 kB / 0.4903 GB, free: 9.281 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001224/0.1209, allocations: 111.8 kB / 0.4904 GB, free: 9.172 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002378/0.1212, allocations: 211.6 kB / 0.4906 GB, free: 8.965 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.055e-05/0.1212, allocations: 0 / 0.4906 GB, free: 8.965 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.266e-05/0.1213, allocations: 31.98 kB / 0.4907 GB, free: 8.934 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001022/0.1214, allocations: 83.7 kB / 0.4907 GB, free: 8.852 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.05e-05/0.1215, allocations: 107 kB / 0.4908 GB, free: 8.746 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003265/0.1218, allocations: 262.5 kB / 0.4911 GB, free: 8.488 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1219, allocations: 0 / 0.4911 GB, free: 8.488 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.527e-06/0.1219, allocations: 3.984 kB / 0.4911 GB, free: 8.484 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.848e-06/0.1219, allocations: 4 kB / 0.4911 GB, free: 8.48 MB / 382.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.0008569/0.1227, allocations: 0.6491 MB / 0.4917 GB, free: 7.781 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.1228, allocations: 11.89 kB / 0.4917 GB, free: 7.77 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.579e-05/0.1228, allocations: 38.73 kB / 0.4918 GB, free: 7.723 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.94e-05/0.1229, allocations: 48.61 kB / 0.4918 GB, free: 7.676 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002976/0.1232, allocations: 300.7 kB / 0.4921 GB, free: 7.34 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.001e-05/0.1232, allocations: 4.312 kB / 0.4921 GB, free: 7.336 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.595e-05/0.1232, allocations: 16.11 kB / 0.4921 GB, free: 7.32 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001627/0.1234, allocations: 53.67 kB / 0.4922 GB, free: 7.262 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.1234, allocations: 0 / 0.4922 GB, free: 7.262 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.1234, allocations: 4 kB / 0.4922 GB, free: 7.258 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.461e-05/0.1235, allocations: 4 kB / 0.4922 GB, free: 7.254 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000101/0.1236, allocations: 23.98 kB / 0.4922 GB, free: 7.23 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004979/0.1241, allocations: 400.6 kB / 0.4926 GB, free: 6.789 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002141/0.1243, allocations: 50.55 kB / 0.4926 GB, free: 6.73 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.207e-05/0.1244, allocations: 16.86 kB / 0.4927 GB, free: 6.711 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.051e-05/0.1244, allocations: 0 / 0.4927 GB, free: 6.711 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/0.1245, allocations: 38.64 kB / 0.4927 GB, free: 6.664 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.61e-07/0.1245, allocations: 0 / 0.4927 GB, free: 6.664 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006201/0.1251, allocations: 236.7 kB / 0.4929 GB, free: 6.426 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.062e-05/0.1251, allocations: 55.41 kB / 0.493 GB, free: 6.359 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008712/0.126, allocations: 0.8691 MB / 0.4938 GB, free: 5.477 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.006e-05/0.126, allocations: 25.7 kB / 0.4939 GB, free: 5.445 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000195/0.1262, allocations: 228 kB / 0.4941 GB, free: 5.219 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.663e-05/0.1263, allocations: 19.86 kB / 0.4941 GB, free: 5.199 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.902e-05/0.1263, allocations: 17.72 kB / 0.4941 GB, free: 5.176 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001863/0.1265, allocations: 358.8 kB / 0.4944 GB, free: 4.816 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.883e-05/0.1266, allocations: 27.92 kB / 0.4945 GB, free: 4.789 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.916e-05/0.1267, allocations: 23.92 kB / 0.4945 GB, free: 4.766 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001471/0.1268, allocations: 53.02 kB / 0.4945 GB, free: 4.711 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.1269, allocations: 0 / 0.4945 GB, free: 4.711 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002388/0.1271, allocations: 125.4 kB / 0.4947 GB, free: 4.582 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.1271, allocations: 12 kB / 0.4947 GB, free: 4.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.1271, allocations: 0 / 0.4947 GB, free: 4.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.1272, allocations: 0 / 0.4947 GB, free: 4.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.501e-05/0.1272, allocations: 11.98 kB / 0.4947 GB, free: 4.559 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/0.1272, allocations: 3.938 kB / 0.4947 GB, free: 4.555 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.314e-05/0.1273, allocations: 7.938 kB / 0.4947 GB, free: 4.547 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.165e-05/0.1273, allocations: 8 kB / 0.4947 GB, free: 4.539 MB / 382.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.000211/0.1275, allocations: 213.7 kB / 0.4949 GB, free: 4.32 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.796e-05/0.1276, allocations: 43.72 kB / 0.495 GB, free: 4.277 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000296/0.1279, allocations: 141.1 kB / 0.4951 GB, free: 4.133 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.1279, allocations: 0 / 0.4951 GB, free: 4.133 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.1279, allocations: 3.938 kB / 0.4951 GB, free: 4.129 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.1279, allocations: 0 / 0.4951 GB, free: 4.129 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005795/0.1285, allocations: 470.4 kB / 0.4955 GB, free: 3.613 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.582e-06/0.1285, allocations: 0 / 0.4955 GB, free: 3.613 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.254e-05/0.1286, allocations: 15.98 kB / 0.4956 GB, free: 3.598 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.46e-06/0.1286, allocations: 3.938 kB / 0.4956 GB, free: 3.594 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.1286, allocations: 8 kB / 0.4956 GB, free: 3.586 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1286, allocations: 0 / 0.4956 GB, free: 3.586 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.1286, allocations: 0 / 0.4956 GB, free: 3.586 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002715/0.1289, allocations: 223.3 kB / 0.4958 GB, free: 3.352 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.806e-05/0.129, allocations: 116.8 kB / 0.4959 GB, free: 3.219 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.685e-05/0.129, allocations: 7.938 kB / 0.4959 GB, free: 3.211 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.744e-05/0.1291, allocations: 7.984 kB / 0.4959 GB, free: 3.203 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.576e-05/0.1292, allocations: 0 / 0.4959 GB, free: 3.203 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.795e-06/0.1292, allocations: 4.281 kB / 0.4959 GB, free: 3.199 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006383/0.1298, allocations: 0.6589 MB / 0.4966 GB, free: 2.543 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1298, allocations: 0 / 0.4966 GB, free: 2.543 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002536/0.1301, allocations: 23.94 kB / 0.4966 GB, free: 2.52 MB / 382.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.001935/0.132, allocations: 1.059 MB / 0.4976 GB, free: 1.477 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002127/0.1323, allocations: 55.91 kB / 0.4977 GB, free: 1.422 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1323, allocations: 0 / 0.4977 GB, free: 1.422 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.293e-05/0.1324, allocations: 31.97 kB / 0.4977 GB, free: 1.391 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003987/0.1328, allocations: 30.19 kB / 0.4977 GB, free: 1.359 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003706/0.1365, allocations: 3.249 MB / 0.5009 GB, free: 14.02 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004769/0.137, allocations: 0.8221 MB / 0.5017 GB, free: 13.17 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.521e-05/0.1371, allocations: 15.98 kB / 0.5017 GB, free: 13.15 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001368/0.1372, allocations: 111.4 kB / 0.5018 GB, free: 13.04 MB / 398.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1372, allocations: 0 / 0.5018 GB, free: 13.04 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02838/0.1656, allocations: 6.029 MB / 0.5077 GB, free: 6.992 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.473/8.639, allocations: 23.73 kB / 0.5077 GB, free: 6.969 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.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_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test4.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches