Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.CombiTable1Ds.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test2",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.001063/0.001063, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001061/0.001061, allocations: 191.9 kB / 18.56 MB, free: 4.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.358/1.358, allocations: 222.9 MB / 242.3 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2226/0.2226, allocations: 44.19 MB / 336.6 MB, free: 2.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001482/0.001482, allocations: 61.36 kB / 408.5 MB, free: 27.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.136, allocations: 60.82 MB / 469.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.003459/0.1395, allocations: 1.564 MB / 470.9 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008628/0.1404, allocations: 391.3 kB / 471.3 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.827e-05/0.1405, allocations: 0 / 471.3 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002636/0.1407, allocations: 19.86 kB / 471.3 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000206/0.141, allocations: 39.83 kB / 471.4 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002754/0.1412, allocations: 87.7 kB / 471.4 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001502/0.1414, allocations: 55.84 kB / 471.5 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001303/0.1415, allocations: 16 kB / 471.5 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.888e-05/0.1416, allocations: 19.86 kB / 471.5 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.47e-05/0.1417, allocations: 23.84 kB / 471.6 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.682e-05/0.1417, allocations: 0 / 471.6 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.352e-05/0.1418, allocations: 28 kB / 471.6 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.647e-05/0.1418, allocations: 11.92 kB / 471.6 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.449e-05/0.1419, allocations: 23.88 kB / 471.6 MB, free: 12 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001626/0.142, allocations: 76.06 kB / 471.7 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.1421, allocations: 0 / 471.7 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.1421, allocations: 0 / 471.7 MB, free: 11.92 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.177e-06/0.1421, allocations: 3.938 kB / 471.7 MB, free: 11.92 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000473/0.1426, allocations: 374.2 kB / 472.1 MB, free: 11.51 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.1426, allocations: 12.03 kB / 472.1 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.021e-05/0.1426, allocations: 34.69 kB / 472.1 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.575e-05/0.1427, allocations: 8.844 kB / 472.1 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002096/0.1429, allocations: 200 kB / 472.3 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.1429, allocations: 384 / 472.3 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.125e-05/0.1429, allocations: 384 / 472.3 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001353/0.1431, allocations: 57.62 kB / 472.4 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.1431, allocations: 0 / 472.4 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.707e-06/0.1431, allocations: 0 / 472.4 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.658e-06/0.1431, allocations: 0 / 472.4 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.85e-05/0.1432, allocations: 23.98 kB / 472.4 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000338/0.1436, allocations: 276.8 kB / 472.7 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000223/0.1438, allocations: 38.56 kB / 472.7 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.235e-05/0.1439, allocations: 16.94 kB / 472.7 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.558e-05/0.1439, allocations: 4 kB / 472.7 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.527e-05/0.1439, allocations: 30.56 kB / 472.8 MB, free: 10.7 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 3.056e-06/0.1439, allocations: 4 kB / 472.8 MB, free: 10.69 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006008/0.1445, allocations: 141.2 kB / 472.9 MB, free: 10.55 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.372e-05/0.1446, allocations: 51.41 kB / 472.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001695/0.1448, allocations: 144.7 kB / 473.1 MB, free: 10.33 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.608e-05/0.1448, allocations: 25.7 kB / 473.1 MB, free: 10.3 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.178e-05/0.1449, allocations: 96.12 kB / 473.2 MB, free: 10.2 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.797e-05/0.1449, allocations: 15.75 kB / 473.2 MB, free: 10.19 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.118e-05/0.145, allocations: 25.7 kB / 473.2 MB, free: 10.16 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001721/0.1452, allocations: 318.8 kB / 473.6 MB, free: 9.836 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.206e-05/0.1453, allocations: 19.98 kB / 473.6 MB, free: 9.816 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.892e-05/0.1453, allocations: 15.98 kB / 473.6 MB, free: 9.801 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001301/0.1455, allocations: 49.02 kB / 473.6 MB, free: 9.75 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.1455, allocations: 4 kB / 473.6 MB, free: 9.746 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001761/0.1457, allocations: 77.58 kB / 473.7 MB, free: 9.664 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.1457, allocations: 4 kB / 473.7 MB, free: 9.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.1457, allocations: 0 / 473.7 MB, free: 9.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.049e-05/0.1457, allocations: 0 / 473.7 MB, free: 9.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.521e-05/0.1458, allocations: 23.92 kB / 473.7 MB, free: 9.637 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.1458, allocations: 0 / 473.7 MB, free: 9.637 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.821e-05/0.1458, allocations: 4 kB / 473.8 MB, free: 9.633 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.784e-06/0.1459, allocations: 7.938 kB / 473.8 MB, free: 9.625 MB / 350.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 0.0001287/0.146, allocations: 117.8 kB / 473.9 MB, free: 9.5 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.07e-05/0.146, allocations: 11.84 kB / 473.9 MB, free: 9.488 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002423/0.1463, allocations: 89.95 kB / 474 MB, free: 9.395 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.1463, allocations: 3.938 kB / 474 MB, free: 9.391 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.1463, allocations: 0 / 474 MB, free: 9.391 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.1463, allocations: 288 / 474 MB, free: 9.391 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004323/0.1468, allocations: 354.4 kB / 474.3 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.1468, allocations: 0 / 474.3 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.17e-05/0.1468, allocations: 11.98 kB / 474.3 MB, free: 8.977 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.556e-06/0.1468, allocations: 3.984 kB / 474.3 MB, free: 8.973 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.673e-06/0.1468, allocations: 0 / 474.3 MB, free: 8.973 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.1469, allocations: 7.938 kB / 474.3 MB, free: 8.965 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1469, allocations: 192 / 474.3 MB, free: 8.965 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000222/0.1471, allocations: 187.4 kB / 474.5 MB, free: 8.766 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.802e-05/0.1471, allocations: 81.02 kB / 474.6 MB, free: 8.668 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.613e-05/0.1472, allocations: 0 / 474.6 MB, free: 8.668 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.482e-05/0.1472, allocations: 7.938 kB / 474.6 MB, free: 8.66 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.835e-05/0.1473, allocations: 11.98 kB / 474.6 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.377e-06/0.1473, allocations: 0 / 474.6 MB, free: 8.648 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.098e-05/0.1474, allocations: 107.3 kB / 474.7 MB, free: 8.543 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1474, allocations: 4 kB / 474.7 MB, free: 8.539 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002316/0.1476, allocations: 11.98 kB / 474.8 MB, free: 8.527 MB / 350.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.001354/0.149, allocations: 1.006 MB / 475.8 MB, free: 7.652 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001909/0.1492, allocations: 47.97 kB / 475.8 MB, free: 7.605 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.1492, allocations: 0 / 475.8 MB, free: 7.605 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.916e-05/0.1493, allocations: 27.92 kB / 475.8 MB, free: 7.578 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003598/0.1496, allocations: 26.61 kB / 475.9 MB, free: 7.559 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001454/0.1511, allocations: 1.398 MB / 477.3 MB, free: 6.078 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002839/0.1514, allocations: 0.6885 MB / 477.9 MB, free: 5.363 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.806e-05/0.1514, allocations: 4 kB / 477.9 MB, free: 5.359 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.855e-05/0.1515, allocations: 23.42 kB / 478 MB, free: 5.336 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1515, allocations: 0 / 478 MB, free: 5.336 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01803/0.1695, allocations: 2.372 MB / 480.3 MB, free: 3.023 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.609/7.778, allocations: 13.41 kB / 480.4 MB, free: 3.02 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test2.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches