Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_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.0008004/0.0008004, allocations: 94.8 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.0007915/0.0007918, allocations: 168.3 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.248/1.248, allocations: 223.3 MB / 242.3 MB, free: 196 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.1969/0.1969, allocations: 44.26 MB / 337.7 MB, free: 2.637 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002882/0.0002883, allocations: 16 kB / 410.4 MB, free: 27.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1109, allocations: 61.9 MB / 472.4 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test28): time 0.002169/0.1131, allocations: 1.301 MB / 473.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000859/0.114, allocations: 403.4 kB / 474 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.106e-05/0.1141, allocations: 0 / 474 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003074/0.1144, allocations: 99.78 kB / 474.1 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001843/0.1146, allocations: 75.78 kB / 474.2 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003401/0.1149, allocations: 106.4 kB / 474.3 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001956/0.1151, allocations: 71.89 kB / 474.4 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.1152, allocations: 24.14 kB / 474.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.355e-05/0.1153, allocations: 43.78 kB / 474.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001482/0.1155, allocations: 51.88 kB / 474.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.358e-05/0.1155, allocations: 4 kB / 474.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000124/0.1157, allocations: 39.98 kB / 474.6 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.166e-05/0.1157, allocations: 35.84 kB / 474.6 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.966e-05/0.1158, allocations: 49.45 kB / 474.6 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001976/0.116, allocations: 103.9 kB / 474.7 MB, free: 10.84 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.116, allocations: 0 / 474.7 MB, free: 10.84 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.829e-06/0.116, allocations: 0 / 474.7 MB, free: 10.84 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.116, allocations: 3.938 kB / 474.7 MB, free: 10.83 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.0005314/0.1166, allocations: 407 kB / 475.1 MB, free: 10.39 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.1166, allocations: 11.97 kB / 475.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.381e-05/0.1167, allocations: 38.75 kB / 475.2 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.291e-05/0.1167, allocations: 12.84 kB / 475.2 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000211/0.1169, allocations: 208.5 kB / 475.4 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.117, allocations: 4.375 kB / 475.4 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.253e-05/0.117, allocations: 8.125 kB / 475.4 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001699/0.1172, allocations: 57.67 kB / 475.5 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.1172, allocations: 0 / 475.5 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.1172, allocations: 3.938 kB / 475.5 MB, free: 9.996 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.1172, allocations: 0 / 475.5 MB, free: 9.996 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001294/0.1174, allocations: 43.94 kB / 475.5 MB, free: 9.953 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004692/0.1178, allocations: 304.7 kB / 475.8 MB, free: 9.605 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001117/0.118, allocations: 50.5 kB / 475.9 MB, free: 9.547 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.615e-05/0.118, allocations: 20.94 kB / 475.9 MB, free: 9.523 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.673e-05/0.1181, allocations: 4 kB / 475.9 MB, free: 9.52 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.799e-05/0.1181, allocations: 34.56 kB / 475.9 MB, free: 9.477 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.1181, allocations: 0 / 475.9 MB, free: 9.477 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009893/0.1191, allocations: 265 kB / 476.2 MB, free: 9.211 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.806e-05/0.1191, allocations: 59.34 kB / 476.2 MB, free: 9.141 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002224/0.1194, allocations: 242.6 kB / 476.5 MB, free: 8.887 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.597e-05/0.1194, allocations: 25.7 kB / 476.5 MB, free: 8.855 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.713e-05/0.1195, allocations: 104.1 kB / 476.6 MB, free: 8.75 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.772e-05/0.1195, allocations: 35.61 kB / 476.6 MB, free: 8.715 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.98e-05/0.1196, allocations: 17.72 kB / 476.7 MB, free: 8.691 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000109/0.1197, allocations: 326.8 kB / 477 MB, free: 8.363 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.15e-05/0.1198, allocations: 35.97 kB / 477 MB, free: 8.328 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.273e-05/0.1199, allocations: 31.98 kB / 477 MB, free: 8.297 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001713/0.12, allocations: 88.75 kB / 477.1 MB, free: 8.207 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.1201, allocations: 0 / 477.1 MB, free: 8.207 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000226/0.1203, allocations: 113.6 kB / 477.2 MB, free: 8.09 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.306e-05/0.1203, allocations: 4 kB / 477.2 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.1203, allocations: 0 / 477.2 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.1204, allocations: 4 kB / 477.2 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.621e-05/0.1205, allocations: 19.98 kB / 477.3 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.807e-06/0.1205, allocations: 3.938 kB / 477.3 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.523e-05/0.1205, allocations: 12 kB / 477.3 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.1205, allocations: 0 / 477.3 MB, free: 8.047 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.0001034/0.1206, allocations: 137.8 kB / 477.4 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.458e-05/0.1207, allocations: 15.8 kB / 477.4 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00029/0.121, allocations: 143.8 kB / 477.6 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.121, allocations: 0 / 477.6 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.121, allocations: 3.938 kB / 477.6 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.121, allocations: 7.938 kB / 477.6 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005407/0.1216, allocations: 427.3 kB / 478 MB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.1216, allocations: 7.922 kB / 478 MB, free: 7.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.617e-05/0.1217, allocations: 23.92 kB / 478 MB, free: 7.227 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.1217, allocations: 0 / 478 MB, free: 7.227 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.468e-06/0.1217, allocations: 4 kB / 478 MB, free: 7.223 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.1217, allocations: 4.031 kB / 478 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1217, allocations: 0 / 478 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002671/0.122, allocations: 224.2 kB / 478.3 MB, free: 6.98 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.383e-05/0.122, allocations: 100.9 kB / 478.4 MB, free: 6.863 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.653e-05/0.1221, allocations: 0 / 478.4 MB, free: 6.863 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.914e-05/0.1221, allocations: 15.98 kB / 478.4 MB, free: 6.848 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.552e-05/0.1222, allocations: 7.938 kB / 478.4 MB, free: 6.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.508e-06/0.1222, allocations: 0 / 478.4 MB, free: 6.84 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001509/0.1224, allocations: 192.2 kB / 478.6 MB, free: 6.652 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1224, allocations: 0 / 478.6 MB, free: 6.652 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002508/0.1226, allocations: 24 kB / 478.6 MB, free: 6.629 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.001458/0.1241, allocations: 1.094 MB / 479.7 MB, free: 5.691 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002341/0.1243, allocations: 87.89 kB / 479.8 MB, free: 5.605 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1243, allocations: 0 / 479.8 MB, free: 5.605 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.858e-05/0.1244, allocations: 47.91 kB / 479.8 MB, free: 5.559 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003258/0.1248, allocations: 8 kB / 479.8 MB, free: 5.551 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001938/0.1267, allocations: 1.825 MB / 481.7 MB, free: 3.641 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002796/0.127, allocations: 0.7121 MB / 482.4 MB, free: 2.902 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.763e-05/0.1271, allocations: 28.62 kB / 482.4 MB, free: 2.875 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.601e-05/0.1272, allocations: 39.42 kB / 482.4 MB, free: 2.836 MB / 350.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1272, allocations: 0 / 482.4 MB, free: 2.836 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02087/0.1481, allocations: 2.804 MB / 485.2 MB, free: 148 kB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002399/0.1483, allocations: 235.8 kB / 485.5 MB, free: 15.89 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.878/2.027, allocations: 0 / 485.5 MB, free: 15.89 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test28_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test28.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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(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