Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.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.Test8,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test8,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test8",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.001265/0.001265, allocations: 112.8 kB / 16.4 MB, free: 5.902 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.001337/0.001337, allocations: 195.8 kB / 17.33 MB, free: 5.539 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.393/1.393, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.216/0.216, allocations: 43.51 MB / 314.1 MB, free: 468 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.00217/0.00217, allocations: 77.97 kB / 441.3 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.1079, allocations: 57.79 MB / 499.1 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test8): time 0.002797/0.1108, allocations: 1.573 MB / 0.4889 GB, free: 10.7 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006243/0.1114, allocations: 323.6 kB / 0.4892 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.063e-05/0.1115, allocations: 4 kB / 0.4893 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005925/0.1121, allocations: 451.2 kB / 0.4897 GB, free: 9.934 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003391/0.1124, allocations: 255.4 kB / 0.4899 GB, free: 9.684 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003758/0.1128, allocations: 147.7 kB / 0.4901 GB, free: 9.539 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002294/0.1131, allocations: 163.6 kB / 0.4902 GB, free: 9.379 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.432e-05/0.1132, allocations: 15.98 kB / 0.4902 GB, free: 9.363 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001158/0.1133, allocations: 103.8 kB / 0.4903 GB, free: 9.262 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002382/0.1135, allocations: 211.6 kB / 0.4905 GB, free: 9.055 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.034e-05/0.1136, allocations: 0 / 0.4905 GB, free: 9.055 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.153e-05/0.1136, allocations: 27.92 kB / 0.4906 GB, free: 9.027 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001002/0.1137, allocations: 87.67 kB / 0.4906 GB, free: 8.941 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.701e-05/0.1138, allocations: 91.06 kB / 0.4907 GB, free: 8.852 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003097/0.1142, allocations: 250.7 kB / 0.491 GB, free: 8.605 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1142, allocations: 3.938 kB / 0.491 GB, free: 8.602 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1142, allocations: 0 / 0.491 GB, free: 8.602 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.611e-06/0.1142, allocations: 0 / 0.491 GB, free: 8.602 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007541/0.1149, allocations: 0.6486 MB / 0.4916 GB, free: 7.906 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.115, allocations: 15.89 kB / 0.4916 GB, free: 7.891 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.719e-05/0.115, allocations: 34.75 kB / 0.4917 GB, free: 7.848 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.648e-05/0.1151, allocations: 40.66 kB / 0.4917 GB, free: 7.809 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003168/0.1154, allocations: 308.5 kB / 0.492 GB, free: 7.465 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.885e-06/0.1154, allocations: 4.375 kB / 0.492 GB, free: 7.461 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.424e-05/0.1155, allocations: 4.375 kB / 0.492 GB, free: 7.457 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001466/0.1156, allocations: 53.61 kB / 0.4921 GB, free: 7.398 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.1156, allocations: 0 / 0.4921 GB, free: 7.398 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.1156, allocations: 4 kB / 0.4921 GB, free: 7.395 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.1157, allocations: 4 kB / 0.4921 GB, free: 7.391 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.496e-05/0.1157, allocations: 19.98 kB / 0.4921 GB, free: 7.371 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004973/0.1162, allocations: 392.7 kB / 0.4925 GB, free: 6.938 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.938e-05/0.1163, allocations: 30.56 kB / 0.4925 GB, free: 6.898 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.058e-05/0.1164, allocations: 16.91 kB / 0.4925 GB, free: 6.879 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.741e-05/0.1164, allocations: 4 kB / 0.4925 GB, free: 6.875 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.568e-05/0.1165, allocations: 30.56 kB / 0.4925 GB, free: 6.836 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.173e-06/0.1165, allocations: 0 / 0.4925 GB, free: 6.836 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002843/0.1168, allocations: 109.3 kB / 0.4926 GB, free: 6.723 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.963e-05/0.1168, allocations: 55.41 kB / 0.4927 GB, free: 6.656 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008758/0.1177, allocations: 0.8653 MB / 0.4935 GB, free: 5.777 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.594e-05/0.1177, allocations: 29.83 kB / 0.4936 GB, free: 5.742 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002017/0.1179, allocations: 220 kB / 0.4938 GB, free: 5.523 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.38e-05/0.118, allocations: 15.94 kB / 0.4938 GB, free: 5.508 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.166e-05/0.118, allocations: 13.66 kB / 0.4938 GB, free: 5.488 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001828/0.1182, allocations: 362.7 kB / 0.4941 GB, free: 5.125 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.565e-05/0.1182, allocations: 11.98 kB / 0.4942 GB, free: 5.113 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.57e-05/0.1183, allocations: 8 kB / 0.4942 GB, free: 5.105 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.227e-05/0.1184, allocations: 32.84 kB / 0.4942 GB, free: 5.07 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1184, allocations: 0 / 0.4942 GB, free: 5.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001601/0.1186, allocations: 101.3 kB / 0.4943 GB, free: 4.965 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.1186, allocations: 8 kB / 0.4943 GB, free: 4.957 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-06/0.1186, allocations: 0 / 0.4943 GB, free: 4.957 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.1186, allocations: 0 / 0.4943 GB, free: 4.957 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.403e-05/0.1187, allocations: 4 kB / 0.4943 GB, free: 4.953 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.1187, allocations: 0 / 0.4943 GB, free: 4.953 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.18e-05/0.1187, allocations: 12.02 kB / 0.4943 GB, free: 4.941 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-06/0.1188, allocations: 0 / 0.4943 GB, free: 4.941 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 (2): * Single equations (assignments): 2 * 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.0001944/0.119, allocations: 213.7 kB / 0.4945 GB, free: 4.723 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.952e-05/0.119, allocations: 47.67 kB / 0.4946 GB, free: 4.676 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002191/0.1192, allocations: 116.6 kB / 0.4947 GB, free: 4.555 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.1193, allocations: 0 / 0.4947 GB, free: 4.555 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.1193, allocations: 0 / 0.4947 GB, free: 4.555 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.1193, allocations: 0 / 0.4947 GB, free: 4.555 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003128/0.1196, allocations: 297.5 kB / 0.495 GB, free: 4.215 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.1196, allocations: 0 / 0.495 GB, free: 4.215 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.414e-05/0.1196, allocations: 4 kB / 0.495 GB, free: 4.211 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.1197, allocations: 0 / 0.495 GB, free: 4.211 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.1197, allocations: 3.984 kB / 0.495 GB, free: 4.207 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.1197, allocations: 4 kB / 0.495 GB, free: 4.203 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1197, allocations: 0 / 0.495 GB, free: 4.203 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002258/0.1199, allocations: 191.2 kB / 0.4952 GB, free: 4 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.652e-05/0.12, allocations: 116.8 kB / 0.4953 GB, free: 3.867 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.396e-05/0.12, allocations: 0 / 0.4953 GB, free: 3.867 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.384e-05/0.1201, allocations: 4 kB / 0.4953 GB, free: 3.863 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.961e-05/0.1202, allocations: 3.938 kB / 0.4953 GB, free: 3.859 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-06/0.1202, allocations: 0 / 0.4953 GB, free: 3.859 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006839/0.1209, allocations: 0.655 MB / 0.4959 GB, free: 3.207 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1209, allocations: 0 / 0.4959 GB, free: 3.207 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000254/0.1211, allocations: 23.94 kB / 0.4959 GB, free: 3.184 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 (2): * Single equations (assignments): 2 * 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.001755/0.1229, allocations: 0.9717 MB / 0.4969 GB, free: 2.227 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001662/0.1231, allocations: 27.92 kB / 0.4969 GB, free: 2.199 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.1231, allocations: 0 / 0.4969 GB, free: 2.199 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.649e-05/0.1231, allocations: 8 kB / 0.4969 GB, free: 2.191 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004246/0.1236, allocations: 34.17 kB / 0.497 GB, free: 2.156 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003731/0.1273, allocations: 3.146 MB / 0.5 GB, free: 14.92 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004842/0.1278, allocations: 0.8221 MB / 0.5008 GB, free: 14.07 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.948e-05/0.1279, allocations: 11.92 kB / 0.5008 GB, free: 14.06 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001409/0.128, allocations: 111.4 kB / 0.5009 GB, free: 13.95 MB / 398.1 MB Notification: Performance of SimCode: time 6.01e-07/0.128, allocations: 0 / 0.5009 GB, free: 13.95 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02923/0.1573, allocations: 5.74 MB / 0.5065 GB, free: 8.191 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.519/8.676, allocations: 12.02 kB / 0.5066 GB, free: 8.18 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test8_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test8.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches