Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test15.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.CombiTable2D.Test15,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test15,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test15",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.001023/0.001023, allocations: 102.9 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.001008/0.001008, allocations: 186.6 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.586/1.586, allocations: 205.4 MB / 223.1 MB, free: 5.758 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.341/0.341, allocations: 43.58 MB / 315 MB, free: 8.98 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.0005803/0.0005806, allocations: 12 kB / 384.7 MB, free: 7.797 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.1306, allocations: 58.87 MB / 443.5 MB, free: 12.83 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test15): time 0.002209/0.1329, allocations: 1.347 MB / 444.9 MB, free: 11.47 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009537/0.1339, allocations: 0.6605 MB / 445.5 MB, free: 10.81 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.729e-05/0.1339, allocations: 0 / 445.5 MB, free: 10.81 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002377/0.1341, allocations: 23.92 kB / 445.6 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001655/0.1343, allocations: 39.88 kB / 445.6 MB, free: 10.75 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.467e-06/0.1343, allocations: 0 / 445.6 MB, free: 10.75 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001544/0.1345, allocations: 43.89 kB / 445.7 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.217e-05/0.1345, allocations: 7.938 kB / 445.7 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.663e-05/0.1346, allocations: 19.92 kB / 445.7 MB, free: 10.68 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.943e-05/0.1347, allocations: 15.92 kB / 445.7 MB, free: 10.66 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.099e-05/0.1347, allocations: 0 / 445.7 MB, free: 10.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.426e-05/0.1347, allocations: 12 kB / 445.7 MB, free: 10.65 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.344e-05/0.1348, allocations: 23.91 kB / 445.7 MB, free: 10.62 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.778e-05/0.1349, allocations: 45.52 kB / 445.8 MB, free: 10.57 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001246/0.135, allocations: 68 kB / 445.8 MB, free: 10.51 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.135, allocations: 0 / 445.8 MB, free: 10.51 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.135, allocations: 0 / 445.8 MB, free: 10.51 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.135, allocations: 0 / 445.8 MB, free: 10.51 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003628/0.1354, allocations: 355.3 kB / 446.2 MB, free: 10.11 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.1354, allocations: 12.03 kB / 446.2 MB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.814e-05/0.1355, allocations: 34.75 kB / 446.2 MB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.416e-05/0.1355, allocations: 8.844 kB / 446.2 MB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001312/0.1356, allocations: 176.2 kB / 446.4 MB, free: 9.836 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.1357, allocations: 4.375 kB / 446.4 MB, free: 9.832 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.295e-05/0.1357, allocations: 4.375 kB / 446.4 MB, free: 9.828 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001838/0.1359, allocations: 127.2 kB / 446.5 MB, free: 9.68 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.1359, allocations: 3.938 kB / 446.6 MB, free: 9.676 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.859e-06/0.1359, allocations: 4 kB / 446.6 MB, free: 9.672 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.15e-05/0.1359, allocations: 19.98 kB / 446.6 MB, free: 9.652 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.541e-05/0.136, allocations: 47.84 kB / 446.6 MB, free: 9.605 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005988/0.1366, allocations: 0.8944 MB / 447.5 MB, free: 8.641 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.593e-05/0.1367, allocations: 173.1 kB / 447.7 MB, free: 8.461 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.125e-05/0.1368, allocations: 92.11 kB / 447.8 MB, free: 8.367 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.58e-05/0.1368, allocations: 79.27 kB / 447.9 MB, free: 8.289 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.12e-05/0.1369, allocations: 105.8 kB / 448 MB, free: 8.176 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 7.81e-07/0.1369, allocations: 0 / 448 MB, free: 8.176 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 7.489e-05/0.137, allocations: 37.55 kB / 448 MB, free: 8.133 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.38e-05/0.137, allocations: 134.7 kB / 448.1 MB, free: 7.988 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001736/0.1372, allocations: 178.1 kB / 448.3 MB, free: 7.801 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.317e-05/0.1372, allocations: 29.7 kB / 448.3 MB, free: 7.766 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.104e-05/0.1373, allocations: 155.1 kB / 448.5 MB, free: 7.609 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.919e-06/0.1373, allocations: 4 kB / 448.5 MB, free: 7.605 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.677e-05/0.1374, allocations: 21.7 kB / 448.5 MB, free: 7.578 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001074/0.1375, allocations: 322.8 kB / 448.8 MB, free: 7.254 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.366e-05/0.1375, allocations: 31.98 kB / 448.9 MB, free: 7.223 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001216/0.1377, allocations: 153.1 kB / 449 MB, free: 7.012 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002021/0.1379, allocations: 204.8 kB / 449.2 MB, free: 6.75 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.1379, allocations: 4 kB / 449.2 MB, free: 6.746 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002924/0.1382, allocations: 201.3 kB / 449.4 MB, free: 6.543 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.1382, allocations: 4 kB / 449.4 MB, free: 6.539 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.1382, allocations: 15.94 kB / 449.4 MB, free: 6.523 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.1382, allocations: 4 kB / 449.4 MB, free: 6.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001198/0.1384, allocations: 35.92 kB / 449.5 MB, free: 6.484 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.258e-05/0.1384, allocations: 8 kB / 449.5 MB, free: 6.477 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.876e-05/0.1385, allocations: 20.28 kB / 449.5 MB, free: 6.457 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.259e-05/0.1385, allocations: 12 kB / 449.5 MB, free: 6.445 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001407/0.1386, allocations: 217 kB / 449.7 MB, free: 6.223 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.216e-05/0.1387, allocations: 112.8 kB / 449.8 MB, free: 6.105 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.72e-05/0.1388, allocations: 120.8 kB / 449.9 MB, free: 5.98 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.938e-05/0.1389, allocations: 176.3 kB / 450.1 MB, free: 5.801 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.26e-05/0.1389, allocations: 180.2 kB / 450.3 MB, free: 5.617 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.2e-05/0.139, allocations: 188.2 kB / 450.5 MB, free: 5.426 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002767/0.1393, allocations: 429.1 kB / 450.9 MB, free: 4.949 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.015e-05/0.1394, allocations: 104.9 kB / 451 MB, free: 4.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.346e-05/0.1394, allocations: 101 kB / 451.1 MB, free: 4.734 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.33e-05/0.1395, allocations: 184.2 kB / 451.3 MB, free: 4.547 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.775e-05/0.1396, allocations: 188.2 kB / 451.5 MB, free: 4.355 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.604e-05/0.1396, allocations: 176.3 kB / 451.6 MB, free: 4.176 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.262e-05/0.1397, allocations: 180.2 kB / 451.8 MB, free: 3.992 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001481/0.1399, allocations: 319.6 kB / 452.1 MB, free: 3.656 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.475e-05/0.14, allocations: 186 kB / 452.3 MB, free: 3.449 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.871e-05/0.1401, allocations: 184.2 kB / 452.5 MB, free: 3.262 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.374e-05/0.1401, allocations: 101 kB / 452.6 MB, free: 3.156 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.667e-05/0.1402, allocations: 188.2 kB / 452.8 MB, free: 2.965 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.815e-05/0.1403, allocations: 108.9 kB / 452.9 MB, free: 2.852 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001032/0.1404, allocations: 128.1 kB / 453 MB, free: 2.727 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1404, allocations: 0 / 453 MB, free: 2.727 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002837/0.1407, allocations: 20 kB / 453 MB, free: 2.707 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 (0): * Single equations (assignments): 0 * 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.0007613/0.1414, allocations: 0.9188 MB / 453.9 MB, free: 1.777 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001433/0.1416, allocations: 80.3 kB / 454 MB, free: 1.699 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1416, allocations: 0 / 454 MB, free: 1.699 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.806e-06/0.1416, allocations: 7.938 kB / 454 MB, free: 1.691 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004196/0.142, allocations: 0.5232 MB / 454.5 MB, free: 1.164 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2073/0.3493, allocations: 1.879 MB / 456.4 MB, free: 45.82 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001591/0.3495, allocations: 0.7018 MB / 457.1 MB, free: 45.13 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001987/0.3498, allocations: 52.55 kB / 457.2 MB, free: 45.13 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.381e-05/0.3498, allocations: 26.45 kB / 457.2 MB, free: 45.12 MB / 382.1 MB Notification: Performance of SimCode: time 1.132e-06/0.3498, allocations: 0 / 457.2 MB, free: 45.12 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0222/0.372, allocations: 1.717 MB / 458.9 MB, free: 44.98 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001493/0.3722, allocations: 235.5 kB / 459.1 MB, free: 44.73 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.775/2.147, allocations: 2.906 kB / 459.1 MB, free: 44.73 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test15.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test15.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test15.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test15.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test15_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test15_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test15.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test15/Test15.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches