Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test19,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test19,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test19",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008542/0.0008542, allocations: 170.5 kB / 16.72 MB, free: 5.055 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.173/1.173, allocations: 205.4 MB / 222.9 MB, free: 9.02 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007691/0.000769, allocations: 89.22 kB / 271.2 MB, free: 8.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.287/0.287, allocations: 43.56 MB / 363.1 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003471/0.0003472, allocations: 12 kB / 432.1 MB, free: 5.727 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1063, allocations: 58.85 MB / 490.9 MB, free: 10.79 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test19): time 0.002086/0.1085, allocations: 1.516 MB / 492.4 MB, free: 9.266 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001138/0.1096, allocations: 0.6946 MB / 493.1 MB, free: 8.566 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001209/0.1098, allocations: 4 kB / 493.1 MB, free: 8.562 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004168/0.1102, allocations: 243.4 kB / 493.4 MB, free: 8.324 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003369/0.1105, allocations: 175.5 kB / 493.5 MB, free: 8.152 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001204/0.1118, allocations: 0.5498 MB / 494.1 MB, free: 7.602 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000337/0.1121, allocations: 231.3 kB / 494.3 MB, free: 7.375 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001581/0.1123, allocations: 64.14 kB / 494.4 MB, free: 7.312 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001465/0.1124, allocations: 107.5 kB / 494.5 MB, free: 7.207 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001871/0.1126, allocations: 147.5 kB / 494.6 MB, free: 7.062 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.788e-05/0.1127, allocations: 4 kB / 494.6 MB, free: 7.059 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001095/0.1128, allocations: 35.98 kB / 494.7 MB, free: 7.023 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001049/0.1129, allocations: 75.73 kB / 494.7 MB, free: 6.949 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001003/0.113, allocations: 132.9 kB / 494.9 MB, free: 6.812 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002312/0.1132, allocations: 203.6 kB / 495.1 MB, free: 6.613 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1132, allocations: 0 / 495.1 MB, free: 6.613 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1133, allocations: 0 / 495.1 MB, free: 6.613 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.1133, allocations: 3.938 kB / 495.1 MB, free: 6.609 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006601/0.1139, allocations: 0.5797 MB / 495.7 MB, free: 5.98 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.114, allocations: 12.03 kB / 495.7 MB, free: 5.969 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.505e-05/0.114, allocations: 38.75 kB / 495.7 MB, free: 5.922 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.531e-05/0.1141, allocations: 36.47 kB / 495.7 MB, free: 5.887 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003396/0.1144, allocations: 326.1 kB / 496.1 MB, free: 5.527 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.216e-05/0.1145, allocations: 4.375 kB / 496.1 MB, free: 5.523 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.247e-05/0.1145, allocations: 8.312 kB / 496.1 MB, free: 5.516 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002181/0.1147, allocations: 109.2 kB / 496.2 MB, free: 5.406 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.303e-06/0.1147, allocations: 0 / 496.2 MB, free: 5.406 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.868e-06/0.1147, allocations: 0 / 496.2 MB, free: 5.406 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.1147, allocations: 0 / 496.2 MB, free: 5.406 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001549/0.1149, allocations: 79.95 kB / 496.3 MB, free: 5.328 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005966/0.1155, allocations: 464.4 kB / 496.7 MB, free: 4.824 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001329/0.1157, allocations: 66.55 kB / 496.8 MB, free: 4.75 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.294e-05/0.1158, allocations: 44.95 kB / 496.8 MB, free: 4.703 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.551e-05/0.1158, allocations: 0 / 496.8 MB, free: 4.703 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.286e-05/0.1158, allocations: 42.5 kB / 496.9 MB, free: 4.652 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 8.52e-07/0.1158, allocations: 0 / 496.9 MB, free: 4.652 MB / 378.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003534/0.1162, allocations: 153.2 kB / 497 MB, free: 4.496 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.225e-05/0.1162, allocations: 59.34 kB / 497.1 MB, free: 4.426 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005517/0.1168, allocations: 0.5526 MB / 497.6 MB, free: 3.859 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.265e-05/0.1168, allocations: 25.7 kB / 497.6 MB, free: 3.828 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000137/0.1169, allocations: 196.1 kB / 497.8 MB, free: 3.633 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.382e-05/0.117, allocations: 27.64 kB / 497.9 MB, free: 3.605 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.518e-06/0.117, allocations: 3.938 kB / 497.9 MB, free: 3.602 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001565/0.1172, allocations: 350.8 kB / 498.2 MB, free: 3.25 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.708e-05/0.1172, allocations: 31.97 kB / 498.2 MB, free: 3.219 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.679e-05/0.1173, allocations: 28.23 kB / 498.3 MB, free: 3.191 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001334/0.1174, allocations: 76.89 kB / 498.3 MB, free: 3.113 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1174, allocations: 0 / 498.3 MB, free: 3.113 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002164/0.1177, allocations: 125.2 kB / 498.5 MB, free: 2.984 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.1177, allocations: 8 kB / 498.5 MB, free: 2.977 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.1177, allocations: 4 kB / 498.5 MB, free: 2.973 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.1177, allocations: 3.938 kB / 498.5 MB, free: 2.969 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.412e-05/0.1178, allocations: 15.98 kB / 498.5 MB, free: 2.953 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.1178, allocations: 0 / 498.5 MB, free: 2.953 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.203e-05/0.1179, allocations: 4 kB / 498.5 MB, free: 2.949 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.1179, allocations: 4 kB / 498.5 MB, free: 2.945 MB / 378.7 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 (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001525/0.1181, allocations: 173.7 kB / 498.7 MB, free: 2.766 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.558e-05/0.1181, allocations: 35.53 kB / 498.7 MB, free: 2.73 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003284/0.1185, allocations: 153 kB / 498.9 MB, free: 2.574 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.798e-06/0.1185, allocations: 7.875 kB / 498.9 MB, free: 2.566 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.1185, allocations: 3.984 kB / 498.9 MB, free: 2.562 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.1185, allocations: 0 / 498.9 MB, free: 2.562 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003199/0.1188, allocations: 285.5 kB / 499.2 MB, free: 2.234 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.1188, allocations: 0 / 499.2 MB, free: 2.234 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.743e-05/0.1189, allocations: 15.98 kB / 499.2 MB, free: 2.219 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.1189, allocations: 4 kB / 499.2 MB, free: 2.215 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-06/0.1189, allocations: 4 kB / 499.2 MB, free: 2.211 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.27e-06/0.1189, allocations: 3.938 kB / 499.2 MB, free: 2.207 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1189, allocations: 3.938 kB / 499.2 MB, free: 2.203 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002559/0.1192, allocations: 219.3 kB / 499.4 MB, free: 1.973 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.609e-05/0.1193, allocations: 128.5 kB / 499.5 MB, free: 1.828 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.984e-05/0.1193, allocations: 11.98 kB / 499.5 MB, free: 1.816 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.669e-05/0.1194, allocations: 7.938 kB / 499.5 MB, free: 1.809 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.924e-05/0.1195, allocations: 4 kB / 499.5 MB, free: 1.805 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.374e-06/0.1195, allocations: 4 kB / 499.5 MB, free: 1.801 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000405/0.1199, allocations: 419 kB / 500 MB, free: 1.395 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1199, allocations: 0 / 500 MB, free: 1.395 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002667/0.1202, allocations: 35.91 kB / 500 MB, free: 1.359 MB / 378.7 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 (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001557/0.1217, allocations: 1.25 MB / 0.4895 GB, free: 144 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001698/0.1219, allocations: 63.95 kB / 0.4896 GB, free: 80 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.215e-06/0.1219, allocations: 4 kB / 0.4896 GB, free: 76 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.839e-05/0.122, allocations: 47.84 kB / 0.4896 GB, free: 28 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1674/0.2894, allocations: 59.91 kB / 0.4897 GB, free: 43.05 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002502/0.292, allocations: 1.86 MB / 0.4915 GB, free: 42.43 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002375/0.2922, allocations: 0.8024 MB / 0.4923 GB, free: 41.73 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001292/0.2924, allocations: 103.3 kB / 0.4924 GB, free: 41.72 MB / 378.7 MB Notification: Performance of SimCode: time 7.72e-07/0.2924, allocations: 0 / 0.4924 GB, free: 41.72 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.994/3.286, allocations: 5.037 MB / 0.4973 GB, free: 41.32 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test19_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test19.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test19/Test19.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches