Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20.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.Test20,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test20,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test20",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.000839/0.0008393, allocations: 172.8 kB / 16.72 MB, free: 5.082 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.208/1.208, allocations: 205.4 MB / 222.9 MB, free: 9.035 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.0007045/0.0007044, allocations: 103.1 kB / 271.2 MB, free: 8.254 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.3187/0.3187, allocations: 43.56 MB / 363.1 MB, free: 52.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003534/0.0003535, allocations: 16 kB / 432.1 MB, free: 5.746 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.102, allocations: 58.85 MB / 490.9 MB, free: 10.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test20): time 0.002128/0.1041, allocations: 1.605 MB / 492.5 MB, free: 9.188 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001195/0.1053, allocations: 0.7257 MB / 493.3 MB, free: 8.457 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001339/0.1055, allocations: 4 kB / 493.3 MB, free: 8.453 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004308/0.1059, allocations: 247.4 kB / 493.5 MB, free: 8.211 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003392/0.1063, allocations: 167.5 kB / 493.7 MB, free: 8.047 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001252/0.1076, allocations: 0.5576 MB / 494.2 MB, free: 7.488 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003777/0.108, allocations: 255.3 kB / 494.5 MB, free: 7.238 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001729/0.1081, allocations: 72.7 kB / 494.5 MB, free: 7.168 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001655/0.1083, allocations: 107.5 kB / 494.7 MB, free: 7.062 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001961/0.1085, allocations: 159.4 kB / 494.8 MB, free: 6.906 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.879e-05/0.1085, allocations: 4 kB / 494.8 MB, free: 6.902 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001446/0.1087, allocations: 51.98 kB / 494.9 MB, free: 6.852 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001089/0.1088, allocations: 95.66 kB / 495 MB, free: 6.758 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001052/0.1089, allocations: 132.8 kB / 495.1 MB, free: 6.621 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002749/0.1092, allocations: 231.6 kB / 495.3 MB, free: 6.395 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1092, allocations: 0 / 495.3 MB, free: 6.395 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1092, allocations: 0 / 495.3 MB, free: 6.395 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.214e-06/0.1092, allocations: 0 / 495.3 MB, free: 6.395 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0006776/0.1099, allocations: 0.5992 MB / 495.9 MB, free: 5.746 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.11, allocations: 11.97 kB / 495.9 MB, free: 5.734 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.855e-05/0.11, allocations: 46.73 kB / 496 MB, free: 5.68 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.361e-05/0.1101, allocations: 48.38 kB / 496 MB, free: 5.633 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003421/0.1104, allocations: 330.1 kB / 496.3 MB, free: 5.27 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.1105, allocations: 8.375 kB / 496.3 MB, free: 5.262 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.747e-05/0.1105, allocations: 12.38 kB / 496.4 MB, free: 5.25 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002527/0.1108, allocations: 129.5 kB / 496.5 MB, free: 5.117 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.1108, allocations: 3.984 kB / 496.5 MB, free: 5.113 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.1108, allocations: 4 kB / 496.5 MB, free: 5.109 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.1108, allocations: 4 kB / 496.5 MB, free: 5.105 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001884/0.111, allocations: 99.86 kB / 496.6 MB, free: 5.008 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006559/0.1117, allocations: 0.512 MB / 497.1 MB, free: 4.445 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001906/0.1119, allocations: 114.5 kB / 497.2 MB, free: 4.324 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.674e-05/0.112, allocations: 40.84 kB / 497.3 MB, free: 4.281 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.626e-05/0.112, allocations: 0 / 497.3 MB, free: 4.281 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.625e-05/0.112, allocations: 46.42 kB / 497.3 MB, free: 4.227 MB / 378.7 MB Notification: Performance of pre-optimization done (n=11): time 1.062e-06/0.112, allocations: 4 kB / 497.3 MB, free: 4.223 MB / 378.7 MB Notification: Performance of matching and sorting (n=17): time 0.0009374/0.113, allocations: 451.4 kB / 497.7 MB, free: 3.777 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.964e-05/0.113, allocations: 55.41 kB / 497.8 MB, free: 3.711 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005552/0.1136, allocations: 0.5487 MB / 498.3 MB, free: 3.148 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.704e-05/0.1136, allocations: 29.7 kB / 498.4 MB, free: 3.113 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001477/0.1138, allocations: 208.3 kB / 498.6 MB, free: 2.902 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.407e-05/0.1138, allocations: 55.2 kB / 498.6 MB, free: 2.848 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.244e-06/0.1138, allocations: 0 / 498.6 MB, free: 2.848 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.114, allocations: 354.8 kB / 499 MB, free: 2.492 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001328/0.1141, allocations: 67.95 kB / 499 MB, free: 2.426 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001183/0.1142, allocations: 75.95 kB / 499.1 MB, free: 2.352 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002636/0.1145, allocations: 164.6 kB / 499.3 MB, free: 2.188 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.1145, allocations: 0 / 499.3 MB, free: 2.188 MB / 378.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003706/0.1149, allocations: 244.6 kB / 499.5 MB, free: 1.945 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.1149, allocations: 4 kB / 499.5 MB, free: 1.941 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.1149, allocations: 3.938 kB / 499.5 MB, free: 1.938 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.1149, allocations: 4 kB / 499.5 MB, free: 1.934 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001415/0.1151, allocations: 31.98 kB / 499.6 MB, free: 1.902 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/0.1151, allocations: 0 / 499.6 MB, free: 1.902 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.803e-05/0.1152, allocations: 15.92 kB / 499.6 MB, free: 1.887 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.391e-05/0.1152, allocations: 12 kB / 499.6 MB, free: 1.875 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 (17): * Single equations (assignments): 17 * 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.0001558/0.1154, allocations: 181.7 kB / 499.8 MB, free: 1.688 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.561e-05/0.1154, allocations: 39.53 kB / 499.8 MB, free: 1.648 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004752/0.1159, allocations: 289.4 kB / 0.4884 GB, free: 1.363 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.838e-06/0.1159, allocations: 4 kB / 0.4884 GB, free: 1.359 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.1159, allocations: 0 / 0.4884 GB, free: 1.359 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.1159, allocations: 0 / 0.4884 GB, free: 1.359 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008173/0.1168, allocations: 0.6855 MB / 0.489 GB, free: 0.6172 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.1168, allocations: 0 / 0.489 GB, free: 0.6172 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001076/0.1169, allocations: 43.91 kB / 0.4891 GB, free: 0.5742 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.564e-06/0.1169, allocations: 0 / 0.4891 GB, free: 0.5742 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.1169, allocations: 4 kB / 0.4891 GB, free: 0.5703 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.1169, allocations: 3.938 kB / 0.4891 GB, free: 0.5664 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1169, allocations: 0 / 0.4891 GB, free: 0.5664 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003923/0.1173, allocations: 341.3 kB / 0.4894 GB, free: 224 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.886e-05/0.1174, allocations: 124.6 kB / 0.4895 GB, free: 80 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.942e-05/0.1175, allocations: 0 / 0.4895 GB, free: 80 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.1176, allocations: 19.92 kB / 0.4896 GB, free: 60 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.371e-05/0.1176, allocations: 11.98 kB / 0.4896 GB, free: 48 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.548e-06/0.1176, allocations: 4 kB / 0.4896 GB, free: 44 kB / 378.7 MB Notification: Performance of sorting global known variables: time 0.1741/0.2917, allocations: 412.3 kB / 0.49 GB, free: 43.14 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.51e-07/0.2918, allocations: 0 / 0.49 GB, free: 43.14 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004101/0.2922, allocations: 56.11 kB / 0.49 GB, free: 43.14 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 (17): * Single equations (assignments): 17 * 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.001791/0.294, allocations: 1.469 MB / 0.4915 GB, free: 42.19 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003689/0.2944, allocations: 164.6 kB / 0.4916 GB, free: 42.19 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.2944, allocations: 1.062 kB / 0.4916 GB, free: 42.19 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001758/0.2945, allocations: 99.73 kB / 0.4917 GB, free: 42.19 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00052/0.2951, allocations: 69.09 kB / 0.4918 GB, free: 42.19 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00282/0.2979, allocations: 2.148 MB / 0.4939 GB, free: 41.53 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002579/0.2982, allocations: 0.8242 MB / 0.4947 GB, free: 40.83 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001832/0.2984, allocations: 127.9 kB / 0.4948 GB, free: 40.82 MB / 378.7 MB Notification: Performance of SimCode: time 3.51e-07/0.2984, allocations: 0 / 0.4948 GB, free: 40.82 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.011/3.309, allocations: 5.774 MB / 0.5004 GB, free: 40.17 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test20_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test20.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test20/Test20.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches