Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.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.Test20,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test20,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test20",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.001118/0.001118, allocations: 102.8 kB / 16.27 MB, free: 5.969 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.001142/0.001142, allocations: 190 kB / 17.19 MB, free: 5.602 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.566/1.566, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2518/0.2518, allocations: 43.52 MB / 313.9 MB, free: 0.5391 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.001452/0.001452, allocations: 73.91 kB / 382.8 MB, free: 56.75 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.1338, allocations: 57.8 MB / 440.6 MB, free: 6.816 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test20): time 0.003301/0.1371, allocations: 1.943 MB / 442.6 MB, free: 4.852 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001092/0.1383, allocations: 0.7642 MB / 443.3 MB, free: 4.082 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000114/0.1384, allocations: 4 kB / 443.3 MB, free: 4.078 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005162/0.1389, allocations: 259.2 kB / 443.6 MB, free: 3.824 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003518/0.1393, allocations: 199.2 kB / 443.8 MB, free: 3.629 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001129/0.1404, allocations: 0.5941 MB / 444.4 MB, free: 3.051 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003446/0.1408, allocations: 291.3 kB / 444.7 MB, free: 2.766 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002317/0.141, allocations: 88.67 kB / 444.8 MB, free: 2.68 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001205/0.1411, allocations: 135.4 kB / 444.9 MB, free: 2.547 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002263/0.1414, allocations: 191.4 kB / 445.1 MB, free: 2.359 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.542e-05/0.1414, allocations: 12 kB / 445.1 MB, free: 2.348 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001518/0.1416, allocations: 71.95 kB / 445.2 MB, free: 2.277 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001275/0.1417, allocations: 91.62 kB / 445.2 MB, free: 2.188 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001045/0.1418, allocations: 119 kB / 445.4 MB, free: 2.07 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003444/0.1422, allocations: 318.8 kB / 445.7 MB, free: 1.758 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.1422, allocations: 0 / 445.7 MB, free: 1.758 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.546e-06/0.1422, allocations: 4 kB / 445.7 MB, free: 1.754 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.456e-06/0.1422, allocations: 0 / 445.7 MB, free: 1.754 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0007882/0.143, allocations: 0.6573 MB / 446.3 MB, free: 1.047 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.021e-05/0.1431, allocations: 11.89 kB / 446.3 MB, free: 1.035 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.426e-05/0.1431, allocations: 46.73 kB / 446.4 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.1e-05/0.1432, allocations: 40.47 kB / 446.4 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003479/0.1436, allocations: 322.1 kB / 446.7 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.693e-05/0.1436, allocations: 16.38 kB / 446.8 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.294e-05/0.1436, allocations: 8.375 kB / 446.8 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002511/0.1439, allocations: 134.4 kB / 446.9 MB, free: 436 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.93e-05/0.1439, allocations: 3.938 kB / 446.9 MB, free: 432 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.707e-05/0.1439, allocations: 4 kB / 446.9 MB, free: 428 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.1439, allocations: 4 kB / 446.9 MB, free: 424 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001763/0.1441, allocations: 87.94 kB / 447 MB, free: 336 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006703/0.1448, allocations: 0.5196 MB / 447.5 MB, free: 15.76 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001962/0.145, allocations: 110.5 kB / 447.6 MB, free: 15.64 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.357e-05/0.1451, allocations: 44.83 kB / 447.7 MB, free: 15.59 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.695e-05/0.1451, allocations: 0 / 447.7 MB, free: 15.59 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.044e-05/0.1452, allocations: 46.5 kB / 447.7 MB, free: 15.54 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.152e-06/0.1452, allocations: 0 / 447.7 MB, free: 15.54 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009884/0.1462, allocations: 440.3 kB / 448.1 MB, free: 15.1 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.714e-05/0.1462, allocations: 51.41 kB / 448.2 MB, free: 15.04 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005423/0.1468, allocations: 0.5526 MB / 448.7 MB, free: 14.48 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.105e-05/0.1468, allocations: 25.7 kB / 448.8 MB, free: 14.45 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001414/0.1469, allocations: 216.3 kB / 449 MB, free: 14.24 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.57e-05/0.147, allocations: 51.27 kB / 449 MB, free: 14.19 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.605e-05/0.1471, allocations: 37.56 kB / 449.1 MB, free: 14.14 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001494/0.1472, allocations: 354.8 kB / 449.4 MB, free: 13.79 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001446/0.1474, allocations: 63.95 kB / 449.5 MB, free: 13.73 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001232/0.1475, allocations: 64.91 kB / 449.5 MB, free: 13.66 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002883/0.1478, allocations: 167.5 kB / 449.7 MB, free: 13.5 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.1478, allocations: 0 / 449.7 MB, free: 13.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003716/0.1482, allocations: 225.1 kB / 449.9 MB, free: 13.27 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.1482, allocations: 4 kB / 449.9 MB, free: 13.27 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.1482, allocations: 3.984 kB / 449.9 MB, free: 13.27 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.1483, allocations: 0 / 449.9 MB, free: 13.27 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001583/0.1484, allocations: 35.92 kB / 450 MB, free: 13.23 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.1484, allocations: 0 / 450 MB, free: 13.23 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.637e-05/0.1485, allocations: 15.94 kB / 450 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.497e-05/0.1486, allocations: 11.98 kB / 450 MB, free: 13.2 MB / 334.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 (17): * Single equations (assignments): 17 * 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.0001862/0.1487, allocations: 181.6 kB / 450.2 MB, free: 13.02 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.209e-05/0.1488, allocations: 47.42 kB / 450.2 MB, free: 12.97 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005187/0.1494, allocations: 280.4 kB / 450.5 MB, free: 12.69 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.1494, allocations: 8 kB / 450.5 MB, free: 12.68 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.1494, allocations: 0 / 450.5 MB, free: 12.68 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.281e-06/0.1494, allocations: 3.984 kB / 450.5 MB, free: 12.68 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008284/0.1502, allocations: 0.67 MB / 451.2 MB, free: 11.95 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.1502, allocations: 0 / 451.2 MB, free: 11.95 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000106/0.1503, allocations: 35.98 kB / 451.2 MB, free: 11.91 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.765e-06/0.1504, allocations: 0 / 451.2 MB, free: 11.91 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/0.1504, allocations: 11.92 kB / 451.2 MB, free: 11.9 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.1504, allocations: 7.938 kB / 451.2 MB, free: 11.89 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.1504, allocations: 3.984 kB / 451.2 MB, free: 11.89 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003889/0.1508, allocations: 322.8 kB / 451.5 MB, free: 11.56 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.905e-05/0.1509, allocations: 120.6 kB / 451.7 MB, free: 11.42 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.344e-05/0.1509, allocations: 4 kB / 451.7 MB, free: 11.42 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.979e-05/0.151, allocations: 15.92 kB / 451.7 MB, free: 11.4 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.618e-05/0.1511, allocations: 11.98 kB / 451.7 MB, free: 11.39 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.117e-06/0.1511, allocations: 4 kB / 451.7 MB, free: 11.39 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003812/0.1515, allocations: 415.1 kB / 452.1 MB, free: 10.99 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1515, allocations: 0 / 452.1 MB, free: 10.99 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003099/0.1518, allocations: 51.91 kB / 452.2 MB, free: 10.94 MB / 334.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 (17): * Single equations (assignments): 17 * 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.002218/0.154, allocations: 1.47 MB / 453.6 MB, free: 9.52 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003611/0.1544, allocations: 171.8 kB / 453.8 MB, free: 9.352 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1544, allocations: 0 / 453.8 MB, free: 9.352 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001465/0.1546, allocations: 100.1 kB / 453.9 MB, free: 9.254 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005791/0.1552, allocations: 75.64 kB / 454 MB, free: 9.18 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003618/0.1588, allocations: 3.212 MB / 457.2 MB, free: 5.887 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003896/0.1592, allocations: 0.8221 MB / 458 MB, free: 5.039 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000153/0.1594, allocations: 58.23 kB / 458.1 MB, free: 4.984 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001729/0.1595, allocations: 127.4 kB / 458.2 MB, free: 4.859 MB / 334.1 MB Notification: Performance of SimCode: time 1.241e-05/0.1596, allocations: 0 / 458.2 MB, free: 4.859 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02613/0.1857, allocations: 7.355 MB / 465.5 MB, free: 13.45 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.509/7.695, allocations: 8 kB / 465.5 MB, free: 13.45 MB / 350.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20_res.csv --start-time 0 --stop-time 6 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0024 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test20.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches