Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.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.CombiTable2Dv.Test9,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test9,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test9",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.0007713/0.0007713, allocations: 96.78 kB / 16.02 MB, free: 84 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.0009875/0.0009874, allocations: 176.2 kB / 16.91 MB, free: 6.68 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.544/1.544, allocations: 205.4 MB / 223.1 MB, free: 5.566 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.3918/0.3918, allocations: 43.57 MB / 315 MB, free: 8.816 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.0005135/0.0005134, allocations: 20 kB / 384.7 MB, free: 7.531 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1202, allocations: 58.85 MB / 443.5 MB, free: 12.57 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.00183/0.1221, allocations: 1.294 MB / 444.8 MB, free: 11.27 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006426/0.1228, allocations: 335.6 kB / 445.2 MB, free: 10.94 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.705e-05/0.1229, allocations: 0 / 445.2 MB, free: 10.94 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005136/0.1234, allocations: 447.2 kB / 445.6 MB, free: 10.5 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002884/0.1237, allocations: 251.5 kB / 445.8 MB, free: 10.25 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003541/0.124, allocations: 143.8 kB / 446 MB, free: 10.11 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002154/0.1243, allocations: 159.7 kB / 446.1 MB, free: 9.957 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.335e-05/0.1244, allocations: 12.17 kB / 446.2 MB, free: 9.945 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001243/0.1245, allocations: 107.7 kB / 446.3 MB, free: 9.84 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002189/0.1247, allocations: 199.6 kB / 446.5 MB, free: 9.645 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.242e-05/0.1248, allocations: 4 kB / 446.5 MB, free: 9.641 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.694e-05/0.1248, allocations: 19.98 kB / 446.5 MB, free: 9.621 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001137/0.125, allocations: 83.62 kB / 446.6 MB, free: 9.539 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001062/0.1251, allocations: 128.7 kB / 446.7 MB, free: 9.406 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003007/0.1254, allocations: 239.2 kB / 446.9 MB, free: 9.172 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1254, allocations: 0 / 446.9 MB, free: 9.172 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1254, allocations: 0 / 446.9 MB, free: 9.172 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.1254, allocations: 0 / 446.9 MB, free: 9.172 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.0007208/0.1261, allocations: 0.595 MB / 447.5 MB, free: 8.527 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/0.1262, allocations: 12.03 kB / 447.5 MB, free: 8.516 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.715e-05/0.1263, allocations: 34.75 kB / 447.6 MB, free: 8.473 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.22e-05/0.1263, allocations: 40.38 kB / 447.6 MB, free: 8.434 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002833/0.1266, allocations: 300.1 kB / 447.9 MB, free: 8.102 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.838e-06/0.1266, allocations: 384 / 447.9 MB, free: 8.102 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.32e-05/0.1266, allocations: 8.125 kB / 447.9 MB, free: 8.094 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001985/0.1269, allocations: 61.67 kB / 448 MB, free: 8.027 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.1269, allocations: 0 / 448 MB, free: 8.027 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.867e-06/0.1269, allocations: 0 / 448 MB, free: 8.027 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.1269, allocations: 7.984 kB / 448 MB, free: 8.02 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001379/0.127, allocations: 39.97 kB / 448 MB, free: 7.98 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005399/0.1276, allocations: 404.7 kB / 448.4 MB, free: 7.535 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001296/0.1277, allocations: 50.55 kB / 448.4 MB, free: 7.477 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.159e-05/0.1278, allocations: 32.94 kB / 448.5 MB, free: 7.441 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.288e-05/0.1279, allocations: 0 / 448.5 MB, free: 7.441 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.794e-05/0.1279, allocations: 30.56 kB / 448.5 MB, free: 7.402 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.1279, allocations: 3.938 kB / 448.5 MB, free: 7.398 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003997/0.1283, allocations: 149 kB / 448.7 MB, free: 7.246 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.35e-05/0.1284, allocations: 51.41 kB / 448.7 MB, free: 7.184 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008786/0.1292, allocations: 0.8574 MB / 449.6 MB, free: 6.316 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.359e-05/0.1293, allocations: 25.7 kB / 449.6 MB, free: 6.285 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001597/0.1294, allocations: 216 kB / 449.8 MB, free: 6.07 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.331e-05/0.1295, allocations: 7.906 kB / 449.8 MB, free: 6.062 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.834e-05/0.1295, allocations: 17.66 kB / 449.8 MB, free: 6.039 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.1297, allocations: 366.7 kB / 450.2 MB, free: 5.672 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.296e-05/0.1297, allocations: 23.98 kB / 450.2 MB, free: 5.648 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.819e-05/0.1298, allocations: 15.98 kB / 450.2 MB, free: 5.633 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001422/0.13, allocations: 56.83 kB / 450.3 MB, free: 5.574 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.13, allocations: 0 / 450.3 MB, free: 5.574 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002206/0.1302, allocations: 121 kB / 450.4 MB, free: 5.449 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.1302, allocations: 8 kB / 450.4 MB, free: 5.441 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.239e-06/0.1302, allocations: 0 / 450.4 MB, free: 5.441 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.1303, allocations: 0 / 450.4 MB, free: 5.441 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.31e-05/0.1303, allocations: 12 kB / 450.4 MB, free: 5.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.1304, allocations: 0 / 450.4 MB, free: 5.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.11e-05/0.1304, allocations: 7.984 kB / 450.4 MB, free: 5.422 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.642e-06/0.1304, allocations: 4 kB / 450.4 MB, free: 5.418 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 (3): * Single equations (assignments): 3 * 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.0001939/0.1306, allocations: 217.7 kB / 450.6 MB, free: 5.195 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.076e-05/0.1307, allocations: 39.44 kB / 450.7 MB, free: 5.156 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000301/0.131, allocations: 136.9 kB / 450.8 MB, free: 5.012 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.131, allocations: 4 kB / 450.8 MB, free: 5.008 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/0.1311, allocations: 3.984 kB / 450.8 MB, free: 5.004 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.1311, allocations: 0 / 450.8 MB, free: 5.004 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003339/0.1314, allocations: 289.5 kB / 451.1 MB, free: 4.672 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.574e-06/0.1314, allocations: 0 / 451.1 MB, free: 4.672 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.139e-05/0.1315, allocations: 15.98 kB / 451.1 MB, free: 4.656 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.1315, allocations: 0 / 451.1 MB, free: 4.656 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.796e-06/0.1315, allocations: 0 / 451.1 MB, free: 4.656 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.1315, allocations: 8 kB / 451.1 MB, free: 4.648 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1315, allocations: 0 / 451.1 MB, free: 4.648 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002772/0.1318, allocations: 215.3 kB / 451.3 MB, free: 4.422 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.853e-05/0.1319, allocations: 112.5 kB / 451.5 MB, free: 4.293 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.799e-05/0.1319, allocations: 7.938 kB / 451.5 MB, free: 4.285 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.607e-05/0.132, allocations: 7.984 kB / 451.5 MB, free: 4.277 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.982e-05/0.1321, allocations: 7.938 kB / 451.5 MB, free: 4.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.1321, allocations: 0 / 451.5 MB, free: 4.27 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006985/0.1328, allocations: 0.6511 MB / 452.1 MB, free: 3.621 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1328, allocations: 0 / 452.1 MB, free: 3.621 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002495/0.1331, allocations: 23.94 kB / 452.1 MB, free: 3.598 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 (3): * Single equations (assignments): 3 * 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.00137/0.1344, allocations: 0.9987 MB / 453.1 MB, free: 2.605 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002155/0.1347, allocations: 59.89 kB / 453.2 MB, free: 2.547 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.1347, allocations: 4 kB / 453.2 MB, free: 2.543 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.75e-05/0.1348, allocations: 23.98 kB / 453.2 MB, free: 2.52 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003902/0.1352, allocations: 25.89 kB / 453.3 MB, free: 2.492 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1899/0.3251, allocations: 3.27 MB / 456.5 MB, free: 44.85 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002646/0.3254, allocations: 0.8218 MB / 457.3 MB, free: 44.15 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.15e-05/0.3255, allocations: 16.7 kB / 457.4 MB, free: 44.15 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001214/0.3256, allocations: 108.3 kB / 457.5 MB, free: 44.15 MB / 382.1 MB Notification: Performance of SimCode: time 1.032e-06/0.3256, allocations: 0 / 457.5 MB, free: 44.15 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01452/0.3402, allocations: 5.23 MB / 462.7 MB, free: 43.77 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001529/0.3403, allocations: 238.2 kB / 462.9 MB, free: 43.5 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.81/2.15, allocations: 0 / 462.9 MB, free: 43.5 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test9_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test9.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test9/Test9.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches