Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.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.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test2",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.0007534/0.0007541, allocations: 102.8 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.0008983/0.0008984, allocations: 186.5 kB / 16.92 MB, free: 6.918 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.7/1.7, allocations: 205.4 MB / 223.1 MB, free: 5.754 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.3588/0.3588, allocations: 43.58 MB / 315 MB, free: 8.695 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.0005298/0.0005298, allocations: 16 kB / 384.7 MB, free: 7.562 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1257, allocations: 58.87 MB / 443.5 MB, free: 12.59 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.002271/0.128, allocations: 1.271 MB / 444.8 MB, free: 11.31 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006302/0.1287, allocations: 303.7 kB / 445.1 MB, free: 11.01 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.912e-05/0.1287, allocations: 4 kB / 445.1 MB, free: 11.01 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001886/0.1289, allocations: 15.92 kB / 445.1 MB, free: 10.99 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001577/0.1291, allocations: 31.84 kB / 445.2 MB, free: 10.96 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002274/0.1294, allocations: 63.94 kB / 445.2 MB, free: 10.9 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001334/0.1295, allocations: 55.84 kB / 445.3 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.778e-05/0.1296, allocations: 16.25 kB / 445.3 MB, free: 10.83 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.82e-05/0.1297, allocations: 19.86 kB / 445.3 MB, free: 10.81 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.091e-05/0.1297, allocations: 15.92 kB / 445.3 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.53e-05/0.1297, allocations: 0 / 445.3 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.117e-05/0.1298, allocations: 27.98 kB / 445.4 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.227e-05/0.1299, allocations: 7.938 kB / 445.4 MB, free: 10.76 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.169e-05/0.13, allocations: 45.56 kB / 445.4 MB, free: 10.71 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001572/0.1301, allocations: 83.66 kB / 445.5 MB, free: 10.62 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.217e-06/0.1301, allocations: 4 kB / 445.5 MB, free: 10.62 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1301, allocations: 0 / 445.5 MB, free: 10.62 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.1301, allocations: 0 / 445.5 MB, free: 10.62 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.0004803/0.1306, allocations: 363.3 kB / 445.9 MB, free: 10.22 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.1307, allocations: 8.031 kB / 445.9 MB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.713e-05/0.1307, allocations: 34.75 kB / 445.9 MB, free: 10.17 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.835e-05/0.1308, allocations: 8.828 kB / 445.9 MB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00018/0.1309, allocations: 184.2 kB / 446.1 MB, free: 9.941 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.131, allocations: 8.375 kB / 446.1 MB, free: 9.934 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.17e-05/0.131, allocations: 8.312 kB / 446.1 MB, free: 9.926 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001457/0.1311, allocations: 57.56 kB / 446.2 MB, free: 9.863 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.1312, allocations: 0 / 446.2 MB, free: 9.863 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.1312, allocations: 3.984 kB / 446.2 MB, free: 9.859 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.1312, allocations: 0 / 446.2 MB, free: 9.859 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.384e-05/0.1313, allocations: 27.98 kB / 446.2 MB, free: 9.832 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003834/0.1317, allocations: 276.9 kB / 446.5 MB, free: 9.512 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002101/0.1319, allocations: 46.5 kB / 446.5 MB, free: 9.457 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.676e-05/0.132, allocations: 20.86 kB / 446.5 MB, free: 9.434 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.88e-05/0.132, allocations: 4 kB / 446.5 MB, free: 9.43 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.284e-05/0.132, allocations: 30.56 kB / 446.6 MB, free: 9.391 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.132, allocations: 0 / 446.6 MB, free: 9.391 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005845/0.1326, allocations: 161.3 kB / 446.7 MB, free: 9.227 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.578e-05/0.1327, allocations: 55.39 kB / 446.8 MB, free: 9.16 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001348/0.1328, allocations: 141.8 kB / 446.9 MB, free: 9.012 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.68e-05/0.1329, allocations: 25.7 kB / 446.9 MB, free: 8.98 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.898e-05/0.1329, allocations: 92.14 kB / 447 MB, free: 8.887 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.056e-05/0.133, allocations: 23.73 kB / 447 MB, free: 8.863 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.064e-05/0.133, allocations: 9.719 kB / 447.1 MB, free: 8.848 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001163/0.1331, allocations: 326.7 kB / 447.4 MB, free: 8.52 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.324e-05/0.1332, allocations: 23.98 kB / 447.4 MB, free: 8.496 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.056e-05/0.1333, allocations: 19.98 kB / 447.4 MB, free: 8.477 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001346/0.1334, allocations: 56.83 kB / 447.5 MB, free: 8.418 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.1334, allocations: 0 / 447.5 MB, free: 8.418 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001831/0.1336, allocations: 89.52 kB / 447.6 MB, free: 8.324 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.1336, allocations: 4 kB / 447.6 MB, free: 8.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.1336, allocations: 0 / 447.6 MB, free: 8.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.1337, allocations: 7.984 kB / 447.6 MB, free: 8.312 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.465e-05/0.1337, allocations: 12 kB / 447.6 MB, free: 8.301 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.1337, allocations: 0 / 447.6 MB, free: 8.301 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.324e-05/0.1338, allocations: 12.27 kB / 447.6 MB, free: 8.289 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.1338, allocations: 3.938 kB / 447.6 MB, free: 8.285 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.977e-05/0.1339, allocations: 113.8 kB / 447.7 MB, free: 8.164 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.34e-05/0.1339, allocations: 7.906 kB / 447.7 MB, free: 8.156 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002331/0.1342, allocations: 106.2 kB / 447.8 MB, free: 8.047 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.693e-06/0.1342, allocations: 8 kB / 447.8 MB, free: 8.039 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.1342, allocations: 0 / 447.8 MB, free: 8.039 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.1342, allocations: 0 / 447.8 MB, free: 8.039 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005299/0.1347, allocations: 346.5 kB / 448.2 MB, free: 7.645 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.1348, allocations: 7.922 kB / 448.2 MB, free: 7.637 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.294e-05/0.1348, allocations: 12 kB / 448.2 MB, free: 7.625 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.1348, allocations: 0 / 448.2 MB, free: 7.625 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-06/0.1348, allocations: 7.938 kB / 448.2 MB, free: 7.617 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.1349, allocations: 3.938 kB / 448.2 MB, free: 7.613 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.1349, allocations: 4 kB / 448.2 MB, free: 7.609 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002334/0.1351, allocations: 183.4 kB / 448.4 MB, free: 7.414 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.254e-05/0.1352, allocations: 85.02 kB / 448.5 MB, free: 7.312 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.469e-05/0.1352, allocations: 0 / 448.5 MB, free: 7.312 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.775e-05/0.1353, allocations: 19.92 kB / 448.5 MB, free: 7.293 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.402e-05/0.1353, allocations: 0 / 448.5 MB, free: 7.293 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-06/0.1353, allocations: 4 kB / 448.5 MB, free: 7.289 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.943e-05/0.1354, allocations: 107.2 kB / 448.6 MB, free: 7.184 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.373e-06/0.1354, allocations: 4 kB / 448.6 MB, free: 7.18 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002451/0.1357, allocations: 15.94 kB / 448.6 MB, free: 7.164 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.00138/0.137, allocations: 1.028 MB / 449.6 MB, free: 6.141 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001827/0.1372, allocations: 47.97 kB / 449.7 MB, free: 6.094 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.1372, allocations: 7.938 kB / 449.7 MB, free: 6.086 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.519e-05/0.1373, allocations: 23.98 kB / 449.7 MB, free: 6.062 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003151/0.1377, allocations: 15.94 kB / 449.7 MB, free: 6.047 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001771/0.1394, allocations: 1.44 MB / 451.2 MB, free: 4.527 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003544/0.1398, allocations: 0.6887 MB / 451.9 MB, free: 3.812 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.864e-05/0.1398, allocations: 4.25 kB / 451.9 MB, free: 3.809 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.836e-05/0.1399, allocations: 23.42 kB / 451.9 MB, free: 3.785 MB / 382.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1399, allocations: 3.938 kB / 451.9 MB, free: 3.781 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01193/0.1518, allocations: 2.04 MB / 453.9 MB, free: 1.738 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000334/0.1522, allocations: 239.3 kB / 454.2 MB, free: 1.477 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.769/1.921, allocations: 0 / 454.2 MB, free: 1.477 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test2_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test2.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches