Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.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.CombiTable1Dv.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test4",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.001531/0.001531, allocations: 102.5 kB / 17.63 MB, free: 5.344 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.001727/0.001727, allocations: 192 kB / 18.56 MB, free: 4.434 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.467/1.467, allocations: 222.9 MB / 242.3 MB, free: 15.14 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.234/0.234, allocations: 44.18 MB / 336.6 MB, free: 2.734 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001796/0.001796, allocations: 61.16 kB / 408.5 MB, free: 27.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.1386, allocations: 60.82 MB / 469.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test4): time 0.003272/0.1419, allocations: 1.615 MB / 471 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007609/0.1427, allocations: 427.1 kB / 471.4 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.866e-05/0.1427, allocations: 0 / 471.4 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002846/0.143, allocations: 95.73 kB / 471.5 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002035/0.1432, allocations: 75.72 kB / 471.6 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003038/0.1436, allocations: 115.7 kB / 471.7 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001582/0.1437, allocations: 79.89 kB / 471.7 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001297/0.1439, allocations: 40.12 kB / 471.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.821e-05/0.1439, allocations: 35.91 kB / 471.8 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001258/0.1441, allocations: 59.81 kB / 471.9 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.323e-05/0.1441, allocations: 8 kB / 471.9 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001048/0.1442, allocations: 47.92 kB / 471.9 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.257e-05/0.1443, allocations: 35.84 kB / 472 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.268e-05/0.1444, allocations: 35.73 kB / 472 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002367/0.1446, allocations: 123.6 kB / 472.1 MB, free: 11.46 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.177e-06/0.1446, allocations: 3.984 kB / 472.1 MB, free: 11.46 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.1446, allocations: 0 / 472.1 MB, free: 11.46 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.1446, allocations: 0 / 472.1 MB, free: 11.46 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006886/0.1453, allocations: 426.9 kB / 472.5 MB, free: 10.99 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.272e-05/0.1454, allocations: 12.03 kB / 472.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.663e-05/0.1455, allocations: 34.75 kB / 472.6 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.35e-05/0.1455, allocations: 16.75 kB / 472.6 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003157/0.1458, allocations: 208 kB / 472.8 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.817e-05/0.1459, allocations: 8.375 kB / 472.8 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.544e-05/0.1459, allocations: 8.375 kB / 472.8 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000209/0.1461, allocations: 76.59 kB / 472.9 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.842e-05/0.1462, allocations: 4 kB / 472.9 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.1462, allocations: 0 / 472.9 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.1462, allocations: 0 / 472.9 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001245/0.1463, allocations: 39.97 kB / 472.9 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004783/0.1468, allocations: 352.5 kB / 473.3 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001392/0.147, allocations: 66.53 kB / 473.4 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.379e-05/0.147, allocations: 28.84 kB / 473.4 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.61e-05/0.1471, allocations: 0 / 473.4 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.86e-05/0.1471, allocations: 38.5 kB / 473.4 MB, free: 9.996 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 8.41e-07/0.1471, allocations: 4 kB / 473.4 MB, free: 9.992 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001109/0.1482, allocations: 325.1 kB / 473.7 MB, free: 9.668 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.908e-05/0.1483, allocations: 55.41 kB / 473.8 MB, free: 9.602 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002235/0.1485, allocations: 231.5 kB / 474 MB, free: 9.363 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/0.1485, allocations: 29.7 kB / 474 MB, free: 9.328 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.08e-05/0.1486, allocations: 116 kB / 474.2 MB, free: 9.211 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.638e-05/0.1487, allocations: 47.23 kB / 474.2 MB, free: 9.164 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.926e-05/0.1487, allocations: 33.7 kB / 474.2 MB, free: 9.125 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.1489, allocations: 322.8 kB / 474.6 MB, free: 8.801 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001013/0.149, allocations: 43.97 kB / 474.6 MB, free: 8.758 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001003/0.1491, allocations: 47.97 kB / 474.6 MB, free: 8.711 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002089/0.1493, allocations: 116.8 kB / 474.8 MB, free: 8.594 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1493, allocations: 0 / 474.8 MB, free: 8.594 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002662/0.1496, allocations: 146.7 kB / 474.9 MB, free: 8.445 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.1496, allocations: 4 kB / 474.9 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.1496, allocations: 3.938 kB / 474.9 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.1496, allocations: 4 kB / 474.9 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001269/0.1498, allocations: 35.92 kB / 474.9 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.1498, allocations: 0 / 474.9 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.288e-05/0.1498, allocations: 7.984 kB / 475 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.006e-05/0.1498, allocations: 4 kB / 475 MB, free: 8.387 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 (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 9.881e-05/0.1499, allocations: 137.8 kB / 475.1 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.97e-05/0.15, allocations: 15.81 kB / 475.1 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000367/0.1504, allocations: 186.9 kB / 475.3 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/0.1504, allocations: 4 kB / 475.3 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.1504, allocations: 3.938 kB / 475.3 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.1504, allocations: 0 / 475.3 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006809/0.1511, allocations: 0.4951 MB / 475.8 MB, free: 7.484 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.1511, allocations: 4.031 kB / 475.8 MB, free: 7.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.806e-05/0.1512, allocations: 23.98 kB / 475.8 MB, free: 7.457 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.1512, allocations: 4 kB / 475.8 MB, free: 7.453 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.1512, allocations: 0 / 475.8 MB, free: 7.453 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.644e-06/0.1512, allocations: 0 / 475.8 MB, free: 7.453 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.1512, allocations: 4 kB / 475.8 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003301/0.1516, allocations: 264.1 kB / 476.1 MB, free: 7.172 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.418e-05/0.1516, allocations: 85.02 kB / 476.2 MB, free: 7.07 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.221e-05/0.1517, allocations: 4 kB / 476.2 MB, free: 7.066 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.654e-05/0.1518, allocations: 7.984 kB / 476.2 MB, free: 7.059 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.697e-05/0.1518, allocations: 4 kB / 476.2 MB, free: 7.055 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.131e-05/0.1518, allocations: 12 kB / 476.2 MB, free: 7.043 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001537/0.152, allocations: 180.2 kB / 476.4 MB, free: 6.867 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.152, allocations: 0 / 476.4 MB, free: 6.867 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002847/0.1523, allocations: 28 kB / 476.4 MB, free: 6.84 MB / 350.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.001559/0.1538, allocations: 1.14 MB / 477.5 MB, free: 5.855 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000287/0.1541, allocations: 119.9 kB / 477.7 MB, free: 5.738 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1542, allocations: 0 / 477.7 MB, free: 5.738 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001205/0.1543, allocations: 59.91 kB / 477.7 MB, free: 5.68 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003732/0.1547, allocations: 31.08 kB / 477.7 MB, free: 5.652 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001987/0.1567, allocations: 1.881 MB / 479.6 MB, free: 3.688 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002995/0.157, allocations: 0.7197 MB / 480.3 MB, free: 2.941 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.396e-05/0.1571, allocations: 32.52 kB / 480.4 MB, free: 2.906 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.34e-05/0.1572, allocations: 39.42 kB / 480.4 MB, free: 2.867 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1572, allocations: 0 / 480.4 MB, free: 2.867 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02103/0.1782, allocations: 3.427 MB / 483.8 MB, free: 15.51 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.451/7.629, allocations: 3.75 kB / 483.9 MB, free: 15.51 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test4.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches