Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test32.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.Test32,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test32,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test32",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.001163/0.001163, allocations: 107.8 kB / 15.98 MB, free: 6.348 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.001187/0.001187, allocations: 192.5 kB / 16.91 MB, free: 6.191 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.464/1.464, allocations: 205.1 MB / 222.8 MB, free: 4.68 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.365/0.365, allocations: 43.49 MB / 313.6 MB, free: 8.559 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.001432/0.001432, allocations: 74.56 kB / 382.3 MB, free: 8.508 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09729/0.09874, allocations: 57.77 MB / 440.1 MB, free: 14.64 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test32): time 0.003244/0.102, allocations: 1.622 MB / 441.7 MB, free: 13 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006771/0.1027, allocations: 319.6 kB / 442 MB, free: 12.68 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.2e-05/0.1028, allocations: 4 kB / 442 MB, free: 12.68 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003272/0.1032, allocations: 103.8 kB / 442.1 MB, free: 12.58 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002169/0.1034, allocations: 79.84 kB / 442.2 MB, free: 12.5 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002708/0.1037, allocations: 79.84 kB / 442.3 MB, free: 12.42 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001456/0.1038, allocations: 75.88 kB / 442.4 MB, free: 12.35 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.969e-05/0.104, allocations: 16.19 kB / 442.4 MB, free: 12.33 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.752e-05/0.104, allocations: 39.84 kB / 442.4 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001024/0.1041, allocations: 67.86 kB / 442.5 MB, free: 12.23 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.641e-05/0.1042, allocations: 4 kB / 442.5 MB, free: 12.22 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.053e-05/0.1042, allocations: 31.94 kB / 442.5 MB, free: 12.19 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.149e-05/0.1043, allocations: 23.86 kB / 442.5 MB, free: 12.17 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.22e-05/0.1043, allocations: 35.73 kB / 442.6 MB, free: 12.13 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001547/0.1045, allocations: 103.6 kB / 442.7 MB, free: 12.03 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.1045, allocations: 0 / 442.7 MB, free: 12.03 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1045, allocations: 0 / 442.7 MB, free: 12.03 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.1045, allocations: 0 / 442.7 MB, free: 12.03 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.0004216/0.105, allocations: 414.9 kB / 443.1 MB, free: 11.58 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.105, allocations: 11.89 kB / 443.1 MB, free: 11.57 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.165e-05/0.105, allocations: 34.75 kB / 443.1 MB, free: 11.52 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.822e-05/0.1051, allocations: 8.844 kB / 443.1 MB, free: 11.52 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001553/0.1052, allocations: 208 kB / 443.3 MB, free: 11.27 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.1052, allocations: 4.375 kB / 443.3 MB, free: 11.27 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.403e-05/0.1053, allocations: 4.312 kB / 443.4 MB, free: 11.27 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001164/0.1054, allocations: 57.55 kB / 443.4 MB, free: 11.2 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.1054, allocations: 0 / 443.4 MB, free: 11.2 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.696e-06/0.1054, allocations: 4 kB / 443.4 MB, free: 11.2 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.296e-06/0.1054, allocations: 4 kB / 443.4 MB, free: 11.2 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.183e-05/0.1055, allocations: 23.98 kB / 443.4 MB, free: 11.17 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003221/0.1058, allocations: 288.9 kB / 443.7 MB, free: 10.84 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001748/0.106, allocations: 42.5 kB / 443.8 MB, free: 10.79 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.671e-05/0.1061, allocations: 24.94 kB / 443.8 MB, free: 10.76 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.818e-05/0.1061, allocations: 0 / 443.8 MB, free: 10.76 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.818e-05/0.1061, allocations: 34.56 kB / 443.8 MB, free: 10.72 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 8.71e-07/0.1061, allocations: 0 / 443.8 MB, free: 10.72 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004876/0.1066, allocations: 157.1 kB / 444 MB, free: 10.56 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.08e-05/0.1067, allocations: 55.41 kB / 444 MB, free: 10.49 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001948/0.1069, allocations: 234.7 kB / 444.3 MB, free: 10.25 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.681e-05/0.1069, allocations: 29.7 kB / 444.3 MB, free: 10.22 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.612e-05/0.107, allocations: 112.1 kB / 444.4 MB, free: 10.11 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.842e-05/0.107, allocations: 7.812 kB / 444.4 MB, free: 10.1 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.387e-05/0.107, allocations: 25.7 kB / 444.4 MB, free: 10.07 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.935e-05/0.1071, allocations: 326.8 kB / 444.7 MB, free: 9.738 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.523e-05/0.1072, allocations: 19.98 kB / 444.8 MB, free: 9.719 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.668e-05/0.1073, allocations: 23.98 kB / 444.8 MB, free: 9.695 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001188/0.1074, allocations: 48.83 kB / 444.8 MB, free: 9.645 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.1074, allocations: 0 / 444.8 MB, free: 9.645 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001713/0.1076, allocations: 101.6 kB / 444.9 MB, free: 9.539 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.1076, allocations: 4 kB / 444.9 MB, free: 9.535 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.1076, allocations: 0 / 444.9 MB, free: 9.535 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.1076, allocations: 4 kB / 444.9 MB, free: 9.531 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.977e-05/0.1077, allocations: 15.98 kB / 445 MB, free: 9.516 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.958e-06/0.1077, allocations: 3.938 kB / 445 MB, free: 9.512 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.707e-05/0.1077, allocations: 4 kB / 445 MB, free: 9.508 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.572e-06/0.1078, allocations: 3.938 kB / 445 MB, free: 9.504 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 8.105e-05/0.1078, allocations: 133.8 kB / 445.1 MB, free: 9.363 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.949e-05/0.1079, allocations: 8.188 kB / 445.1 MB, free: 9.355 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002255/0.1081, allocations: 106.6 kB / 445.2 MB, free: 9.234 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.1081, allocations: 7.922 kB / 445.2 MB, free: 9.227 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.1081, allocations: 4 kB / 445.2 MB, free: 9.223 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.594e-06/0.1081, allocations: 0 / 445.2 MB, free: 9.223 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003796/0.1085, allocations: 362.5 kB / 445.6 MB, free: 8.812 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.1085, allocations: 3.984 kB / 445.6 MB, free: 8.809 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.922e-05/0.1086, allocations: 11.94 kB / 445.6 MB, free: 8.797 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.1086, allocations: 4 kB / 445.6 MB, free: 8.793 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.133e-06/0.1086, allocations: 0 / 445.6 MB, free: 8.793 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.1086, allocations: 7.938 kB / 445.6 MB, free: 8.785 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1086, allocations: 0 / 445.6 MB, free: 8.785 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001928/0.1088, allocations: 187.6 kB / 445.8 MB, free: 8.586 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.686e-05/0.1089, allocations: 85.02 kB / 445.9 MB, free: 8.484 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.578e-05/0.1089, allocations: 4 kB / 445.9 MB, free: 8.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.161e-05/0.109, allocations: 11.92 kB / 445.9 MB, free: 8.469 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.149e-05/0.109, allocations: 4 kB / 445.9 MB, free: 8.465 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.566e-06/0.109, allocations: 0 / 445.9 MB, free: 8.465 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001277/0.1091, allocations: 192.3 kB / 446.1 MB, free: 8.277 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1091, allocations: 0 / 446.1 MB, free: 8.277 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002207/0.1094, allocations: 8 kB / 446.1 MB, free: 8.27 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.001235/0.1106, allocations: 1.032 MB / 447.1 MB, free: 7.246 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001816/0.1108, allocations: 59.89 kB / 447.2 MB, free: 7.188 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1108, allocations: 0 / 447.2 MB, free: 7.188 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.333e-05/0.1109, allocations: 23.98 kB / 447.2 MB, free: 7.164 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003377/0.1112, allocations: 27.78 kB / 447.2 MB, free: 7.137 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001528/0.1128, allocations: 1.66 MB / 448.9 MB, free: 5.398 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002508/0.113, allocations: 0.719 MB / 449.6 MB, free: 4.656 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.884e-05/0.1131, allocations: 11.98 kB / 449.6 MB, free: 4.645 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.151e-05/0.1132, allocations: 31.42 kB / 449.7 MB, free: 4.617 MB / 382.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1132, allocations: 0 / 449.7 MB, free: 4.617 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.121/0.2342, allocations: 2.74 MB / 452.4 MB, free: 1.863 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002141/0.2345, allocations: 232.2 kB / 452.6 MB, free: 1.609 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.866/2.101, allocations: 0 / 452.6 MB, free: 1.609 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test32.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test32.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test32.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test32.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test32_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test32_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test32.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test32_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test32/Test32.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1],d_t_new.y,clock.y Variables in the result:clock.offset,clock.startTime,clock.y,d_t_new.u,d_t_new.y,der(d_t_new.u),der(t_new.u[1]),t_new.columns[1],t_new.extrapolation,t_new.n,t_new.smoothness,t_new.tableOnFile,t_new.table[1,1],t_new.table[1,2],t_new.table[2,1],t_new.table[2,2],t_new.table[3,1],t_new.table[3,2],t_new.table[4,1],t_new.table[4,2],t_new.table[5,1],t_new.table[5,2],t_new.table[6,1],t_new.table[6,2],t_new.table[7,1],t_new.table[7,2],t_new.table[8,1],t_new.table[8,2],t_new.table[9,1],t_new.table[9,2],t_new.u[1],t_new.u_max,t_new.u_min,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time