Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test32,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test32,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_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.0007679/0.0007679, allocations: 103 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.0008063/0.0008064, allocations: 184.1 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.49/1.49, allocations: 205.4 MB / 223.1 MB, free: 5.527 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.3769/0.3769, allocations: 43.58 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.0005515/0.0005515, allocations: 16 kB / 384.7 MB, free: 7.773 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1399/0.1405, allocations: 58.86 MB / 443.5 MB, free: 12.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test32): time 0.001925/0.1425, allocations: 1.279 MB / 444.8 MB, free: 11.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006322/0.1431, allocations: 299.7 kB / 445.1 MB, free: 11.22 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.053e-05/0.1432, allocations: 4 kB / 445.1 MB, free: 11.22 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000297/0.1435, allocations: 99.8 kB / 445.2 MB, free: 11.12 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001716/0.1437, allocations: 75.78 kB / 445.3 MB, free: 11.05 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002125/0.1439, allocations: 59.91 kB / 445.4 MB, free: 10.99 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001534/0.1441, allocations: 71.83 kB / 445.4 MB, free: 10.92 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.1442, allocations: 20.25 kB / 445.4 MB, free: 10.9 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.99e-05/0.1443, allocations: 35.84 kB / 445.5 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001219/0.1444, allocations: 59.86 kB / 445.5 MB, free: 10.8 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.596e-05/0.1444, allocations: 0 / 445.5 MB, free: 10.8 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.485e-05/0.1445, allocations: 31.94 kB / 445.6 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.012e-05/0.1445, allocations: 15.92 kB / 445.6 MB, free: 10.76 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.843e-05/0.1446, allocations: 57.39 kB / 445.6 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001725/0.1448, allocations: 95.62 kB / 445.7 MB, free: 10.6 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.1448, allocations: 8 kB / 445.7 MB, free: 10.59 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1448, allocations: 3.938 kB / 445.7 MB, free: 10.59 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.608e-06/0.1448, allocations: 0 / 445.7 MB, free: 10.59 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.0004945/0.1453, allocations: 395.1 kB / 446.1 MB, free: 10.16 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/0.1454, allocations: 8.031 kB / 446.1 MB, free: 10.15 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.518e-05/0.1454, allocations: 38.73 kB / 446.2 MB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.184e-05/0.1455, allocations: 12.75 kB / 446.2 MB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002009/0.1457, allocations: 204 kB / 446.4 MB, free: 9.852 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.327e-06/0.1457, allocations: 4.375 kB / 446.4 MB, free: 9.848 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.954e-05/0.1457, allocations: 384 / 446.4 MB, free: 9.848 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001404/0.1459, allocations: 61.61 kB / 446.4 MB, free: 9.781 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.1459, allocations: 0 / 446.4 MB, free: 9.781 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-06/0.1459, allocations: 3.938 kB / 446.5 MB, free: 9.777 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.1459, allocations: 0 / 446.5 MB, free: 9.777 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.345e-05/0.146, allocations: 27.97 kB / 446.5 MB, free: 9.75 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003689/0.1464, allocations: 292.8 kB / 446.8 MB, free: 9.414 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001901/0.1466, allocations: 50.48 kB / 446.8 MB, free: 9.355 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.103e-05/0.1466, allocations: 16.86 kB / 446.8 MB, free: 9.336 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.645e-05/0.1467, allocations: 0 / 446.8 MB, free: 9.336 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.955e-05/0.1467, allocations: 34.56 kB / 446.9 MB, free: 9.293 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 7.01e-07/0.1467, allocations: 0 / 446.9 MB, free: 9.293 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005554/0.1473, allocations: 165.3 kB / 447 MB, free: 9.125 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.161e-05/0.1473, allocations: 55.39 kB / 447.1 MB, free: 9.059 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002163/0.1475, allocations: 238.7 kB / 447.3 MB, free: 8.812 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.24e-05/0.1476, allocations: 25.7 kB / 447.3 MB, free: 8.781 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.14e-05/0.1476, allocations: 112 kB / 447.4 MB, free: 8.668 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.186e-05/0.1477, allocations: 15.81 kB / 447.5 MB, free: 8.652 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.122e-05/0.1477, allocations: 9.719 kB / 447.5 MB, free: 8.637 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001107/0.1478, allocations: 330.8 kB / 447.8 MB, free: 8.305 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.038e-05/0.1479, allocations: 23.98 kB / 447.8 MB, free: 8.281 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.85e-05/0.1479, allocations: 23.92 kB / 447.8 MB, free: 8.258 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001323/0.1481, allocations: 56.83 kB / 447.9 MB, free: 8.199 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.1481, allocations: 0 / 447.9 MB, free: 8.199 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001811/0.1483, allocations: 89.58 kB / 448 MB, free: 8.105 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.1483, allocations: 4 kB / 448 MB, free: 8.102 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.1483, allocations: 0 / 448 MB, free: 8.102 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.1483, allocations: 4 kB / 448 MB, free: 8.098 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.276e-05/0.1484, allocations: 15.98 kB / 448 MB, free: 8.082 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.1484, allocations: 4 kB / 448 MB, free: 8.078 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.983e-05/0.1485, allocations: 4 kB / 448 MB, free: 8.074 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.063e-05/0.1485, allocations: 7.922 kB / 448 MB, free: 8.066 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.0001104/0.1486, allocations: 125.8 kB / 448.1 MB, free: 7.934 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.241e-05/0.1486, allocations: 15.81 kB / 448.2 MB, free: 7.918 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002453/0.1489, allocations: 110.6 kB / 448.3 MB, free: 7.793 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.1489, allocations: 0 / 448.3 MB, free: 7.793 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.1489, allocations: 0 / 448.3 MB, free: 7.793 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.664e-06/0.1489, allocations: 4 kB / 448.3 MB, free: 7.789 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004214/0.1493, allocations: 378.7 kB / 448.6 MB, free: 7.363 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1494, allocations: 0 / 448.6 MB, free: 7.363 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.558e-05/0.1494, allocations: 16 kB / 448.7 MB, free: 7.348 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.1494, allocations: 0 / 448.7 MB, free: 7.348 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.969e-06/0.1494, allocations: 3.984 kB / 448.7 MB, free: 7.344 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.1494, allocations: 3.938 kB / 448.7 MB, free: 7.34 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.1495, allocations: 4 kB / 448.7 MB, free: 7.336 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002207/0.1497, allocations: 191.3 kB / 448.9 MB, free: 7.133 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.163e-05/0.1498, allocations: 89 kB / 448.9 MB, free: 7.027 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.517e-05/0.1498, allocations: 0 / 448.9 MB, free: 7.027 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.088e-05/0.1499, allocations: 11.94 kB / 449 MB, free: 7.016 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.202e-05/0.1499, allocations: 7.984 kB / 449 MB, free: 7.008 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.3e-06/0.1499, allocations: 4 kB / 449 MB, free: 7.004 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001541/0.1501, allocations: 180.3 kB / 449.1 MB, free: 6.828 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1501, allocations: 0 / 449.1 MB, free: 6.828 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002391/0.1503, allocations: 19.98 kB / 449.2 MB, free: 6.809 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.001291/0.1516, allocations: 1.019 MB / 450.2 MB, free: 5.801 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001882/0.1518, allocations: 59.91 kB / 450.2 MB, free: 5.742 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1518, allocations: 3.938 kB / 450.2 MB, free: 5.738 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.584e-05/0.1519, allocations: 27.98 kB / 450.3 MB, free: 5.711 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003303/0.1523, allocations: 19.92 kB / 450.3 MB, free: 5.691 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001686/0.154, allocations: 1.664 MB / 452 MB, free: 3.953 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002851/0.1543, allocations: 0.7043 MB / 452.7 MB, free: 3.223 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.653e-05/0.1543, allocations: 16.05 kB / 452.7 MB, free: 3.207 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.036e-05/0.1544, allocations: 31.42 kB / 452.7 MB, free: 3.18 MB / 382.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1544, allocations: 0 / 452.7 MB, free: 3.18 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01332/0.1677, allocations: 2.465 MB / 455.2 MB, free: 0.7148 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002012/0.1679, allocations: 244.4 kB / 455.4 MB, free: 460 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.856/2.024, allocations: 0 / 455.4 MB, free: 460 kB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test32_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test32.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test32/Test32.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.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(clock.y),der(d_t_new.u),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