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.001085/0.001086, allocations: 107.8 kB / 15.98 MB, free: 6.348 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.001619/0.001619, allocations: 192.5 kB / 16.91 MB, free: 6.191 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.648/1.648, allocations: 205.1 MB / 222.8 MB, free: 4.672 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.4263/0.4263, allocations: 43.5 MB / 313.6 MB, free: 8.566 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.001406/0.001406, allocations: 66.56 kB / 382.3 MB, free: 8.512 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1279, allocations: 57.78 MB / 440.1 MB, free: 14.64 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test32): time 0.002688/0.1306, allocations: 1.614 MB / 441.7 MB, free: 13.01 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005526/0.1312, allocations: 315.5 kB / 442 MB, free: 12.7 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.679e-05/0.1312, allocations: 0 / 442 MB, free: 12.7 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000258/0.1315, allocations: 99.8 kB / 442.1 MB, free: 12.6 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001794/0.1317, allocations: 79.84 kB / 442.2 MB, free: 12.52 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001946/0.1319, allocations: 59.86 kB / 442.3 MB, free: 12.46 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001288/0.132, allocations: 75.81 kB / 442.3 MB, free: 12.39 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.86e-05/0.1321, allocations: 20.25 kB / 442.4 MB, free: 12.37 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.827e-05/0.1322, allocations: 35.84 kB / 442.4 MB, free: 12.33 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.022e-05/0.1323, allocations: 59.88 kB / 442.4 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.428e-05/0.1323, allocations: 8 kB / 442.5 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.202e-05/0.1324, allocations: 31.97 kB / 442.5 MB, free: 12.23 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.147e-05/0.1325, allocations: 27.86 kB / 442.5 MB, free: 12.21 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.393e-05/0.1325, allocations: 31.75 kB / 442.5 MB, free: 12.18 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001486/0.1326, allocations: 99.58 kB / 442.6 MB, free: 12.08 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.1327, allocations: 0 / 442.6 MB, free: 12.08 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1327, allocations: 0 / 442.6 MB, free: 12.08 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.1327, allocations: 0 / 442.6 MB, free: 12.08 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.0004506/0.1331, allocations: 410.9 kB / 443 MB, free: 11.63 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.1332, allocations: 19.89 kB / 443.1 MB, free: 11.61 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.285e-05/0.1332, allocations: 34.73 kB / 443.1 MB, free: 11.57 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.637e-05/0.1332, allocations: 8.844 kB / 443.1 MB, free: 11.56 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001688/0.1334, allocations: 200 kB / 443.3 MB, free: 11.32 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.1334, allocations: 4.375 kB / 443.3 MB, free: 11.32 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.671e-05/0.1335, allocations: 8.312 kB / 443.3 MB, free: 11.31 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001347/0.1336, allocations: 53.55 kB / 443.4 MB, free: 11.25 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.1336, allocations: 3.938 kB / 443.4 MB, free: 11.25 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.523e-06/0.1336, allocations: 4 kB / 443.4 MB, free: 11.25 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.1336, allocations: 0 / 443.4 MB, free: 11.25 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.243e-05/0.1337, allocations: 27.98 kB / 443.4 MB, free: 11.22 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003208/0.1341, allocations: 288.9 kB / 443.7 MB, free: 10.89 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001853/0.1343, allocations: 42.5 kB / 443.7 MB, free: 10.84 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.475e-05/0.1343, allocations: 16.86 kB / 443.7 MB, free: 10.82 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.329e-05/0.1343, allocations: 7.984 kB / 443.7 MB, free: 10.81 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.934e-05/0.1344, allocations: 30.66 kB / 443.8 MB, free: 10.77 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.1344, allocations: 0 / 443.8 MB, free: 10.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.000495/0.1349, allocations: 153.1 kB / 443.9 MB, free: 10.61 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.477e-05/0.1349, allocations: 51.41 kB / 444 MB, free: 10.55 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001924/0.1351, allocations: 242.7 kB / 444.2 MB, free: 10.3 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.222e-05/0.1351, allocations: 25.7 kB / 444.2 MB, free: 10.27 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.104e-05/0.1352, allocations: 108.1 kB / 444.3 MB, free: 10.16 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.989e-05/0.1352, allocations: 15.81 kB / 444.4 MB, free: 10.15 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.161e-05/0.1353, allocations: 17.72 kB / 444.4 MB, free: 10.12 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001047/0.1354, allocations: 326.8 kB / 444.7 MB, free: 9.797 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.208e-05/0.1354, allocations: 15.98 kB / 444.7 MB, free: 9.781 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.723e-05/0.1355, allocations: 15.98 kB / 444.7 MB, free: 9.766 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000114/0.1356, allocations: 52.83 kB / 444.8 MB, free: 9.711 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.1356, allocations: 0 / 444.8 MB, free: 9.711 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001571/0.1358, allocations: 85.42 kB / 444.9 MB, free: 9.621 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.1358, allocations: 4 kB / 444.9 MB, free: 9.617 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.1358, allocations: 0 / 444.9 MB, free: 9.617 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.1358, allocations: 4 kB / 444.9 MB, free: 9.613 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.504e-05/0.1359, allocations: 11.98 kB / 444.9 MB, free: 9.602 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.1359, allocations: 4 kB / 444.9 MB, free: 9.598 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.846e-05/0.136, allocations: 11.98 kB / 444.9 MB, free: 9.586 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.136, allocations: 3.938 kB / 444.9 MB, free: 9.582 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 8.265e-05/0.1361, allocations: 125.8 kB / 445 MB, free: 9.449 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.034e-05/0.1361, allocations: 11.91 kB / 445 MB, free: 9.438 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000207/0.1363, allocations: 94.91 kB / 445.1 MB, free: 9.328 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.1363, allocations: 15.94 kB / 445.1 MB, free: 9.312 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.1363, allocations: 0 / 445.1 MB, free: 9.312 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.1363, allocations: 0 / 445.1 MB, free: 9.312 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003797/0.1367, allocations: 350.5 kB / 445.5 MB, free: 8.914 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.1367, allocations: 4 kB / 445.5 MB, free: 8.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.121e-05/0.1368, allocations: 15.92 kB / 445.5 MB, free: 8.895 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.1368, allocations: 0 / 445.5 MB, free: 8.895 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.073e-06/0.1368, allocations: 0 / 445.5 MB, free: 8.895 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.1368, allocations: 7.938 kB / 445.5 MB, free: 8.887 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1368, allocations: 3.938 kB / 445.5 MB, free: 8.883 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001925/0.137, allocations: 179.3 kB / 445.7 MB, free: 8.691 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.107e-05/0.1371, allocations: 85.02 kB / 445.8 MB, free: 8.59 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.931e-05/0.1371, allocations: 7.984 kB / 445.8 MB, free: 8.582 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.466e-05/0.1372, allocations: 7.938 kB / 445.8 MB, free: 8.574 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.116e-05/0.1372, allocations: 4 kB / 445.8 MB, free: 8.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.991e-06/0.1372, allocations: 3.984 kB / 445.8 MB, free: 8.566 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001368/0.1374, allocations: 188.3 kB / 446 MB, free: 8.383 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1374, allocations: 0 / 446 MB, free: 8.383 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000236/0.1376, allocations: 11.98 kB / 446 MB, free: 8.371 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.001275/0.1389, allocations: 1.028 MB / 447 MB, free: 7.352 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001778/0.1391, allocations: 47.91 kB / 447.1 MB, free: 7.305 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1391, allocations: 0 / 447.1 MB, free: 7.305 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.676e-05/0.1392, allocations: 23.98 kB / 447.1 MB, free: 7.281 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003475/0.1395, allocations: 23.78 kB / 447.1 MB, free: 7.258 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001694/0.1412, allocations: 1.641 MB / 448.8 MB, free: 5.539 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002709/0.1415, allocations: 0.7151 MB / 449.5 MB, free: 4.801 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.853e-05/0.1416, allocations: 12.05 kB / 449.5 MB, free: 4.789 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.872e-05/0.1416, allocations: 31.42 kB / 449.5 MB, free: 4.762 MB / 382.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1416, allocations: 0 / 449.5 MB, free: 4.762 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5101/0.6517, allocations: 2.709 MB / 452.2 MB, free: 2.039 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004069/0.6522, allocations: 241.3 kB / 452.5 MB, free: 1.777 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.983/2.635, allocations: 0 / 452.5 MB, free: 1.777 MB / 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