Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test25,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test25",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test25,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test25",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001913/0.001912, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002347/0.002347, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.44/1.44, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.222/0.222, allocations: 46.11 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00236/0.00236, allocations: 76.28 kB / 417.7 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1329/0.1353, allocations: 62.43 MB / 480.1 MB, free: 5.195 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test25): time 0.002893/0.1382, allocations: 1.681 MB / 481.8 MB, free: 3.5 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009527/0.1392, allocations: 0.5844 MB / 482.4 MB, free: 2.91 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.669e-05/0.1392, allocations: 0 / 482.4 MB, free: 2.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002164/0.1395, allocations: 55.81 kB / 482.4 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002897/0.1398, allocations: 95.59 kB / 482.5 MB, free: 2.762 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003809/0.1402, allocations: 179.2 kB / 482.7 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001391/0.1403, allocations: 87.75 kB / 482.8 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.1404, allocations: 24.23 kB / 482.8 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.571e-05/0.1405, allocations: 39.83 kB / 482.9 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.042e-05/0.1406, allocations: 43.84 kB / 482.9 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.487e-05/0.1406, allocations: 4 kB / 482.9 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.466e-05/0.1407, allocations: 55.91 kB / 483 MB, free: 2.336 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.885e-05/0.1408, allocations: 19.92 kB / 483 MB, free: 2.316 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.752e-05/0.1408, allocations: 39.73 kB / 483 MB, free: 2.277 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000172/0.141, allocations: 111.9 kB / 483.1 MB, free: 2.168 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.141, allocations: 4 kB / 483.1 MB, free: 2.164 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.141, allocations: 0 / 483.1 MB, free: 2.164 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.141, allocations: 3.938 kB / 483.1 MB, free: 2.16 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005138/0.1415, allocations: 415 kB / 483.5 MB, free: 1.707 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.1416, allocations: 8.031 kB / 483.5 MB, free: 1.699 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.838e-05/0.1416, allocations: 42.73 kB / 483.6 MB, free: 1.648 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.328e-05/0.1417, allocations: 12.75 kB / 483.6 MB, free: 1.637 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002045/0.1419, allocations: 200 kB / 483.8 MB, free: 1.402 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.999e-06/0.1419, allocations: 8.375 kB / 483.8 MB, free: 1.395 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.61e-05/0.1419, allocations: 4.375 kB / 483.8 MB, free: 1.391 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001598/0.1421, allocations: 69.59 kB / 483.9 MB, free: 1.316 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.1421, allocations: 0 / 483.9 MB, free: 1.316 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.196e-06/0.1421, allocations: 0 / 483.9 MB, free: 1.316 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.1421, allocations: 4 kB / 483.9 MB, free: 1.312 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001363/0.1423, allocations: 43.91 kB / 483.9 MB, free: 1.27 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004025/0.1427, allocations: 332.6 kB / 484.3 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002102/0.1429, allocations: 54.64 kB / 484.3 MB, free: 0.832 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.355e-05/0.143, allocations: 32.91 kB / 484.3 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.735e-05/0.143, allocations: 4 kB / 484.3 MB, free: 0.793 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.221e-05/0.143, allocations: 34.56 kB / 484.4 MB, free: 0.75 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.002e-06/0.143, allocations: 0 / 484.4 MB, free: 0.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001416/0.1445, allocations: 436.9 kB / 484.8 MB, free: 324 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.297e-05/0.1445, allocations: 59.41 kB / 484.9 MB, free: 252 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001422/0.1447, allocations: 182.2 kB / 485 MB, free: 60 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/0.1447, allocations: 29.7 kB / 485.1 MB, free: 24 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.095e-05/0.1447, allocations: 108 kB / 485.2 MB, free: 15.91 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.977e-05/0.1448, allocations: 31.47 kB / 485.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.557e-05/0.1448, allocations: 29.7 kB / 485.2 MB, free: 15.85 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001001/0.1449, allocations: 322.8 kB / 485.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001374/0.1451, allocations: 55.95 kB / 485.6 MB, free: 15.47 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001269/0.1452, allocations: 59.89 kB / 485.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002593/0.1455, allocations: 116.8 kB / 485.8 MB, free: 15.29 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1455, allocations: 3.984 kB / 485.8 MB, free: 15.29 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003234/0.1458, allocations: 165.5 kB / 485.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/0.1458, allocations: 4 kB / 485.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.477e-06/0.1458, allocations: 0 / 485.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.057e-05/0.1459, allocations: 3.938 kB / 485.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001121/0.146, allocations: 35.91 kB / 486 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.146, allocations: 7.938 kB / 486 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.481e-05/0.1461, allocations: 7.984 kB / 486 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.267e-06/0.1461, allocations: 4 kB / 486 MB, free: 15.06 MB / 366.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 (11): * Single equations (assignments): 11 * 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.393e-05/0.1462, allocations: 125.8 kB / 486.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.936e-05/0.1462, allocations: 19.8 kB / 486.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003806/0.1466, allocations: 190.2 kB / 486.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.663e-06/0.1466, allocations: 3.938 kB / 486.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.177e-06/0.1466, allocations: 0 / 486.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.1466, allocations: 3.938 kB / 486.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006119/0.1472, allocations: 0.5004 MB / 486.8 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1473, allocations: 0 / 486.8 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001021/0.1474, allocations: 31.92 kB / 486.9 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.1474, allocations: 8.047 kB / 486.9 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.1474, allocations: 4 kB / 486.9 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1474, allocations: 0 / 486.9 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.1474, allocations: 4 kB / 486.9 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003613/0.1478, allocations: 281.3 kB / 487.2 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.135e-05/0.1478, allocations: 89.02 kB / 487.2 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.121e-05/0.1479, allocations: 4 kB / 487.2 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.782e-05/0.148, allocations: 11.98 kB / 487.3 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.465e-05/0.148, allocations: 11.98 kB / 487.3 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.664e-06/0.148, allocations: 4 kB / 487.3 MB, free: 13.66 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.754e-05/0.1481, allocations: 139.2 kB / 487.4 MB, free: 13.53 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1481, allocations: 0 / 487.4 MB, free: 13.53 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002423/0.1484, allocations: 28 kB / 487.4 MB, free: 13.5 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001434/0.1498, allocations: 1.15 MB / 488.6 MB, free: 12.48 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003224/0.1501, allocations: 135.8 kB / 488.7 MB, free: 12.35 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.1501, allocations: 0 / 488.7 MB, free: 12.35 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001467/0.1503, allocations: 71.89 kB / 488.8 MB, free: 12.28 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003132/0.1506, allocations: 22.48 kB / 488.8 MB, free: 12.26 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00249/0.1531, allocations: 1.888 MB / 490.7 MB, free: 10.28 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002378/0.1534, allocations: 0.7158 MB / 491.4 MB, free: 9.535 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.327e-05/0.1535, allocations: 40.45 kB / 491.5 MB, free: 9.496 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.321e-05/0.1535, allocations: 39.42 kB / 491.5 MB, free: 9.461 MB / 366.1 MB Notification: Performance of SimCode: time 2e-07/0.1535, allocations: 0 / 491.5 MB, free: 9.461 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0524/0.206, allocations: 3.356 MB / 494.9 MB, free: 6.168 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.883/8.089, allocations: 16.81 kB / 494.9 MB, free: 6.156 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test25.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test25/Test25.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches