Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.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 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.Test32,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test32,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_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.0008749/0.0008748, allocations: 103.1 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009374/0.0009377, allocations: 184.6 kB / 16.92 MB, free: 6.914 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.625/1.625, allocations: 205.4 MB / 223.1 MB, free: 5.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4234/0.4234, allocations: 43.57 MB / 315 MB, free: 9.016 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.0005326/0.0005326, allocations: 12.56 kB / 384.7 MB, free: 7.785 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1412/0.1417, allocations: 58.87 MB / 443.5 MB, free: 12.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test32): time 0.002185/0.1439, allocations: 1.275 MB / 444.8 MB, free: 11.54 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000713/0.1447, allocations: 319.6 kB / 445.1 MB, free: 11.22 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.09e-05/0.1448, allocations: 0 / 445.1 MB, free: 11.22 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003325/0.1451, allocations: 107.8 kB / 445.2 MB, free: 11.11 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002134/0.1453, allocations: 67.86 kB / 445.3 MB, free: 11.05 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000292/0.1456, allocations: 87.81 kB / 445.4 MB, free: 10.96 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001649/0.1458, allocations: 71.88 kB / 445.5 MB, free: 10.89 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.74e-05/0.1459, allocations: 12.27 kB / 445.5 MB, free: 10.88 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.611e-05/0.146, allocations: 35.78 kB / 445.5 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001114/0.1461, allocations: 59.88 kB / 445.6 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.579e-05/0.1461, allocations: 0 / 445.6 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.639e-05/0.1462, allocations: 31.98 kB / 445.6 MB, free: 10.75 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.548e-05/0.1463, allocations: 23.91 kB / 445.6 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.04e-05/0.1464, allocations: 53.39 kB / 445.7 MB, free: 10.67 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001655/0.1465, allocations: 103.6 kB / 445.8 MB, free: 10.57 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1466, allocations: 0 / 445.8 MB, free: 10.57 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.236e-06/0.1466, allocations: 0 / 445.8 MB, free: 10.57 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.008e-06/0.1466, allocations: 3.938 kB / 445.8 MB, free: 10.57 MB / 382.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.0004773/0.1471, allocations: 395.1 kB / 446.2 MB, free: 10.13 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.1471, allocations: 12.03 kB / 446.2 MB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.928e-05/0.1472, allocations: 30.75 kB / 446.2 MB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.148e-05/0.1472, allocations: 12.75 kB / 446.2 MB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002148/0.1474, allocations: 208.1 kB / 446.4 MB, free: 9.828 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.1474, allocations: 384 / 446.4 MB, free: 9.828 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.944e-05/0.1475, allocations: 4.375 kB / 446.4 MB, free: 9.824 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001501/0.1476, allocations: 57.62 kB / 446.5 MB, free: 9.762 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/0.1476, allocations: 3.984 kB / 446.5 MB, free: 9.758 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.248e-06/0.1477, allocations: 7.875 kB / 446.5 MB, free: 9.75 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.1477, allocations: 0 / 446.5 MB, free: 9.75 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001015/0.1478, allocations: 31.98 kB / 446.5 MB, free: 9.719 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004188/0.1482, allocations: 292.8 kB / 446.8 MB, free: 9.383 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002249/0.1484, allocations: 46.5 kB / 446.9 MB, free: 9.328 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.336e-05/0.1485, allocations: 32.88 kB / 446.9 MB, free: 9.293 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.171e-05/0.1485, allocations: 0 / 446.9 MB, free: 9.293 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.605e-05/0.1486, allocations: 30.56 kB / 446.9 MB, free: 9.254 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 7.71e-07/0.1486, allocations: 0 / 446.9 MB, free: 9.254 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.000664/0.1492, allocations: 181.4 kB / 447.1 MB, free: 9.07 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.09e-05/0.1493, allocations: 51.41 kB / 447.1 MB, free: 9.008 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002418/0.1496, allocations: 234.7 kB / 447.4 MB, free: 8.766 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.714e-05/0.1496, allocations: 29.7 kB / 447.4 MB, free: 8.73 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.966e-05/0.1497, allocations: 112 kB / 447.5 MB, free: 8.617 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.356e-05/0.1497, allocations: 15.8 kB / 447.5 MB, free: 8.602 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.606e-05/0.1497, allocations: 17.72 kB / 447.5 MB, free: 8.578 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.1498, allocations: 326.8 kB / 447.9 MB, free: 8.25 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.943e-05/0.1499, allocations: 27.97 kB / 447.9 MB, free: 8.223 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.549e-05/0.15, allocations: 23.98 kB / 447.9 MB, free: 8.199 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001466/0.1502, allocations: 64.83 kB / 448 MB, free: 8.133 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.1502, allocations: 0 / 448 MB, free: 8.133 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002056/0.1504, allocations: 97.5 kB / 448.1 MB, free: 8.031 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.1504, allocations: 12 kB / 448.1 MB, free: 8.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.1504, allocations: 0 / 448.1 MB, free: 8.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.1505, allocations: 0 / 448.1 MB, free: 8.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.878e-05/0.1505, allocations: 12 kB / 448.1 MB, free: 8.008 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.1505, allocations: 3.984 kB / 448.1 MB, free: 8.004 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.644e-05/0.1506, allocations: 7.984 kB / 448.1 MB, free: 7.996 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.009e-05/0.1506, allocations: 7.938 kB / 448.1 MB, free: 7.988 MB / 382.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 0.0001247/0.1507, allocations: 125.8 kB / 448.2 MB, free: 7.855 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.57e-05/0.1508, allocations: 15.81 kB / 448.2 MB, free: 7.84 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003014/0.1511, allocations: 114.8 kB / 448.4 MB, free: 7.711 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.1511, allocations: 4 kB / 448.4 MB, free: 7.707 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.413e-06/0.1511, allocations: 4.062 kB / 448.4 MB, free: 7.703 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.1511, allocations: 0 / 448.4 MB, free: 7.703 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004941/0.1516, allocations: 378.4 kB / 448.7 MB, free: 7.277 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.1517, allocations: 0 / 448.7 MB, free: 7.277 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.559e-05/0.1517, allocations: 19.92 kB / 448.8 MB, free: 7.258 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.1517, allocations: 0 / 448.8 MB, free: 7.258 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.1517, allocations: 0 / 448.8 MB, free: 7.258 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.037e-06/0.1518, allocations: 7.938 kB / 448.8 MB, free: 7.25 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.1518, allocations: 0 / 448.8 MB, free: 7.25 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002677/0.152, allocations: 191.3 kB / 449 MB, free: 7.047 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.966e-05/0.1521, allocations: 89.02 kB / 449 MB, free: 6.941 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.765e-05/0.1521, allocations: 4 kB / 449 MB, free: 6.938 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.262e-05/0.1522, allocations: 11.92 kB / 449.1 MB, free: 6.926 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.767e-05/0.1523, allocations: 7.938 kB / 449.1 MB, free: 6.918 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-06/0.1523, allocations: 0 / 449.1 MB, free: 6.918 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001688/0.1525, allocations: 192.3 kB / 449.3 MB, free: 6.73 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1525, allocations: 0 / 449.3 MB, free: 6.73 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002553/0.1527, allocations: 12 kB / 449.3 MB, free: 6.719 MB / 382.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.001586/0.1543, allocations: 1.031 MB / 450.3 MB, free: 5.695 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002205/0.1546, allocations: 63.95 kB / 450.4 MB, free: 5.633 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1546, allocations: 3.938 kB / 450.4 MB, free: 5.629 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.621e-05/0.1547, allocations: 31.92 kB / 450.4 MB, free: 5.598 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003912/0.1551, allocations: 23.86 kB / 450.4 MB, free: 5.574 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001981/0.157, allocations: 1.691 MB / 452.1 MB, free: 3.809 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000332/0.1574, allocations: 0.7083 MB / 452.8 MB, free: 3.074 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.97e-05/0.1575, allocations: 11.98 kB / 452.8 MB, free: 3.062 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.091e-05/0.1575, allocations: 35.42 kB / 452.9 MB, free: 3.031 MB / 382.1 MB Notification: Performance of SimCode: time 8.52e-07/0.1575, allocations: 0 / 452.9 MB, free: 3.031 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01557/0.1731, allocations: 2.489 MB / 455.3 MB, free: 0.543 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002183/0.1734, allocations: 235.2 kB / 455.6 MB, free: 292 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.846/2.019, allocations: 7.938 kB / 455.6 MB, free: 284 kB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test32.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test32.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test32.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test32.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test32_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test32_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test32.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test32_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test32/Test32.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.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 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