Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11.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.CombiTable2Dv.Test11,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test11,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test11",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.001427/0.001427, allocations: 101.8 kB / 16.46 MB, free: 6.445 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.001404/0.001404, allocations: 189.4 kB / 17.39 MB, free: 5.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.14/2.14, allocations: 207.6 MB / 225.8 MB, free: 11.53 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.2794/0.2794, allocations: 44.25 MB / 319.9 MB, free: 12.85 MB / 270.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.002203/0.002203, allocations: 68.38 kB / 453.5 MB, free: 9.18 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.187/0.1892, allocations: 61.02 MB / 0.5025 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test11): time 0.004952/0.1942, allocations: 1.615 MB / 0.504 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002416/0.1966, allocations: 0.9769 MB / 0.505 GB, free: 9.422 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.161e-05/0.1967, allocations: 4 kB / 0.505 GB, free: 9.418 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003255/0.197, allocations: 23.73 kB / 0.505 GB, free: 9.395 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000297/0.1973, allocations: 43.78 kB / 0.5051 GB, free: 9.352 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000643/0.1979, allocations: 159.7 kB / 0.5052 GB, free: 9.195 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002242/0.1982, allocations: 63.83 kB / 0.5053 GB, free: 9.133 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001462/0.1983, allocations: 19.97 kB / 0.5053 GB, free: 9.113 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.406e-05/0.1984, allocations: 23.86 kB / 0.5053 GB, free: 9.09 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002027/0.1986, allocations: 35.84 kB / 0.5054 GB, free: 9.055 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.32e-05/0.1986, allocations: 4 kB / 0.5054 GB, free: 9.051 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001649/0.1988, allocations: 47.97 kB / 0.5054 GB, free: 9.004 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.023e-05/0.1988, allocations: 23.92 kB / 0.5054 GB, free: 8.98 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.349e-05/0.1989, allocations: 27.84 kB / 0.5054 GB, free: 8.953 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003203/0.1992, allocations: 107.5 kB / 0.5056 GB, free: 8.848 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.1992, allocations: 4 kB / 0.5056 GB, free: 8.844 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1992, allocations: 0 / 0.5056 GB, free: 8.844 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.593e-06/0.1993, allocations: 0 / 0.5056 GB, free: 8.844 MB / 398.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.0008003/0.2001, allocations: 395 kB / 0.5059 GB, free: 8.41 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.756e-05/0.2001, allocations: 15.89 kB / 0.5059 GB, free: 8.395 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.482e-05/0.2002, allocations: 34.73 kB / 0.506 GB, free: 8.352 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.016e-05/0.2002, allocations: 8.891 kB / 0.506 GB, free: 8.344 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003442/0.2006, allocations: 192.2 kB / 0.5062 GB, free: 8.117 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.781e-05/0.2006, allocations: 16.31 kB / 0.5062 GB, free: 8.102 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.164e-05/0.2006, allocations: 384 / 0.5062 GB, free: 8.102 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002818/0.2009, allocations: 75.33 kB / 0.5063 GB, free: 8.016 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.657e-05/0.2009, allocations: 0 / 0.5063 GB, free: 8.016 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.2009, allocations: 0 / 0.5063 GB, free: 8.016 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.926e-06/0.2009, allocations: 4 kB / 0.5063 GB, free: 8.012 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000221/0.2012, allocations: 47.94 kB / 0.5063 GB, free: 7.965 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006791/0.2018, allocations: 312.6 kB / 0.5066 GB, free: 7.609 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001952/0.202, allocations: 46.56 kB / 0.5067 GB, free: 7.555 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000111/0.2021, allocations: 28.92 kB / 0.5067 GB, free: 7.523 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.018e-05/0.2022, allocations: 0 / 0.5067 GB, free: 7.523 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.067e-05/0.2022, allocations: 34.56 kB / 0.5067 GB, free: 7.48 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.313e-06/0.2022, allocations: 0 / 0.5067 GB, free: 7.48 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.001162/0.2034, allocations: 221.7 kB / 0.5069 GB, free: 7.258 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.37e-05/0.2035, allocations: 81.11 kB / 0.507 GB, free: 7.16 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002466/0.2037, allocations: 148.6 kB / 0.5071 GB, free: 7.008 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.374e-05/0.2037, allocations: 25.7 kB / 0.5072 GB, free: 6.977 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000102/0.2038, allocations: 104 kB / 0.5073 GB, free: 6.871 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.248e-05/0.2039, allocations: 19.86 kB / 0.5073 GB, free: 6.852 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.374e-05/0.204, allocations: 25.7 kB / 0.5073 GB, free: 6.82 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002117/0.2042, allocations: 310.8 kB / 0.5076 GB, free: 6.508 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001858/0.2044, allocations: 43.91 kB / 0.5076 GB, free: 6.465 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001984/0.2046, allocations: 57.61 kB / 0.5077 GB, free: 6.402 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003639/0.2049, allocations: 88.8 kB / 0.5078 GB, free: 6.312 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.2049, allocations: 0 / 0.5078 GB, free: 6.312 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004748/0.2054, allocations: 129.6 kB / 0.5079 GB, free: 6.18 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/0.2054, allocations: 4 kB / 0.5079 GB, free: 6.176 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.2054, allocations: 0 / 0.5079 GB, free: 6.176 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.2054, allocations: 0 / 0.5079 GB, free: 6.176 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001859/0.2056, allocations: 27.91 kB / 0.5079 GB, free: 6.148 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.114e-05/0.2056, allocations: 3.938 kB / 0.5079 GB, free: 6.145 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000116/0.2058, allocations: 15.98 kB / 0.508 GB, free: 6.129 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.076e-05/0.2058, allocations: 0 / 0.508 GB, free: 6.129 MB / 398.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 (7): * Single equations (assignments): 7 * 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.0001531/0.2059, allocations: 121.8 kB / 0.5081 GB, free: 6 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.197e-05/0.206, allocations: 7.953 kB / 0.5081 GB, free: 5.992 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005458/0.2065, allocations: 134.3 kB / 0.5082 GB, free: 5.852 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/0.2065, allocations: 7.938 kB / 0.5082 GB, free: 5.844 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/0.2066, allocations: 3.938 kB / 0.5082 GB, free: 5.84 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.2066, allocations: 3.938 kB / 0.5082 GB, free: 5.836 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009637/0.2075, allocations: 410.4 kB / 0.5086 GB, free: 5.379 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.2075, allocations: 4 kB / 0.5086 GB, free: 5.375 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001262/0.2076, allocations: 15.98 kB / 0.5086 GB, free: 5.359 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.035e-06/0.2077, allocations: 3.938 kB / 0.5086 GB, free: 5.355 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.931e-05/0.2077, allocations: 8 kB / 0.5087 GB, free: 5.348 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.2077, allocations: 0 / 0.5087 GB, free: 5.348 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.2077, allocations: 0 / 0.5087 GB, free: 5.348 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005397/0.2082, allocations: 227.8 kB / 0.5089 GB, free: 5.109 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.291e-05/0.2083, allocations: 85.05 kB / 0.5089 GB, free: 5.008 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.637e-05/0.2083, allocations: 11.94 kB / 0.509 GB, free: 4.996 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001502/0.2085, allocations: 7.984 kB / 0.509 GB, free: 4.988 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.297e-05/0.2086, allocations: 12 kB / 0.509 GB, free: 4.977 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.815e-06/0.2086, allocations: 0 / 0.509 GB, free: 4.977 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001542/0.2087, allocations: 111.2 kB / 0.5091 GB, free: 4.867 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2087, allocations: 0 / 0.5091 GB, free: 4.867 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000485/0.2092, allocations: 20 kB / 0.5091 GB, free: 4.848 MB / 398.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 (7): * Single equations (assignments): 7 * 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.003184/0.2124, allocations: 1.105 MB / 0.5102 GB, free: 3.77 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004667/0.2128, allocations: 91.91 kB / 0.5103 GB, free: 3.68 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.409e-06/0.2129, allocations: 0 / 0.5103 GB, free: 3.68 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001925/0.213, allocations: 47.91 kB / 0.5103 GB, free: 3.633 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006033/0.2136, allocations: 23.97 kB / 0.5103 GB, free: 3.609 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003907/0.2176, allocations: 1.585 MB / 0.5119 GB, free: 1.945 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005976/0.2182, allocations: 0.7002 MB / 0.5126 GB, free: 1.219 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001643/0.2183, allocations: 21.2 kB / 0.5126 GB, free: 1.199 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001243/0.2184, allocations: 35.36 kB / 0.5126 GB, free: 1.164 MB / 398.1 MB Notification: Performance of SimCode: time 2.014e-06/0.2184, allocations: 0 / 0.5126 GB, free: 1.164 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03935/0.2578, allocations: 3.127 MB / 0.5157 GB, free: 13.97 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.41, allocations: 11.91 kB / 0.5157 GB, free: 13.96 MB / 414.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test11_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test11.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1],d_t_new.y,clock1.y,clock2.y Variables in the result:clock1.offset,clock1.startTime,clock1.y,clock2.offset,clock2.startTime,clock2.y,d_t_new.u,d_t_new.y,der(d_t_new.u),der(t_new.u1[1]),der(t_new.u2[1]),t_new.extrapolation,t_new.n,t_new.smoothness,t_new.tableOnFile,t_new.u1[1],t_new.u2[1],t_new.u_max[1],t_new.u_max[2],t_new.u_min[1],t_new.u_min[2],t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time