Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test30.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.CombiTable1D.Test30,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test30,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test30",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.0007903/0.0007904, allocations: 174.8 kB / 16.72 MB, free: 4.961 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.164/1.164, 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.0007351/0.0007353, allocations: 86.31 kB / 271.2 MB, free: 8.238 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.2662/0.2662, allocations: 43.56 MB / 363.1 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003248/0.000325, allocations: 15.98 kB / 432.1 MB, free: 5.707 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09283/0.09317, allocations: 58.85 MB / 490.9 MB, free: 10.77 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test30): time 0.0018/0.09501, allocations: 1.255 MB / 492.2 MB, free: 9.504 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005727/0.09561, allocations: 315.7 kB / 492.5 MB, free: 9.191 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.026e-05/0.09568, allocations: 0 / 492.5 MB, free: 9.191 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002346/0.09593, allocations: 71.84 kB / 492.6 MB, free: 9.121 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000153/0.09609, allocations: 55.86 kB / 492.6 MB, free: 9.066 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002667/0.09637, allocations: 79.84 kB / 492.7 MB, free: 8.988 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001281/0.09651, allocations: 63.81 kB / 492.8 MB, free: 8.926 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.688e-05/0.0966, allocations: 11.98 kB / 492.8 MB, free: 8.914 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.549e-05/0.09666, allocations: 27.91 kB / 492.8 MB, free: 8.887 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.922e-05/0.09676, allocations: 39.83 kB / 492.8 MB, free: 8.848 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.356e-05/0.09678, allocations: 4 kB / 492.8 MB, free: 8.844 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.537e-05/0.09687, allocations: 31.98 kB / 492.9 MB, free: 8.812 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.286e-05/0.09691, allocations: 15.94 kB / 492.9 MB, free: 8.797 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.46e-05/0.09698, allocations: 53.48 kB / 492.9 MB, free: 8.738 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001151/0.0971, allocations: 60.19 kB / 493 MB, free: 8.68 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.09711, allocations: 0 / 493 MB, free: 8.68 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.09712, allocations: 0 / 493 MB, free: 8.68 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.857e-06/0.09712, allocations: 0 / 493 MB, free: 8.68 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004145/0.09754, allocations: 395 kB / 493.4 MB, free: 8.246 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.09759, allocations: 8.031 kB / 493.4 MB, free: 8.238 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.49e-05/0.09764, allocations: 34.75 kB / 493.4 MB, free: 8.195 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.065e-05/0.09767, allocations: 12.84 kB / 493.4 MB, free: 8.184 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001846/0.09786, allocations: 200 kB / 493.6 MB, free: 7.949 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.806e-06/0.09788, allocations: 384 / 493.6 MB, free: 7.949 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.729e-05/0.0979, allocations: 4.375 kB / 493.6 MB, free: 7.945 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001315/0.09804, allocations: 53.62 kB / 493.7 MB, free: 7.887 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.09806, allocations: 0 / 493.7 MB, free: 7.887 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.454e-06/0.09807, allocations: 0 / 493.7 MB, free: 7.887 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.09808, allocations: 0 / 493.7 MB, free: 7.887 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.362e-05/0.09818, allocations: 35.97 kB / 493.7 MB, free: 7.852 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000365/0.09855, allocations: 284.8 kB / 494 MB, free: 7.523 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001879/0.09875, allocations: 54.55 kB / 494.1 MB, free: 7.461 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.939e-05/0.09881, allocations: 12.86 kB / 494.1 MB, free: 7.445 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.731e-05/0.09884, allocations: 0 / 494.1 MB, free: 7.445 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.171e-05/0.09886, allocations: 34.56 kB / 494.1 MB, free: 7.402 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.09887, allocations: 0 / 494.1 MB, free: 7.402 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005884/0.09946, allocations: 173.2 kB / 494.3 MB, free: 7.227 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.129e-05/0.09951, allocations: 55.41 kB / 494.3 MB, free: 7.16 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001828/0.0997, allocations: 202.2 kB / 494.5 MB, free: 6.949 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.151e-05/0.09972, allocations: 29.7 kB / 494.5 MB, free: 6.914 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.902e-05/0.09979, allocations: 104.1 kB / 494.7 MB, free: 6.809 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.005e-05/0.09981, allocations: 15.72 kB / 494.7 MB, free: 6.793 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.877e-06/0.09982, allocations: 4 kB / 494.7 MB, free: 6.789 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.896e-05/0.09993, allocations: 322.8 kB / 495 MB, free: 6.465 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.435e-05/0.1, allocations: 27.97 kB / 495 MB, free: 6.438 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.988e-05/0.1001, allocations: 31.92 kB / 495 MB, free: 6.406 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001372/0.1002, allocations: 60.83 kB / 495.1 MB, free: 6.344 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.1002, allocations: 0 / 495.1 MB, free: 6.344 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001807/0.1004, allocations: 93.58 kB / 495.2 MB, free: 6.246 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.1004, allocations: 11.58 kB / 495.2 MB, free: 6.238 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.1005, allocations: 256 / 495.2 MB, free: 6.238 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.1005, allocations: 7.938 kB / 495.2 MB, free: 6.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.33e-05/0.1005, allocations: 12 kB / 495.2 MB, free: 6.219 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.1006, allocations: 4 kB / 495.2 MB, free: 6.215 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.319e-05/0.1006, allocations: 7.984 kB / 495.2 MB, free: 6.207 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.243e-06/0.1006, allocations: 7.875 kB / 495.2 MB, free: 6.199 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 (5): * Single equations (assignments): 5 * 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 8.754e-05/0.1007, allocations: 133.8 kB / 495.4 MB, free: 6.059 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.832e-05/0.1007, allocations: 7.906 kB / 495.4 MB, free: 6.051 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002279/0.101, allocations: 102 kB / 495.5 MB, free: 5.945 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.101, allocations: 288 / 495.5 MB, free: 5.945 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.101, allocations: 4 kB / 495.5 MB, free: 5.941 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.101, allocations: 0 / 495.5 MB, free: 5.941 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004016/0.1014, allocations: 374.4 kB / 495.9 MB, free: 5.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.1014, allocations: 3.984 kB / 495.9 MB, free: 5.516 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.285e-05/0.1015, allocations: 12 kB / 495.9 MB, free: 5.504 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.1015, allocations: 4 kB / 495.9 MB, free: 5.5 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.387e-06/0.1015, allocations: 4 kB / 495.9 MB, free: 5.496 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/0.1015, allocations: 7.938 kB / 495.9 MB, free: 5.488 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1015, allocations: 0 / 495.9 MB, free: 5.488 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002208/0.1018, allocations: 195.3 kB / 496.1 MB, free: 5.281 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.009e-05/0.1018, allocations: 89 kB / 496.2 MB, free: 5.176 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.31e-05/0.1018, allocations: 0 / 496.2 MB, free: 5.176 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.756e-05/0.1019, allocations: 16.12 kB / 496.2 MB, free: 5.16 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.113e-05/0.1019, allocations: 3.984 kB / 496.2 MB, free: 5.156 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.121e-06/0.102, allocations: 4 kB / 496.2 MB, free: 5.152 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000111/0.1021, allocations: 164 kB / 496.3 MB, free: 4.992 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1021, allocations: 0 / 496.3 MB, free: 4.992 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002203/0.1023, allocations: 16 kB / 496.4 MB, free: 4.977 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 (5): * Single equations (assignments): 5 * 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.001174/0.1035, allocations: 1.027 MB / 497.4 MB, free: 3.973 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001834/0.1037, allocations: 59.91 kB / 497.4 MB, free: 3.914 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1037, allocations: 0 / 497.4 MB, free: 3.914 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.521e-05/0.1038, allocations: 32.09 kB / 497.5 MB, free: 3.883 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002954/0.1041, allocations: 19.94 kB / 497.5 MB, free: 3.863 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001067/0.1052, allocations: 0.7347 MB / 498.2 MB, free: 3.07 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002512/0.1054, allocations: 0.7004 MB / 498.9 MB, free: 2.344 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.408e-05/0.1055, allocations: 39.36 kB / 499 MB, free: 2.305 MB / 378.7 MB Notification: Performance of SimCode: time 2.41e-07/0.1055, allocations: 4 kB / 499 MB, free: 2.301 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.611/2.716, allocations: 1.895 MB / 0.4891 GB, free: 412 kB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test30.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test30.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test30_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test30_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test30.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test30/Test30.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches