Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.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.CombiTable1Ds.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001343/0.001343, allocations: 103.9 kB / 17.63 MB, free: 5.516 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001408/0.001409, allocations: 202.4 kB / 18.57 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.469/1.469, 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.2273/0.2273, allocations: 46.1 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00167/0.00167, allocations: 72.78 kB / 417.7 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1354/0.1371, allocations: 62.44 MB / 480.1 MB, free: 5.176 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.004237/0.1414, allocations: 1.653 MB / 481.8 MB, free: 3.512 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001044/0.1425, allocations: 0.5415 MB / 482.3 MB, free: 2.965 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.567e-05/0.1426, allocations: 0 / 482.3 MB, free: 2.965 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003226/0.143, allocations: 99.67 kB / 482.4 MB, free: 2.867 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003114/0.1433, allocations: 103.6 kB / 482.5 MB, free: 2.766 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002963/0.1436, allocations: 99.69 kB / 482.6 MB, free: 2.668 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001853/0.1438, allocations: 103.7 kB / 482.7 MB, free: 2.566 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000132/0.1439, allocations: 20.25 kB / 482.7 MB, free: 2.547 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.972e-05/0.144, allocations: 47.84 kB / 482.8 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001179/0.1442, allocations: 59.81 kB / 482.8 MB, free: 2.441 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.1442, allocations: 8 kB / 482.9 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.472e-05/0.1443, allocations: 47.97 kB / 482.9 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.236e-05/0.1443, allocations: 23.92 kB / 482.9 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.631e-05/0.1444, allocations: 39.69 kB / 483 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001862/0.1446, allocations: 131.5 kB / 483.1 MB, free: 2.195 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.1446, allocations: 0 / 483.1 MB, free: 2.195 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1446, allocations: 0 / 483.1 MB, free: 2.195 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.005e-06/0.1446, allocations: 0 / 483.1 MB, free: 2.195 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005393/0.1452, allocations: 438.9 kB / 483.5 MB, free: 1.719 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.1452, allocations: 8.031 kB / 483.5 MB, free: 1.711 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.413e-05/0.1452, allocations: 38.73 kB / 483.6 MB, free: 1.664 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.134e-05/0.1453, allocations: 16.75 kB / 483.6 MB, free: 1.648 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002032/0.1455, allocations: 204 kB / 483.8 MB, free: 1.41 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.778e-06/0.1455, allocations: 4.375 kB / 483.8 MB, free: 1.406 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.08e-05/0.1456, allocations: 16.25 kB / 483.8 MB, free: 1.391 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001628/0.1457, allocations: 65.59 kB / 483.9 MB, free: 1.32 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.1457, allocations: 4 kB / 483.9 MB, free: 1.316 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.1458, allocations: 8 kB / 483.9 MB, free: 1.309 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.1458, allocations: 0 / 483.9 MB, free: 1.309 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001179/0.1459, allocations: 43.91 kB / 483.9 MB, free: 1.266 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004249/0.1463, allocations: 336.5 kB / 484.2 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001193/0.1465, allocations: 66.55 kB / 484.3 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.72e-05/0.1466, allocations: 20.84 kB / 484.3 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.36e-05/0.1466, allocations: 4 kB / 484.3 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.959e-05/0.1466, allocations: 34.56 kB / 484.4 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.1466, allocations: 0 / 484.4 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001001/0.1476, allocations: 321.1 kB / 484.7 MB, free: 436 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.336e-05/0.1477, allocations: 51.41 kB / 484.7 MB, free: 372 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002161/0.1479, allocations: 240.3 kB / 485 MB, free: 120 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.675e-05/0.1479, allocations: 29.7 kB / 485 MB, free: 84 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.661e-05/0.148, allocations: 112 kB / 485.1 MB, free: 15.97 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.583e-05/0.148, allocations: 35.45 kB / 485.1 MB, free: 15.93 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.324e-05/0.1481, allocations: 29.72 kB / 485.2 MB, free: 15.9 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.979e-05/0.1482, allocations: 330.8 kB / 485.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.19e-05/0.1483, allocations: 31.98 kB / 485.5 MB, free: 15.54 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.49e-05/0.1484, allocations: 43.97 kB / 485.6 MB, free: 15.49 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001911/0.1486, allocations: 92.83 kB / 485.7 MB, free: 15.4 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.1486, allocations: 0 / 485.7 MB, free: 15.4 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002585/0.1489, allocations: 141.4 kB / 485.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.1489, allocations: 10.5 kB / 485.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.1489, allocations: 0 / 485.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.1489, allocations: 3.938 kB / 485.8 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001172/0.149, allocations: 23.98 kB / 485.8 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.1491, allocations: 0 / 485.8 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.956e-05/0.1491, allocations: 8.094 kB / 485.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.186e-05/0.1491, allocations: 11.94 kB / 485.9 MB, free: 15.2 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 (13): * Single equations (assignments): 13 * 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.0001033/0.1492, allocations: 141.7 kB / 486 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.026e-05/0.1493, allocations: 15.81 kB / 486 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003428/0.1497, allocations: 166.3 kB / 486.2 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.1497, allocations: 0 / 486.2 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.1497, allocations: 4 kB / 486.2 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.1497, allocations: 0 / 486.2 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005835/0.1503, allocations: 487 kB / 486.6 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.1503, allocations: 0 / 486.6 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.686e-05/0.1504, allocations: 23.98 kB / 486.7 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.1504, allocations: 0 / 486.7 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.321e-05/0.1504, allocations: 11.94 kB / 486.7 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.1504, allocations: 0 / 486.7 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1504, allocations: 4.031 kB / 486.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000302/0.1508, allocations: 248 kB / 486.9 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.475e-05/0.1508, allocations: 92.91 kB / 487 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.011e-05/0.1508, allocations: 0 / 487 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.75e-05/0.1509, allocations: 8 kB / 487 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.006e-05/0.151, allocations: 11.98 kB / 487 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.026e-05/0.151, allocations: 8 kB / 487 MB, free: 13.89 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001391/0.1511, allocations: 185.2 kB / 487.2 MB, free: 13.71 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1511, allocations: 0 / 487.2 MB, free: 13.71 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000265/0.1514, allocations: 24 kB / 487.3 MB, free: 13.69 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (13): * Single equations (assignments): 13 * 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.001514/0.1529, allocations: 1.115 MB / 488.4 MB, free: 12.71 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002676/0.1532, allocations: 107.8 kB / 488.5 MB, free: 12.61 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.1532, allocations: 0 / 488.5 MB, free: 12.61 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001081/0.1533, allocations: 51.92 kB / 488.5 MB, free: 12.55 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003605/0.1537, allocations: 27.39 kB / 488.5 MB, free: 12.54 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002026/0.1557, allocations: 1.834 MB / 490.4 MB, free: 10.61 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002567/0.156, allocations: 0.7236 MB / 491.1 MB, free: 9.863 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.017e-05/0.1561, allocations: 20.47 kB / 491.1 MB, free: 9.844 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.261e-05/0.1562, allocations: 43.42 kB / 491.2 MB, free: 9.801 MB / 366.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1562, allocations: 4 kB / 491.2 MB, free: 9.797 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02249/0.1787, allocations: 3.407 MB / 494.6 MB, free: 6.441 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.561/7.74, allocations: 15.44 kB / 494.6 MB, free: 6.434 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4_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_CombiTable1Ds_Test4.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches