Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.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.CombiTable1D.Test21,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test21,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test21",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.001129/0.001129, allocations: 102.4 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.00155/0.00155, allocations: 180.4 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.74/1.74, allocations: 205.4 MB / 223.1 MB, free: 5.516 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.3764/0.3764, allocations: 43.58 MB / 315 MB, free: 9.016 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.0005351/0.0005352, allocations: 16.56 kB / 384.7 MB, free: 7.781 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1339, allocations: 58.87 MB / 443.6 MB, free: 12.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test21): time 0.002056/0.136, allocations: 1.275 MB / 444.8 MB, free: 11.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001318/0.1373, allocations: 0.9026 MB / 445.7 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.307e-05/0.1374, allocations: 0 / 445.7 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002216/0.1376, allocations: 27.91 kB / 445.8 MB, free: 10.59 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001486/0.1378, allocations: 35.84 kB / 445.8 MB, free: 10.55 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002414/0.138, allocations: 83.84 kB / 445.9 MB, free: 10.47 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000122/0.1381, allocations: 47.91 kB / 445.9 MB, free: 10.42 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.1383, allocations: 20.23 kB / 445.9 MB, free: 10.4 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.931e-05/0.1383, allocations: 19.88 kB / 446 MB, free: 10.38 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001603/0.1385, allocations: 27.84 kB / 446 MB, free: 10.36 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.409e-05/0.1385, allocations: 0 / 446 MB, free: 10.36 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.997e-05/0.1386, allocations: 51.91 kB / 446 MB, free: 10.3 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.913e-05/0.1387, allocations: 11.94 kB / 446 MB, free: 10.29 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.987e-05/0.1387, allocations: 49.55 kB / 446.1 MB, free: 10.24 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001681/0.1389, allocations: 87.72 kB / 446.2 MB, free: 10.15 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.1389, allocations: 0 / 446.2 MB, free: 10.15 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1389, allocations: 0 / 446.2 MB, free: 10.15 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.611e-06/0.1389, allocations: 0 / 446.2 MB, free: 10.15 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.0004665/0.1394, allocations: 371.3 kB / 446.5 MB, free: 9.742 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.1395, allocations: 12.03 kB / 446.6 MB, free: 9.73 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.605e-05/0.1395, allocations: 38.69 kB / 446.6 MB, free: 9.684 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.273e-05/0.1396, allocations: 12.84 kB / 446.6 MB, free: 9.672 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001909/0.1397, allocations: 188.2 kB / 446.8 MB, free: 9.449 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.688e-06/0.1398, allocations: 384 / 446.8 MB, free: 9.449 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.864e-05/0.1398, allocations: 4.375 kB / 446.8 MB, free: 9.445 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001535/0.1399, allocations: 63.34 kB / 446.9 MB, free: 9.371 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.14, allocations: 0 / 446.9 MB, free: 9.371 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.14, allocations: 0 / 446.9 MB, free: 9.371 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.14, allocations: 4 kB / 446.9 MB, free: 9.367 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.78e-05/0.1401, allocations: 35.91 kB / 446.9 MB, free: 9.332 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003886/0.1405, allocations: 280.9 kB / 447.2 MB, free: 9.008 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000194/0.1407, allocations: 50.56 kB / 447.2 MB, free: 8.949 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.128e-05/0.1408, allocations: 16.94 kB / 447.2 MB, free: 8.93 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.138e-05/0.1408, allocations: 3.984 kB / 447.2 MB, free: 8.926 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.352e-05/0.1408, allocations: 42.5 kB / 447.3 MB, free: 8.875 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.1408, allocations: 0 / 447.3 MB, free: 8.875 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005588/0.1414, allocations: 157.3 kB / 447.4 MB, free: 8.715 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.782e-05/0.1415, allocations: 89.05 kB / 447.5 MB, free: 8.609 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001282/0.1416, allocations: 129.8 kB / 447.6 MB, free: 8.473 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.563e-05/0.1416, allocations: 29.7 kB / 447.7 MB, free: 8.438 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.731e-05/0.1417, allocations: 92.14 kB / 447.8 MB, free: 8.344 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.375e-05/0.1417, allocations: 19.8 kB / 447.8 MB, free: 8.324 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.389e-05/0.1417, allocations: 9.719 kB / 447.8 MB, free: 8.309 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.625e-05/0.1418, allocations: 318.8 kB / 448.1 MB, free: 7.988 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.467e-05/0.1419, allocations: 27.97 kB / 448.1 MB, free: 7.961 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.726e-05/0.142, allocations: 41.7 kB / 448.2 MB, free: 7.914 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001403/0.1421, allocations: 56.83 kB / 448.2 MB, free: 7.855 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.1421, allocations: 0 / 448.2 MB, free: 7.855 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001919/0.1423, allocations: 101.5 kB / 448.3 MB, free: 7.75 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.1424, allocations: 8 kB / 448.3 MB, free: 7.742 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.1424, allocations: 3.938 kB / 448.3 MB, free: 7.738 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.1424, allocations: 0 / 448.3 MB, free: 7.738 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.278e-05/0.1425, allocations: 15.98 kB / 448.4 MB, free: 7.723 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.1425, allocations: 3.938 kB / 448.4 MB, free: 7.719 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.479e-05/0.1425, allocations: 8 kB / 448.4 MB, free: 7.711 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-06/0.1425, allocations: 8.188 kB / 448.4 MB, free: 7.703 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.032e-05/0.1426, allocations: 113.8 kB / 448.5 MB, free: 7.582 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.9e-05/0.1427, allocations: 7.906 kB / 448.5 MB, free: 7.574 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002354/0.1429, allocations: 109.5 kB / 448.6 MB, free: 7.461 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.1429, allocations: 4 kB / 448.6 MB, free: 7.457 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.1429, allocations: 0 / 448.6 MB, free: 7.457 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.1429, allocations: 0 / 448.6 MB, free: 7.457 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004074/0.1434, allocations: 358.5 kB / 449 MB, free: 7.051 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1434, allocations: 0 / 449 MB, free: 7.051 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.398e-05/0.1434, allocations: 19.98 kB / 449 MB, free: 7.031 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.1434, allocations: 0 / 449 MB, free: 7.031 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.073e-06/0.1434, allocations: 0 / 449 MB, free: 7.031 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.1435, allocations: 3.938 kB / 449 MB, free: 7.027 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.1435, allocations: 7.938 kB / 449 MB, free: 7.02 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002231/0.1437, allocations: 191.4 kB / 449.2 MB, free: 6.816 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.223e-05/0.1437, allocations: 85.02 kB / 449.3 MB, free: 6.715 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.931e-05/0.1438, allocations: 3.984 kB / 449.3 MB, free: 6.711 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.279e-05/0.1438, allocations: 11.94 kB / 449.3 MB, free: 6.699 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.652e-05/0.1439, allocations: 7.984 kB / 449.3 MB, free: 6.691 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/0.1439, allocations: 0 / 449.3 MB, free: 6.691 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.005e-05/0.144, allocations: 103.3 kB / 449.4 MB, free: 6.59 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.144, allocations: 4 kB / 449.4 MB, free: 6.586 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002521/0.1442, allocations: 24 kB / 449.4 MB, free: 6.562 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.001355/0.1456, allocations: 1.067 MB / 450.5 MB, free: 5.512 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000212/0.1458, allocations: 63.95 kB / 450.5 MB, free: 5.449 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1458, allocations: 4 kB / 450.5 MB, free: 5.445 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.167e-05/0.1459, allocations: 31.92 kB / 450.6 MB, free: 5.414 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003236/0.1463, allocations: 23.52 kB / 450.6 MB, free: 5.395 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001472/0.1477, allocations: 1.435 MB / 452 MB, free: 3.875 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002353/0.148, allocations: 0.6926 MB / 452.7 MB, free: 3.156 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.404e-05/0.1481, allocations: 15.98 kB / 452.7 MB, free: 3.141 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.714e-05/0.1481, allocations: 19.42 kB / 452.8 MB, free: 3.125 MB / 382.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1481, allocations: 0 / 452.8 MB, free: 3.125 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01499/0.1631, allocations: 2.324 MB / 455.1 MB, free: 0.793 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001995/0.1634, allocations: 231.9 kB / 455.3 MB, free: 0.5391 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.769/1.933, allocations: 0 / 455.3 MB, free: 0.5391 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test21_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test21.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test21/Test21.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches