Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.CombiTable1Dv.Test32,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test32,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_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.001229/0.001229, allocations: 114.6 kB / 17.33 MB, free: 5.988 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.001188/0.001188, allocations: 193.3 kB / 18.25 MB, free: 5.086 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.452/1.452, allocations: 222.9 MB / 241.9 MB, free: 13.66 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2347/0.2347, allocations: 44.17 MB / 336.3 MB, free: 2.719 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00112/0.00112, allocations: 60.95 kB / 408 MB, free: 27.49 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1029, allocations: 60.84 MB / 468.8 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test32): time 0.003392/0.1063, allocations: 1.621 MB / 470.5 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000742/0.1071, allocations: 427.2 kB / 470.9 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.47e-05/0.1072, allocations: 7.938 kB / 470.9 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003078/0.1075, allocations: 95.8 kB / 471 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001952/0.1077, allocations: 75.84 kB / 471 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002913/0.108, allocations: 99.06 kB / 471.1 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001605/0.1082, allocations: 79.81 kB / 471.2 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.1083, allocations: 24.16 kB / 471.2 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.785e-05/0.1084, allocations: 43.83 kB / 471.3 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000152/0.1085, allocations: 59.89 kB / 471.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.512e-05/0.1085, allocations: 3.938 kB / 471.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.512e-05/0.1086, allocations: 43.97 kB / 471.4 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.836e-05/0.1087, allocations: 23.92 kB / 471.4 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.237e-05/0.1088, allocations: 35.73 kB / 471.4 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000193/0.109, allocations: 119.8 kB / 471.6 MB, free: 11.87 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.109, allocations: 0 / 471.6 MB, free: 11.87 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.109, allocations: 0 / 471.6 MB, free: 11.87 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.601e-06/0.109, allocations: 0 / 471.6 MB, free: 11.87 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004993/0.1095, allocations: 414.9 kB / 472 MB, free: 11.41 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.032e-05/0.1096, allocations: 8.031 kB / 472 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.676e-05/0.1096, allocations: 38.75 kB / 472 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.684e-05/0.1097, allocations: 12.75 kB / 472 MB, free: 11.35 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002025/0.1099, allocations: 208.6 kB / 472.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.457e-06/0.1099, allocations: 4.375 kB / 472.2 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.547e-05/0.1099, allocations: 8.125 kB / 472.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001627/0.1101, allocations: 57.61 kB / 472.3 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.1101, allocations: 0 / 472.3 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.448e-06/0.1101, allocations: 3.938 kB / 472.3 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.047e-05/0.1101, allocations: 4 kB / 472.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.894e-05/0.1102, allocations: 27.97 kB / 472.3 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004727/0.1107, allocations: 304.7 kB / 472.6 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001176/0.1109, allocations: 50.48 kB / 472.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.576e-05/0.1109, allocations: 12.86 kB / 472.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.464e-05/0.111, allocations: 0 / 472.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.941e-05/0.111, allocations: 38.56 kB / 472.7 MB, free: 10.53 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.111, allocations: 4 kB / 472.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009752/0.112, allocations: 241 kB / 473 MB, free: 10.28 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.929e-05/0.1121, allocations: 55.34 kB / 473 MB, free: 10.21 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002411/0.1123, allocations: 238.7 kB / 473.3 MB, free: 9.969 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.166e-05/0.1123, allocations: 33.69 kB / 473.3 MB, free: 9.93 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.56e-05/0.1124, allocations: 108.1 kB / 473.4 MB, free: 9.82 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.145e-05/0.1124, allocations: 23.55 kB / 473.4 MB, free: 9.797 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.263e-05/0.1125, allocations: 25.72 kB / 473.4 MB, free: 9.766 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.1126, allocations: 322.8 kB / 473.8 MB, free: 9.441 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.546e-05/0.1127, allocations: 35.91 kB / 473.8 MB, free: 9.406 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.172e-05/0.1128, allocations: 23.98 kB / 473.8 MB, free: 9.383 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001529/0.113, allocations: 76.81 kB / 473.9 MB, free: 9.305 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.248e-05/0.113, allocations: 8 kB / 473.9 MB, free: 9.297 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002095/0.1132, allocations: 109.5 kB / 474 MB, free: 9.184 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.1132, allocations: 8 kB / 474 MB, free: 9.176 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.1132, allocations: 0 / 474 MB, free: 9.176 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.1133, allocations: 0 / 474 MB, free: 9.176 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001017/0.1134, allocations: 19.92 kB / 474 MB, free: 9.156 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.156e-06/0.1134, allocations: 7.938 kB / 474 MB, free: 9.148 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.948e-05/0.1134, allocations: 7.984 kB / 474.1 MB, free: 9.141 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.508e-06/0.1134, allocations: 4 kB / 474.1 MB, free: 9.137 MB / 350.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 (8): * Single equations (assignments): 8 * 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 0.0001136/0.1136, allocations: 129.8 kB / 474.2 MB, free: 9 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.667e-05/0.1136, allocations: 16.23 kB / 474.2 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002769/0.1139, allocations: 131.3 kB / 474.3 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.1139, allocations: 0 / 474.3 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.1139, allocations: 7.938 kB / 474.3 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.1139, allocations: 7.969 kB / 474.3 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005275/0.1145, allocations: 423.2 kB / 474.8 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.409e-05/0.1145, allocations: 3.938 kB / 474.8 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.433e-05/0.1146, allocations: 15.98 kB / 474.8 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.1146, allocations: 4 kB / 474.8 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.1146, allocations: 8.031 kB / 474.8 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1146, allocations: 0 / 474.8 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1146, allocations: 0 / 474.8 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002795/0.1149, allocations: 216.2 kB / 475 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.246e-05/0.1149, allocations: 96.73 kB / 475.1 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.811e-05/0.115, allocations: 4 kB / 475.1 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.078e-05/0.115, allocations: 11.98 kB / 475.1 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.295e-05/0.1151, allocations: 0 / 475.1 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.562e-06/0.1151, allocations: 8 kB / 475.1 MB, free: 7.969 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001363/0.1152, allocations: 184.3 kB / 475.3 MB, free: 7.789 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1152, allocations: 0 / 475.3 MB, free: 7.789 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002438/0.1155, allocations: 24 kB / 475.3 MB, free: 7.766 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001447/0.1169, allocations: 1.102 MB / 476.4 MB, free: 6.816 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002286/0.1172, allocations: 71.95 kB / 476.5 MB, free: 6.746 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1172, allocations: 0 / 476.5 MB, free: 6.746 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001039/0.1173, allocations: 39.91 kB / 476.5 MB, free: 6.707 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003575/0.1177, allocations: 16 kB / 476.5 MB, free: 6.691 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001829/0.1195, allocations: 1.802 MB / 478.3 MB, free: 4.809 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002649/0.1198, allocations: 0.7197 MB / 479.1 MB, free: 4.062 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.299e-05/0.1199, allocations: 16.69 kB / 479.1 MB, free: 4.047 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.068e-05/0.1199, allocations: 43.36 kB / 479.1 MB, free: 4.004 MB / 350.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1199, allocations: 0 / 479.1 MB, free: 4.004 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01249/0.1324, allocations: 3.057 MB / 482.2 MB, free: 1.043 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002247/0.1327, allocations: 237.8 kB / 482.4 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.943/2.075, allocations: 3.625 kB / 482.4 MB, free: 0.7812 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test32_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test32.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test32/Test32.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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,d2_t_new.y Variables in the result:clock.offset,clock.startTime,clock.y,d2_t_new.u,d2_t_new.y,d_t_new.u,d_t_new.y,der(d2_t_new.u),der(d_t_new.u),der(der(t_new.u[1])),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