Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28.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.Test28,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test28,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test28",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.001122/0.001122, allocations: 109.1 kB / 15.98 MB, free: 5.898 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.001186/0.001187, allocations: 192 kB / 16.91 MB, free: 5.746 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.418/1.418, allocations: 205.1 MB / 222.8 MB, free: 12.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1959/0.1959, allocations: 43.51 MB / 313.6 MB, free: 0.7109 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.001654/0.001654, allocations: 71.91 kB / 382.3 MB, free: 56.92 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1031, allocations: 57.78 MB / 440.1 MB, free: 7.266 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test28): time 0.002934/0.1061, allocations: 1.612 MB / 441.7 MB, free: 5.633 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000626/0.1067, allocations: 327.6 kB / 442 MB, free: 5.309 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.283e-05/0.1068, allocations: 3.938 kB / 442 MB, free: 5.305 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003191/0.1071, allocations: 103.8 kB / 442.1 MB, free: 5.203 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002014/0.1074, allocations: 71.84 kB / 442.2 MB, free: 5.133 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002466/0.1076, allocations: 86.59 kB / 442.3 MB, free: 5.051 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001535/0.1078, allocations: 67.88 kB / 442.4 MB, free: 4.984 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.588e-05/0.1079, allocations: 11.98 kB / 442.4 MB, free: 4.973 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.503e-05/0.108, allocations: 39.83 kB / 442.4 MB, free: 4.934 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.333e-05/0.1081, allocations: 67.81 kB / 442.5 MB, free: 4.867 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.616e-05/0.1081, allocations: 0 / 442.5 MB, free: 4.867 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.673e-05/0.1082, allocations: 31.98 kB / 442.5 MB, free: 4.836 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.211e-05/0.1082, allocations: 23.92 kB / 442.5 MB, free: 4.812 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.248e-05/0.1083, allocations: 31.75 kB / 442.6 MB, free: 4.781 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001579/0.1084, allocations: 107.6 kB / 442.7 MB, free: 4.676 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1084, allocations: 0 / 442.7 MB, free: 4.676 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1085, allocations: 0 / 442.7 MB, free: 4.676 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.366e-05/0.1085, allocations: 0 / 442.7 MB, free: 4.676 MB / 318.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.0004016/0.1089, allocations: 410.9 kB / 443.1 MB, free: 4.227 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.1089, allocations: 15.89 kB / 443.1 MB, free: 4.211 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.04e-05/0.109, allocations: 34.73 kB / 443.1 MB, free: 4.168 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.148e-05/0.109, allocations: 8.844 kB / 443.1 MB, free: 4.16 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001534/0.1092, allocations: 204 kB / 443.3 MB, free: 3.922 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.418e-06/0.1092, allocations: 4.375 kB / 443.3 MB, free: 3.918 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.727e-05/0.1092, allocations: 4.375 kB / 443.3 MB, free: 3.914 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001194/0.1093, allocations: 53.55 kB / 443.4 MB, free: 3.855 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.1093, allocations: 8 kB / 443.4 MB, free: 3.848 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.1094, allocations: 0 / 443.4 MB, free: 3.848 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.1094, allocations: 3.984 kB / 443.4 MB, free: 3.844 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.968e-05/0.1094, allocations: 19.98 kB / 443.4 MB, free: 3.824 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002999/0.1098, allocations: 292.9 kB / 443.7 MB, free: 3.488 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001808/0.1099, allocations: 54.48 kB / 443.8 MB, free: 3.426 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.425e-05/0.11, allocations: 16.86 kB / 443.8 MB, free: 3.406 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.003e-05/0.11, allocations: 3.938 kB / 443.8 MB, free: 3.402 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.323e-05/0.11, allocations: 30.56 kB / 443.8 MB, free: 3.363 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.1101, allocations: 4 kB / 443.8 MB, free: 3.359 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005059/0.1106, allocations: 165.1 kB / 444 MB, free: 3.191 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.427e-05/0.1106, allocations: 51.41 kB / 444 MB, free: 3.129 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001501/0.1108, allocations: 242.6 kB / 444.3 MB, free: 2.883 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.764e-06/0.1108, allocations: 29.7 kB / 444.3 MB, free: 2.848 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.664e-05/0.1108, allocations: 104.1 kB / 444.4 MB, free: 2.742 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.81e-05/0.1108, allocations: 19.8 kB / 444.4 MB, free: 2.723 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.056e-05/0.1109, allocations: 17.72 kB / 444.4 MB, free: 2.699 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.728e-05/0.1109, allocations: 326.8 kB / 444.8 MB, free: 2.371 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.179e-05/0.111, allocations: 19.98 kB / 444.8 MB, free: 2.352 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.229e-05/0.1111, allocations: 19.98 kB / 444.8 MB, free: 2.332 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001107/0.1112, allocations: 57.02 kB / 444.8 MB, free: 2.273 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.1112, allocations: 4 kB / 444.8 MB, free: 2.27 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001523/0.1113, allocations: 97.41 kB / 444.9 MB, free: 2.168 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.1114, allocations: 4 kB / 444.9 MB, free: 2.164 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.1114, allocations: 0 / 444.9 MB, free: 2.164 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.1114, allocations: 0 / 444.9 MB, free: 2.164 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.55e-05/0.1114, allocations: 15.98 kB / 445 MB, free: 2.148 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.1115, allocations: 0 / 445 MB, free: 2.148 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.478e-05/0.1115, allocations: 0 / 445 MB, free: 2.148 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.48e-06/0.1115, allocations: 11.94 kB / 445 MB, free: 2.137 MB / 318.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 6.182e-05/0.1116, allocations: 133.8 kB / 445.1 MB, free: 1.996 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.871e-05/0.1116, allocations: 7.906 kB / 445.1 MB, free: 1.988 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001949/0.1118, allocations: 106.6 kB / 445.2 MB, free: 1.883 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.1118, allocations: 0 / 445.2 MB, free: 1.883 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.1118, allocations: 0 / 445.2 MB, free: 1.883 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.1118, allocations: 0 / 445.2 MB, free: 1.883 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003108/0.1122, allocations: 374.5 kB / 445.6 MB, free: 1.461 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1122, allocations: 0 / 445.6 MB, free: 1.461 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.843e-05/0.1122, allocations: 15.94 kB / 445.6 MB, free: 1.445 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.1122, allocations: 0 / 445.6 MB, free: 1.445 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.1122, allocations: 192 / 445.6 MB, free: 1.445 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.1122, allocations: 7.938 kB / 445.6 MB, free: 1.438 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.1123, allocations: 7.922 kB / 445.6 MB, free: 1.43 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001674/0.1124, allocations: 187.3 kB / 445.8 MB, free: 1.23 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.174e-05/0.1125, allocations: 89 kB / 445.9 MB, free: 1.125 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.522e-05/0.1125, allocations: 0 / 445.9 MB, free: 1.125 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.26e-05/0.1125, allocations: 7.938 kB / 445.9 MB, free: 1.117 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.247e-05/0.1126, allocations: 4 kB / 445.9 MB, free: 1.113 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-06/0.1126, allocations: 3.984 kB / 445.9 MB, free: 1.109 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.579e-05/0.1127, allocations: 184.3 kB / 446.1 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1127, allocations: 4 kB / 446.1 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002292/0.1129, allocations: 19.98 kB / 446.1 MB, free: 0.9062 MB / 318.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.001095/0.114, allocations: 1.008 MB / 447.1 MB, free: 15.96 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001918/0.1142, allocations: 63.89 kB / 447.2 MB, free: 15.89 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1142, allocations: 0 / 447.2 MB, free: 15.89 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.172e-05/0.1143, allocations: 23.98 kB / 447.2 MB, free: 15.87 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003455/0.1147, allocations: 25.94 kB / 447.2 MB, free: 15.85 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001743/0.1164, allocations: 1.664 MB / 448.9 MB, free: 14.1 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002837/0.1167, allocations: 0.7119 MB / 449.6 MB, free: 13.36 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.875e-05/0.1168, allocations: 16.05 kB / 449.6 MB, free: 13.34 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.18e-05/0.1169, allocations: 39.36 kB / 449.7 MB, free: 13.3 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1169, allocations: 0 / 449.7 MB, free: 13.3 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2192/0.3361, allocations: 2.736 MB / 452.4 MB, free: 10.59 MB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002098/0.3363, allocations: 236.2 kB / 452.6 MB, free: 10.32 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.932/2.268, allocations: 4 kB / 452.6 MB, free: 10.32 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test28_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test28.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test28/Test28.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28.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