Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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 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.CombiTable1Ds.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_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.001064/0.001064, allocations: 95.58 kB / 17.35 MB, free: 6.344 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.0014/0.0014, allocations: 169.4 kB / 18.25 MB, free: 5.508 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.21/1.21, allocations: 223.3 MB / 242.3 MB, free: 216 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1734/0.1734, allocations: 44.25 MB / 337.7 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003016/0.0003016, allocations: 12.64 kB / 410.4 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1094, allocations: 61.92 MB / 472.4 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test28): time 0.001673/0.1111, allocations: 1.294 MB / 473.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006502/0.1117, allocations: 387.4 kB / 474 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.711e-05/0.1118, allocations: 3.938 kB / 474 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002562/0.1121, allocations: 107.8 kB / 474.1 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001379/0.1122, allocations: 79.72 kB / 474.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002101/0.1124, allocations: 79.22 kB / 474.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001307/0.1126, allocations: 75.86 kB / 474.4 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.857e-05/0.1127, allocations: 16.19 kB / 474.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.147e-05/0.1127, allocations: 35.78 kB / 474.4 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.513e-05/0.1128, allocations: 59.88 kB / 474.5 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.307e-05/0.1128, allocations: 0 / 474.5 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.957e-05/0.1129, allocations: 43.97 kB / 474.5 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.737e-05/0.113, allocations: 27.86 kB / 474.5 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.2e-05/0.113, allocations: 49.45 kB / 474.6 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001476/0.1132, allocations: 107.9 kB / 474.7 MB, free: 10.9 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.1132, allocations: 0 / 474.7 MB, free: 10.9 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1132, allocations: 7.938 kB / 474.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.507e-06/0.1132, allocations: 0 / 474.7 MB, free: 10.89 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.0003802/0.1136, allocations: 403 kB / 475.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.1136, allocations: 12.03 kB / 475.1 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.964e-05/0.1137, allocations: 30.75 kB / 475.1 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.466e-05/0.1137, allocations: 8.844 kB / 475.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001611/0.1139, allocations: 212.5 kB / 475.4 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.664e-06/0.1139, allocations: 4.375 kB / 475.4 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.155e-05/0.1139, allocations: 12.11 kB / 475.4 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001235/0.114, allocations: 57.67 kB / 475.4 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.1141, allocations: 0 / 475.4 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.378e-06/0.1141, allocations: 4 kB / 475.4 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.1141, allocations: 3.938 kB / 475.4 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.885e-05/0.1142, allocations: 27.98 kB / 475.5 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003182/0.1145, allocations: 296.7 kB / 475.8 MB, free: 9.695 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.15e-05/0.1146, allocations: 54.5 kB / 475.8 MB, free: 9.633 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.536e-05/0.1147, allocations: 16.86 kB / 475.8 MB, free: 9.613 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.744e-05/0.1147, allocations: 0 / 475.8 MB, free: 9.613 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.093e-05/0.1147, allocations: 34.64 kB / 475.9 MB, free: 9.57 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.01e-07/0.1147, allocations: 0 / 475.9 MB, free: 9.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007881/0.1155, allocations: 261 kB / 476.1 MB, free: 9.309 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.107e-05/0.1155, allocations: 59.28 kB / 476.2 MB, free: 9.238 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001939/0.1157, allocations: 238.7 kB / 476.4 MB, free: 8.988 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.298e-05/0.1158, allocations: 29.7 kB / 476.4 MB, free: 8.953 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.165e-05/0.1158, allocations: 112.1 kB / 476.5 MB, free: 8.84 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.516e-05/0.1159, allocations: 27.56 kB / 476.6 MB, free: 8.812 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.366e-05/0.1159, allocations: 9.719 kB / 476.6 MB, free: 8.797 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.806e-05/0.116, allocations: 326.8 kB / 476.9 MB, free: 8.469 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.534e-05/0.1161, allocations: 35.91 kB / 476.9 MB, free: 8.434 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.609e-05/0.1161, allocations: 28.05 kB / 477 MB, free: 8.406 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001399/0.1163, allocations: 76.77 kB / 477 MB, free: 8.328 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.1163, allocations: 0 / 477 MB, free: 8.328 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001925/0.1165, allocations: 109.6 kB / 477.1 MB, free: 8.215 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.1165, allocations: 8 kB / 477.2 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.1165, allocations: 0 / 477.2 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.247e-06/0.1165, allocations: 0 / 477.2 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.026e-05/0.1166, allocations: 19.98 kB / 477.2 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.82e-06/0.1166, allocations: 3.938 kB / 477.2 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.075e-05/0.1167, allocations: 7.984 kB / 477.2 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.365e-06/0.1167, allocations: 8 kB / 477.2 MB, free: 8.168 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 8.687e-05/0.1168, allocations: 133.8 kB / 477.3 MB, free: 8.027 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.169e-05/0.1168, allocations: 15.81 kB / 477.3 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002344/0.1171, allocations: 119.1 kB / 477.5 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.1171, allocations: 0 / 477.5 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.1171, allocations: 7.922 kB / 477.5 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.1171, allocations: 4 kB / 477.5 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000439/0.1175, allocations: 411.3 kB / 477.9 MB, free: 7.422 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.1176, allocations: 3.938 kB / 477.9 MB, free: 7.418 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.781e-05/0.1176, allocations: 27.97 kB / 477.9 MB, free: 7.391 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.1176, allocations: 432 / 477.9 MB, free: 7.391 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.1177, allocations: 3.984 kB / 477.9 MB, free: 7.387 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.1177, allocations: 4 kB / 477.9 MB, free: 7.383 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1177, allocations: 0 / 477.9 MB, free: 7.383 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002208/0.1179, allocations: 208.6 kB / 478.1 MB, free: 7.16 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.141e-05/0.1179, allocations: 96.84 kB / 478.2 MB, free: 7.047 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.118, allocations: 7.984 kB / 478.2 MB, free: 7.039 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.871e-05/0.118, allocations: 7.938 kB / 478.2 MB, free: 7.031 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.336e-05/0.1181, allocations: 7.984 kB / 478.2 MB, free: 7.023 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.651e-06/0.1181, allocations: 4 kB / 478.2 MB, free: 7.02 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001325/0.1182, allocations: 196.2 kB / 478.4 MB, free: 6.828 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1182, allocations: 0 / 478.4 MB, free: 6.828 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002396/0.1185, allocations: 24 kB / 478.4 MB, free: 6.805 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.001279/0.1198, allocations: 1.094 MB / 479.5 MB, free: 5.867 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001982/0.12, allocations: 83.88 kB / 479.6 MB, free: 5.785 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.12, allocations: 0 / 479.6 MB, free: 5.785 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.275e-05/0.1201, allocations: 35.92 kB / 479.7 MB, free: 5.75 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003086/0.1204, allocations: 19.98 kB / 479.7 MB, free: 5.73 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001605/0.122, allocations: 1.77 MB / 481.4 MB, free: 3.875 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002268/0.1222, allocations: 0.715 MB / 482.2 MB, free: 3.137 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.204e-05/0.1223, allocations: 12.97 kB / 482.2 MB, free: 3.125 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.512e-05/0.1224, allocations: 35.42 kB / 482.2 MB, free: 3.09 MB / 350.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1224, allocations: 0 / 482.2 MB, free: 3.09 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01138/0.1337, allocations: 2.748 MB / 485 MB, free: 460 kB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001992/0.134, allocations: 242.2 kB / 485.2 MB, free: 196 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.683/1.817, allocations: 0 / 485.2 MB, free: 196 kB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test28_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test28.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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,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(clock.y),der(d2_t_new.u),der(d_t_new.u),der(der(clock.y)),t_new.columns[1],t_new.extrapolation,t_new.nout,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,t_new.u_max,t_new.u_min,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time