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.005805/0.005805, allocations: 100.1 kB / 15.87 MB, free: 6.316 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.001262/0.001262, allocations: 192.4 kB / 16.79 MB, free: 6.242 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.387/1.387, allocations: 205.1 MB / 222.6 MB, free: 4.777 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.3178/0.3178, allocations: 43.49 MB / 313.5 MB, free: 8.254 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.00152/0.00152, allocations: 63.89 kB / 382.1 MB, free: 8.371 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.1243, allocations: 57.77 MB / 439.9 MB, free: 14.5 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test21): time 0.003141/0.1275, allocations: 1.63 MB / 441.5 MB, free: 12.85 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001417/0.1289, allocations: 0.9142 MB / 442.5 MB, free: 11.93 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.801e-05/0.129, allocations: 0 / 442.5 MB, free: 11.93 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000261/0.1293, allocations: 23.91 kB / 442.5 MB, free: 11.91 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002108/0.1295, allocations: 39.84 kB / 442.5 MB, free: 11.87 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002881/0.1298, allocations: 79.84 kB / 442.6 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001405/0.13, allocations: 55.84 kB / 442.7 MB, free: 11.73 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.1301, allocations: 20.23 kB / 442.7 MB, free: 11.71 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.018e-05/0.1302, allocations: 19.88 kB / 442.7 MB, free: 11.7 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001668/0.1303, allocations: 31.84 kB / 442.7 MB, free: 11.66 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.918e-05/0.1304, allocations: 3.984 kB / 442.7 MB, free: 11.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001319/0.1305, allocations: 43.98 kB / 442.8 MB, free: 11.62 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.441e-05/0.1306, allocations: 8 kB / 442.8 MB, free: 11.61 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.076e-05/0.1306, allocations: 19.86 kB / 442.8 MB, free: 11.59 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001804/0.1308, allocations: 95.7 kB / 442.9 MB, free: 11.5 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.1308, allocations: 0 / 442.9 MB, free: 11.5 MB / 382.1 MB Notification: Performance of FrontEnd: time 7.81e-07/0.1308, allocations: 3.938 kB / 442.9 MB, free: 11.49 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.997e-06/0.1308, allocations: 0 / 442.9 MB, free: 11.49 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.0005342/0.1314, allocations: 379.2 kB / 443.3 MB, free: 11.07 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.1314, allocations: 12.02 kB / 443.3 MB, free: 11.06 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.671e-05/0.1315, allocations: 30.75 kB / 443.3 MB, free: 11.02 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.811e-05/0.1315, allocations: 4.938 kB / 443.3 MB, free: 11.02 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002274/0.1317, allocations: 188.1 kB / 443.5 MB, free: 10.8 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.968e-06/0.1318, allocations: 4.375 kB / 443.5 MB, free: 10.79 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.264e-05/0.1318, allocations: 8.359 kB / 443.5 MB, free: 10.79 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001879/0.132, allocations: 67.28 kB / 443.6 MB, free: 10.71 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.555e-05/0.132, allocations: 0 / 443.6 MB, free: 10.71 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.132, allocations: 0 / 443.6 MB, free: 10.71 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.132, allocations: 0 / 443.6 MB, free: 10.71 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001087/0.1321, allocations: 27.97 kB / 443.6 MB, free: 10.68 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004223/0.1326, allocations: 280.9 kB / 443.9 MB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000214/0.1328, allocations: 50.5 kB / 443.9 MB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.947e-05/0.1329, allocations: 12.94 kB / 443.9 MB, free: 10.28 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.09e-05/0.1329, allocations: 4 kB / 443.9 MB, free: 10.28 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.779e-05/0.1329, allocations: 38.56 kB / 444 MB, free: 10.23 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.1329, allocations: 0 / 444 MB, free: 10.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005563/0.1335, allocations: 141.4 kB / 444.1 MB, free: 10.09 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.832e-05/0.1335, allocations: 81.11 kB / 444.2 MB, free: 9.988 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001284/0.1337, allocations: 129.8 kB / 444.3 MB, free: 9.852 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.779e-05/0.1337, allocations: 33.7 kB / 444.4 MB, free: 9.812 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.144e-05/0.1338, allocations: 95.98 kB / 444.4 MB, free: 9.715 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.506e-05/0.1338, allocations: 19.8 kB / 444.5 MB, free: 9.695 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.455e-05/0.1338, allocations: 13.72 kB / 444.5 MB, free: 9.676 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001083/0.1339, allocations: 318.8 kB / 444.8 MB, free: 9.355 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.236e-05/0.134, allocations: 23.97 kB / 444.8 MB, free: 9.332 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.273e-05/0.1341, allocations: 33.7 kB / 444.8 MB, free: 9.293 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001336/0.1342, allocations: 68.92 kB / 444.9 MB, free: 9.223 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.1343, allocations: 0 / 444.9 MB, free: 9.223 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001946/0.1345, allocations: 85.56 kB / 445 MB, free: 9.133 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.1345, allocations: 4 kB / 445 MB, free: 9.129 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.1345, allocations: 0 / 445 MB, free: 9.129 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.047e-05/0.1345, allocations: 0 / 445 MB, free: 9.129 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.908e-05/0.1346, allocations: 12 kB / 445 MB, free: 9.117 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.1346, allocations: 3.984 kB / 445 MB, free: 9.113 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.193e-05/0.1346, allocations: 8 kB / 445 MB, free: 9.105 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.064e-06/0.1347, allocations: 3.938 kB / 445 MB, free: 9.102 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.436e-05/0.1347, allocations: 113.8 kB / 445.1 MB, free: 8.98 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.396e-05/0.1348, allocations: 4 kB / 445.1 MB, free: 8.977 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002402/0.135, allocations: 101.5 kB / 445.2 MB, free: 8.875 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.135, allocations: 4 kB / 445.2 MB, free: 8.871 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.135, allocations: 0 / 445.2 MB, free: 8.871 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.1351, allocations: 4.281 kB / 445.3 MB, free: 8.867 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003985/0.1355, allocations: 358.4 kB / 445.6 MB, free: 8.461 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.1355, allocations: 0 / 445.6 MB, free: 8.461 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.592e-05/0.1355, allocations: 11.98 kB / 445.6 MB, free: 8.449 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.1355, allocations: 3.984 kB / 445.6 MB, free: 8.445 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.718e-06/0.1356, allocations: 4.188 kB / 445.6 MB, free: 8.441 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.199e-06/0.1356, allocations: 7.938 kB / 445.6 MB, free: 8.434 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/0.1356, allocations: 7.984 kB / 445.6 MB, free: 8.426 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002236/0.1358, allocations: 175.4 kB / 445.8 MB, free: 8.238 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.657e-05/0.1359, allocations: 81.11 kB / 445.9 MB, free: 8.141 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.703e-05/0.1359, allocations: 0 / 445.9 MB, free: 8.141 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.054e-05/0.136, allocations: 15.92 kB / 445.9 MB, free: 8.125 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.423e-05/0.136, allocations: 0 / 445.9 MB, free: 8.125 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/0.136, allocations: 4 kB / 445.9 MB, free: 8.121 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.226e-05/0.1361, allocations: 111.7 kB / 446 MB, free: 8.012 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1361, allocations: 3.938 kB / 446 MB, free: 8.008 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002547/0.1364, allocations: 23.98 kB / 446 MB, free: 7.984 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.001284/0.1377, allocations: 1.055 MB / 447.1 MB, free: 6.945 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001907/0.1379, allocations: 51.91 kB / 447.1 MB, free: 6.895 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1379, allocations: 0 / 447.1 MB, free: 6.895 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.366e-05/0.1379, allocations: 27.97 kB / 447.2 MB, free: 6.867 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003425/0.1383, allocations: 19.94 kB / 447.2 MB, free: 6.848 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001398/0.1397, allocations: 1.422 MB / 448.6 MB, free: 5.344 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002236/0.1399, allocations: 0.6887 MB / 449.3 MB, free: 4.629 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.606e-05/0.14, allocations: 19.92 kB / 449.3 MB, free: 4.609 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.539e-05/0.1401, allocations: 27.42 kB / 449.4 MB, free: 4.582 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1401, allocations: 0 / 449.4 MB, free: 4.582 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02523/0.1653, allocations: 2.517 MB / 451.9 MB, free: 2.043 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000214/0.1656, allocations: 236.7 kB / 452.1 MB, free: 1.785 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.789/1.955, allocations: 3.938 kB / 452.1 MB, free: 1.781 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