Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.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.Test5,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test5,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test5",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.005228/0.005228, allocations: 101 kB / 15.87 MB, free: 6.309 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.001199/0.001199, allocations: 196.2 kB / 16.79 MB, free: 6.238 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.536/1.536, allocations: 205.1 MB / 222.6 MB, free: 4.742 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.3828/0.3828, allocations: 43.49 MB / 313.5 MB, free: 8.258 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.001342/0.001343, allocations: 66.56 kB / 382.1 MB, free: 8.402 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1275, allocations: 57.77 MB / 439.9 MB, free: 14.53 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.002958/0.1305, allocations: 1.672 MB / 441.6 MB, free: 12.84 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006544/0.1312, allocations: 343.7 kB / 441.9 MB, free: 12.5 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.612e-05/0.1312, allocations: 3.938 kB / 441.9 MB, free: 12.5 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005288/0.1318, allocations: 455.2 kB / 442.4 MB, free: 12.05 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002782/0.1321, allocations: 235.6 kB / 442.6 MB, free: 11.82 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003374/0.1324, allocations: 147.8 kB / 442.7 MB, free: 11.68 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000201/0.1326, allocations: 163.7 kB / 442.9 MB, free: 11.52 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.1328, allocations: 28.38 kB / 442.9 MB, free: 11.49 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.582e-05/0.1329, allocations: 99.73 kB / 443 MB, free: 11.39 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002147/0.1331, allocations: 199.6 kB / 443.2 MB, free: 11.2 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.103e-05/0.1331, allocations: 0 / 443.2 MB, free: 11.2 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.036e-05/0.1332, allocations: 39.91 kB / 443.3 MB, free: 11.16 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001018/0.1333, allocations: 83.69 kB / 443.3 MB, free: 11.07 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.493e-05/0.1334, allocations: 103 kB / 443.4 MB, free: 10.97 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002689/0.1337, allocations: 258.9 kB / 443.7 MB, free: 10.72 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.1337, allocations: 0 / 443.7 MB, free: 10.72 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1337, allocations: 0 / 443.7 MB, free: 10.72 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.1337, allocations: 0 / 443.7 MB, free: 10.72 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007065/0.1344, allocations: 0.6297 MB / 444.3 MB, free: 10.04 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/0.1345, allocations: 12.03 kB / 444.3 MB, free: 10.03 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.609e-05/0.1345, allocations: 34.75 kB / 444.4 MB, free: 9.984 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.795e-05/0.1346, allocations: 44.38 kB / 444.4 MB, free: 9.941 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002618/0.1349, allocations: 304.1 kB / 444.7 MB, free: 9.605 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.1349, allocations: 4.375 kB / 444.7 MB, free: 9.602 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.162e-05/0.1349, allocations: 8.125 kB / 444.7 MB, free: 9.594 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001516/0.1351, allocations: 53.67 kB / 444.8 MB, free: 9.535 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.1351, allocations: 0 / 444.8 MB, free: 9.535 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.1351, allocations: 4 kB / 444.8 MB, free: 9.531 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.1351, allocations: 0 / 444.8 MB, free: 9.531 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.389e-05/0.1352, allocations: 23.98 kB / 444.8 MB, free: 9.508 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004788/0.1357, allocations: 408.5 kB / 445.2 MB, free: 9.059 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002066/0.1359, allocations: 46.56 kB / 445.2 MB, free: 9.004 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.047e-05/0.136, allocations: 20.94 kB / 445.3 MB, free: 8.98 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.287e-05/0.136, allocations: 0 / 445.3 MB, free: 8.98 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.033e-05/0.136, allocations: 38.5 kB / 445.3 MB, free: 8.934 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 8.41e-07/0.136, allocations: 0 / 445.3 MB, free: 8.934 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005917/0.1366, allocations: 224 kB / 445.5 MB, free: 8.707 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.166e-05/0.1367, allocations: 55.34 kB / 445.6 MB, free: 8.641 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007416/0.1374, allocations: 0.8691 MB / 446.4 MB, free: 7.762 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/0.1375, allocations: 29.69 kB / 446.5 MB, free: 7.727 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001597/0.1376, allocations: 228 kB / 446.7 MB, free: 7.5 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.315e-05/0.1376, allocations: 15.75 kB / 446.7 MB, free: 7.484 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.683e-05/0.1377, allocations: 21.7 kB / 446.7 MB, free: 7.457 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.1378, allocations: 358.8 kB / 447.1 MB, free: 7.098 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.017e-05/0.1379, allocations: 19.98 kB / 447.1 MB, free: 7.078 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.917e-05/0.138, allocations: 19.98 kB / 447.1 MB, free: 7.059 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001237/0.1381, allocations: 65 kB / 447.2 MB, free: 6.992 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.021e-06/0.1381, allocations: 0 / 447.2 MB, free: 6.992 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001981/0.1383, allocations: 117.1 kB / 447.3 MB, free: 6.871 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.1384, allocations: 4 kB / 447.3 MB, free: 6.867 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.1384, allocations: 3.938 kB / 447.3 MB, free: 6.863 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.1384, allocations: 0 / 447.3 MB, free: 6.863 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.404e-05/0.1385, allocations: 15.98 kB / 447.3 MB, free: 6.848 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.1385, allocations: 3.938 kB / 447.3 MB, free: 6.844 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.15e-05/0.1385, allocations: 8.281 kB / 447.3 MB, free: 6.836 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.1385, allocations: 4 kB / 447.3 MB, free: 6.832 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.0001711/0.1387, allocations: 213.7 kB / 447.6 MB, free: 6.613 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.469e-05/0.1388, allocations: 43.44 kB / 447.6 MB, free: 6.57 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002607/0.139, allocations: 149 kB / 447.7 MB, free: 6.418 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.1391, allocations: 4 kB / 447.7 MB, free: 6.414 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.1391, allocations: 7.875 kB / 447.8 MB, free: 6.406 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.1391, allocations: 4 kB / 447.8 MB, free: 6.402 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005052/0.1396, allocations: 462.5 kB / 448.2 MB, free: 5.895 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.1396, allocations: 0 / 448.2 MB, free: 5.895 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.19e-05/0.1397, allocations: 19.98 kB / 448.2 MB, free: 5.875 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.1397, allocations: 3.938 kB / 448.2 MB, free: 5.871 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.316e-06/0.1397, allocations: 0 / 448.2 MB, free: 5.871 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1397, allocations: 192 / 448.2 MB, free: 5.871 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.1397, allocations: 4 kB / 448.2 MB, free: 5.867 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000235/0.1399, allocations: 222.9 kB / 448.5 MB, free: 5.633 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.546e-05/0.14, allocations: 112.5 kB / 448.6 MB, free: 5.504 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.938e-05/0.1401, allocations: 11.92 kB / 448.6 MB, free: 5.492 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.645e-05/0.1401, allocations: 0 / 448.6 MB, free: 5.492 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.862e-05/0.1402, allocations: 4 kB / 448.6 MB, free: 5.488 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.809e-06/0.1402, allocations: 3.984 kB / 448.6 MB, free: 5.484 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005678/0.1408, allocations: 0.6628 MB / 449.2 MB, free: 4.824 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1408, allocations: 0 / 449.2 MB, free: 4.824 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002465/0.141, allocations: 24 kB / 449.3 MB, free: 4.801 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.001338/0.1424, allocations: 1.051 MB / 450.3 MB, free: 3.762 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002041/0.1426, allocations: 55.95 kB / 450.4 MB, free: 3.707 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1426, allocations: 0 / 450.4 MB, free: 3.707 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.241e-05/0.1427, allocations: 27.92 kB / 450.4 MB, free: 3.68 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003666/0.1431, allocations: 26.3 kB / 450.4 MB, free: 3.648 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003507/0.1466, allocations: 3.343 MB / 453.8 MB, free: 216 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2/0.3466, allocations: 0.8187 MB / 454.6 MB, free: 48.53 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001065/0.3468, allocations: 14.62 kB / 454.6 MB, free: 48.53 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001435/0.3469, allocations: 114.3 kB / 454.7 MB, free: 48.53 MB / 382.1 MB Notification: Performance of SimCode: time 1.112e-06/0.3469, allocations: 0 / 454.7 MB, free: 48.53 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01793/0.3648, allocations: 5.729 MB / 460.4 MB, free: 47.91 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002121/0.3651, allocations: 235.9 kB / 460.7 MB, free: 47.65 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.705/2.07, allocations: 3.938 kB / 460.7 MB, free: 47.64 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test5_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test5.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches