Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.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.CombiTable1D.Test8,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test8,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_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.001127/0.001132, allocations: 104.2 kB / 15.98 MB, free: 6.336 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.001353/0.001353, allocations: 196.3 kB / 16.91 MB, free: 6.188 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.412/1.412, allocations: 205.1 MB / 222.8 MB, free: 4.715 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3011/0.3011, allocations: 43.5 MB / 313.6 MB, free: 8.469 MB / 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.001406/0.001406, allocations: 71.89 kB / 382.3 MB, free: 8.523 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.1067, allocations: 57.78 MB / 440.1 MB, free: 14.64 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test8): time 0.003294/0.11, allocations: 1.61 MB / 441.7 MB, free: 13.02 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006389/0.1107, allocations: 323.6 kB / 442 MB, free: 12.7 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.887e-05/0.1108, allocations: 0 / 442 MB, free: 12.7 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000252/0.1111, allocations: 23.91 kB / 442.1 MB, free: 12.68 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001839/0.1113, allocations: 39.86 kB / 442.1 MB, free: 12.64 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002787/0.1116, allocations: 75.89 kB / 442.2 MB, free: 12.56 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000128/0.1117, allocations: 51.84 kB / 442.2 MB, free: 12.51 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.502e-05/0.1118, allocations: 16.27 kB / 442.2 MB, free: 12.5 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.464e-05/0.1118, allocations: 27.8 kB / 442.3 MB, free: 12.47 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.582e-05/0.1119, allocations: 23.91 kB / 442.3 MB, free: 12.45 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.392e-05/0.1119, allocations: 4 kB / 442.3 MB, free: 12.44 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.884e-05/0.112, allocations: 31.94 kB / 442.3 MB, free: 12.41 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.346e-05/0.1121, allocations: 15.92 kB / 442.3 MB, free: 12.39 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.302e-05/0.1121, allocations: 19.81 kB / 442.4 MB, free: 12.38 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001436/0.1122, allocations: 83.72 kB / 442.4 MB, free: 12.29 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1123, allocations: 0 / 442.4 MB, free: 12.29 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1123, allocations: 0 / 442.4 MB, free: 12.29 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.049e-06/0.1123, allocations: 0 / 442.4 MB, free: 12.29 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.0004041/0.1127, allocations: 375.2 kB / 442.8 MB, free: 11.88 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.1127, allocations: 19.89 kB / 442.8 MB, free: 11.86 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.357e-05/0.1128, allocations: 34.75 kB / 442.9 MB, free: 11.82 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.898e-05/0.1128, allocations: 8.844 kB / 442.9 MB, free: 11.81 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001574/0.113, allocations: 188.1 kB / 443 MB, free: 11.59 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/0.113, allocations: 4.375 kB / 443.1 MB, free: 11.58 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.962e-05/0.113, allocations: 4.375 kB / 443.1 MB, free: 11.58 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001283/0.1131, allocations: 53.62 kB / 443.1 MB, free: 11.52 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.598e-05/0.1132, allocations: 3.984 kB / 443.1 MB, free: 11.52 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.915e-06/0.1132, allocations: 0 / 443.1 MB, free: 11.52 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.1132, allocations: 4 kB / 443.1 MB, free: 11.51 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.051e-05/0.1133, allocations: 27.97 kB / 443.1 MB, free: 11.48 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003472/0.1136, allocations: 288.7 kB / 443.4 MB, free: 11.15 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000198/0.1138, allocations: 42.66 kB / 443.5 MB, free: 11.1 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.228e-05/0.1139, allocations: 16.84 kB / 443.5 MB, free: 11.08 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.15e-05/0.1139, allocations: 4 kB / 443.5 MB, free: 11.08 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.833e-05/0.114, allocations: 38.56 kB / 443.5 MB, free: 11.03 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.114, allocations: 0 / 443.5 MB, free: 11.03 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.000571/0.1146, allocations: 145.2 kB / 443.7 MB, free: 10.88 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.893e-05/0.1146, allocations: 55.41 kB / 443.7 MB, free: 10.82 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001347/0.1147, allocations: 161.1 kB / 443.9 MB, free: 10.65 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.356e-05/0.1148, allocations: 25.7 kB / 443.9 MB, free: 10.62 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.598e-05/0.1148, allocations: 92.14 kB / 444 MB, free: 10.53 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.635e-05/0.1149, allocations: 23.64 kB / 444 MB, free: 10.5 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.448e-05/0.1149, allocations: 17.72 kB / 444 MB, free: 10.48 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001083/0.115, allocations: 322.8 kB / 444.3 MB, free: 10.16 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.109e-05/0.1151, allocations: 19.98 kB / 444.4 MB, free: 10.14 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.363e-05/0.1152, allocations: 27.92 kB / 444.4 MB, free: 10.11 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001666/0.1153, allocations: 52.83 kB / 444.4 MB, free: 10.05 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.1153, allocations: 0 / 444.4 MB, free: 10.05 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001848/0.1155, allocations: 85.56 kB / 444.5 MB, free: 9.965 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.1156, allocations: 4 kB / 444.5 MB, free: 9.961 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.1156, allocations: 3.938 kB / 444.5 MB, free: 9.957 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.1156, allocations: 4 kB / 444.5 MB, free: 9.953 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.959e-05/0.1157, allocations: 12 kB / 444.6 MB, free: 9.941 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.746e-06/0.1157, allocations: 3.984 kB / 444.6 MB, free: 9.938 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.946e-05/0.1157, allocations: 7.938 kB / 444.6 MB, free: 9.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.383e-06/0.1157, allocations: 0 / 444.6 MB, free: 9.93 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 9.06e-05/0.1158, allocations: 125.8 kB / 444.7 MB, free: 9.797 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.199e-05/0.1159, allocations: 12.14 kB / 444.7 MB, free: 9.785 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002247/0.1161, allocations: 93.97 kB / 444.8 MB, free: 9.684 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.1161, allocations: 4 kB / 444.8 MB, free: 9.68 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.1161, allocations: 4 kB / 444.8 MB, free: 9.676 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.1161, allocations: 3.938 kB / 444.8 MB, free: 9.672 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004103/0.1165, allocations: 350.5 kB / 445.1 MB, free: 9.273 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1166, allocations: 0 / 445.1 MB, free: 9.273 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.606e-05/0.1166, allocations: 11.98 kB / 445.2 MB, free: 9.262 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.1166, allocations: 3.938 kB / 445.2 MB, free: 9.258 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.1166, allocations: 7.938 kB / 445.2 MB, free: 9.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1166, allocations: 4 kB / 445.2 MB, free: 9.246 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1167, allocations: 0 / 445.2 MB, free: 9.246 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002196/0.1169, allocations: 183.4 kB / 445.4 MB, free: 9.051 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.877e-05/0.1169, allocations: 81.02 kB / 445.4 MB, free: 8.953 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.61e-05/0.1169, allocations: 3.938 kB / 445.4 MB, free: 8.949 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.476e-05/0.117, allocations: 8 kB / 445.4 MB, free: 8.941 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.477e-05/0.1171, allocations: 11.98 kB / 445.5 MB, free: 8.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.038e-06/0.1171, allocations: 0 / 445.5 MB, free: 8.93 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.164e-05/0.1172, allocations: 119.2 kB / 445.6 MB, free: 8.812 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1172, allocations: 0 / 445.6 MB, free: 8.812 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002301/0.1174, allocations: 12 kB / 445.6 MB, free: 8.801 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.001281/0.1187, allocations: 1.024 MB / 446.6 MB, free: 7.793 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002027/0.1189, allocations: 59.84 kB / 446.7 MB, free: 7.734 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.1189, allocations: 0 / 446.7 MB, free: 7.734 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.868e-05/0.119, allocations: 27.97 kB / 446.7 MB, free: 7.707 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003527/0.1194, allocations: 23.73 kB / 446.7 MB, free: 7.684 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001529/0.1209, allocations: 1.467 MB / 448.2 MB, free: 6.133 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002417/0.1212, allocations: 0.6924 MB / 448.9 MB, free: 5.414 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.969e-05/0.1212, allocations: 24.3 kB / 448.9 MB, free: 5.391 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.564e-05/0.1213, allocations: 23.42 kB / 448.9 MB, free: 5.371 MB / 382.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1213, allocations: 0 / 448.9 MB, free: 5.371 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07503/0.1963, allocations: 2.344 MB / 451.3 MB, free: 3.008 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003409/0.1967, allocations: 230.8 kB / 451.5 MB, free: 2.754 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.227/2.424, allocations: 64 / 451.5 MB, free: 2.754 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test8_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test8.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test8/Test8.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches