Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.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.Test18,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test18",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test18,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test18",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.0008692/0.0008692, allocations: 94.53 kB / 17.35 MB, free: 6.371 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.000964/0.0009641, allocations: 172.7 kB / 18.25 MB, free: 5.527 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.329/1.329, allocations: 223.3 MB / 242.3 MB, free: 200 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.1852/0.1852, allocations: 44.24 MB / 337.7 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003598/0.0003599, allocations: 14 kB / 410.4 MB, free: 27.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1257, allocations: 61.92 MB / 472.4 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test18): time 0.002197/0.1279, allocations: 1.301 MB / 473.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001607/0.1296, allocations: 0.9921 MB / 474.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.857e-05/0.1297, allocations: 3.938 kB / 474.7 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002317/0.1299, allocations: 27.91 kB / 474.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001824/0.1301, allocations: 35.91 kB / 474.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003613/0.1305, allocations: 90.2 kB / 474.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001865/0.1307, allocations: 71.83 kB / 474.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001225/0.1308, allocations: 16.19 kB / 474.9 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.472e-05/0.1309, allocations: 27.84 kB / 474.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001657/0.1311, allocations: 27.86 kB / 474.9 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.188e-05/0.1311, allocations: 4 kB / 475 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001457/0.1312, allocations: 47.89 kB / 475 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.621e-05/0.1313, allocations: 12 kB / 475 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.73e-05/0.1314, allocations: 53.5 kB / 475.1 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000205/0.1316, allocations: 95.97 kB / 475.2 MB, free: 10.42 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.1316, allocations: 0 / 475.2 MB, free: 10.42 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1316, allocations: 0 / 475.2 MB, free: 10.42 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.1316, allocations: 0 / 475.2 MB, free: 10.42 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005367/0.1321, allocations: 389.4 kB / 475.5 MB, free: 9.992 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/0.1322, allocations: 12.03 kB / 475.5 MB, free: 9.98 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.272e-05/0.1322, allocations: 30.75 kB / 475.6 MB, free: 9.941 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.087e-05/0.1323, allocations: 12.84 kB / 475.6 MB, free: 9.93 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002199/0.1325, allocations: 196.2 kB / 475.8 MB, free: 9.699 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.1325, allocations: 4.375 kB / 475.8 MB, free: 9.695 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.483e-05/0.1326, allocations: 4.125 kB / 475.8 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001998/0.1328, allocations: 83.38 kB / 475.9 MB, free: 9.598 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.1328, allocations: 3.938 kB / 475.9 MB, free: 9.594 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.1328, allocations: 0 / 475.9 MB, free: 9.594 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.1328, allocations: 0 / 475.9 MB, free: 9.594 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001189/0.133, allocations: 43.97 kB / 475.9 MB, free: 9.551 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004726/0.1334, allocations: 312.7 kB / 476.2 MB, free: 9.195 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001259/0.1336, allocations: 58.59 kB / 476.3 MB, free: 9.129 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.894e-05/0.1336, allocations: 24.97 kB / 476.3 MB, free: 9.102 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.6e-05/0.1337, allocations: 0 / 476.3 MB, free: 9.102 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.042e-05/0.1337, allocations: 38.56 kB / 476.3 MB, free: 9.055 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 8.62e-07/0.1337, allocations: 0 / 476.3 MB, free: 9.055 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006832/0.1344, allocations: 205.2 kB / 476.5 MB, free: 8.848 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.282e-05/0.1345, allocations: 85.05 kB / 476.6 MB, free: 8.746 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001289/0.1346, allocations: 141.2 kB / 476.8 MB, free: 8.602 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.599e-05/0.1346, allocations: 33.7 kB / 476.8 MB, free: 8.562 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.428e-05/0.1347, allocations: 100 kB / 476.9 MB, free: 8.461 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.729e-05/0.1347, allocations: 27.56 kB / 476.9 MB, free: 8.434 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.755e-05/0.1348, allocations: 17.7 kB / 476.9 MB, free: 8.41 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.221e-05/0.1349, allocations: 318.8 kB / 477.3 MB, free: 8.09 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.733e-05/0.135, allocations: 31.97 kB / 477.3 MB, free: 8.059 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.509e-05/0.1351, allocations: 49.64 kB / 477.3 MB, free: 8.004 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001622/0.1352, allocations: 81.05 kB / 477.4 MB, free: 7.922 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.1352, allocations: 0 / 477.4 MB, free: 7.922 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002279/0.1355, allocations: 121.6 kB / 477.5 MB, free: 7.797 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.1355, allocations: 4 kB / 477.5 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.1355, allocations: 0 / 477.5 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.1355, allocations: 0 / 477.5 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/0.1356, allocations: 19.98 kB / 477.6 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.1356, allocations: 11.81 kB / 477.6 MB, free: 7.762 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.147e-05/0.1357, allocations: 12 kB / 477.6 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.177e-06/0.1357, allocations: 3.984 kB / 477.6 MB, free: 7.746 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 8.43e-05/0.1358, allocations: 125.8 kB / 477.7 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.354e-05/0.1358, allocations: 7.906 kB / 477.7 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002915/0.1361, allocations: 138 kB / 477.8 MB, free: 7.465 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/0.1362, allocations: 0 / 477.8 MB, free: 7.465 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.1362, allocations: 3.938 kB / 477.8 MB, free: 7.461 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.1362, allocations: 0 / 477.8 MB, free: 7.461 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004792/0.1367, allocations: 402.5 kB / 478.2 MB, free: 7.012 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.083e-06/0.1367, allocations: 4 kB / 478.2 MB, free: 7.008 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.129e-05/0.1368, allocations: 23.92 kB / 478.3 MB, free: 6.984 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.1368, allocations: 0 / 478.3 MB, free: 6.984 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.1368, allocations: 0 / 478.3 MB, free: 6.984 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.1368, allocations: 4 kB / 478.3 MB, free: 6.98 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.1368, allocations: 0 / 478.3 MB, free: 6.98 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002668/0.1371, allocations: 215.3 kB / 478.5 MB, free: 6.754 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.833e-05/0.1371, allocations: 96.94 kB / 478.6 MB, free: 6.641 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.87e-05/0.1371, allocations: 0 / 478.6 MB, free: 6.641 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.734e-05/0.1372, allocations: 11.98 kB / 478.6 MB, free: 6.629 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.816e-05/0.1373, allocations: 0 / 478.6 MB, free: 6.629 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.119e-05/0.1373, allocations: 4 kB / 478.6 MB, free: 6.625 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.372e-05/0.1374, allocations: 115.2 kB / 478.7 MB, free: 6.512 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1374, allocations: 3.938 kB / 478.7 MB, free: 6.508 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002668/0.1377, allocations: 24 kB / 478.7 MB, free: 6.484 MB / 350.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 (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.001438/0.1391, allocations: 1.085 MB / 479.8 MB, free: 5.551 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002351/0.1394, allocations: 83.95 kB / 479.9 MB, free: 5.469 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.1394, allocations: 0 / 479.9 MB, free: 5.469 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001042/0.1395, allocations: 47.91 kB / 479.9 MB, free: 5.422 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003318/0.1398, allocations: 19.92 kB / 480 MB, free: 5.402 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00168/0.1415, allocations: 1.542 MB / 481.5 MB, free: 3.781 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000243/0.1418, allocations: 0.6965 MB / 482.2 MB, free: 3.059 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.655e-05/0.1419, allocations: 21.11 kB / 482.2 MB, free: 3.031 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.356e-05/0.1419, allocations: 27.42 kB / 482.3 MB, free: 3.008 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1419, allocations: 0 / 482.3 MB, free: 3.008 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01485/0.1568, allocations: 2.542 MB / 484.8 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000252/0.1571, allocations: 236.9 kB / 485 MB, free: 336 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.838/1.995, allocations: 4.062 kB / 485 MB, free: 332 kB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test18_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test18.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches