Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.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.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test1",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.001507/0.001507, 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.001105/0.001105, 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.517/1.517, allocations: 222.9 MB / 242.3 MB, free: 15.2 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.2397/0.2397, allocations: 44.17 MB / 336.6 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 61.53 kB / 408.5 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1458/0.1471, allocations: 60.82 MB / 469.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.003416/0.1505, allocations: 1.556 MB / 470.9 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007874/0.1513, allocations: 399.3 kB / 471.3 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.114e-05/0.1514, allocations: 0 / 471.3 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002419/0.1517, allocations: 15.86 kB / 471.3 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002037/0.1519, allocations: 35.84 kB / 471.4 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002722/0.1522, allocations: 99.56 kB / 471.5 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001475/0.1523, allocations: 51.91 kB / 471.5 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/0.1525, allocations: 15.98 kB / 471.5 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.739e-05/0.1525, allocations: 19.92 kB / 471.5 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.609e-05/0.1526, allocations: 23.86 kB / 471.6 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.679e-05/0.1526, allocations: 0 / 471.6 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.273e-05/0.1527, allocations: 31.92 kB / 471.6 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.997e-05/0.1528, allocations: 15.92 kB / 471.6 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.662e-05/0.1528, allocations: 15.88 kB / 471.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001702/0.153, allocations: 80.06 kB / 471.7 MB, free: 11.9 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.153, allocations: 0 / 471.7 MB, free: 11.9 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.153, allocations: 0 / 471.7 MB, free: 11.9 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.692e-06/0.153, allocations: 3.938 kB / 471.7 MB, free: 11.89 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.0006058/0.1536, allocations: 374.2 kB / 472.1 MB, free: 11.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.543e-05/0.1537, allocations: 8.031 kB / 472.1 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.309e-05/0.1537, allocations: 34.75 kB / 472.1 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.855e-05/0.1538, allocations: 8.844 kB / 472.1 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002355/0.154, allocations: 192 kB / 472.3 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/0.154, allocations: 12.38 kB / 472.3 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.636e-05/0.1541, allocations: 384 / 472.3 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001545/0.1542, allocations: 57.61 kB / 472.4 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.1543, allocations: 0 / 472.4 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.368e-06/0.1543, allocations: 0 / 472.4 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.1543, allocations: 0 / 472.4 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.125e-05/0.1544, allocations: 19.98 kB / 472.4 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003925/0.1548, allocations: 284.8 kB / 472.7 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002216/0.155, allocations: 38.56 kB / 472.7 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.28e-05/0.1551, allocations: 12.95 kB / 472.7 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.618e-05/0.1551, allocations: 7.984 kB / 472.7 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.785e-05/0.1551, allocations: 30.56 kB / 472.8 MB, free: 10.67 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 3.337e-06/0.1551, allocations: 4 kB / 472.8 MB, free: 10.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006319/0.1558, allocations: 137.2 kB / 472.9 MB, free: 10.52 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.054e-05/0.1558, allocations: 55.41 kB / 473 MB, free: 10.46 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001728/0.156, allocations: 138.1 kB / 473.1 MB, free: 10.31 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.358e-05/0.1561, allocations: 29.7 kB / 473.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.15e-05/0.1561, allocations: 92.12 kB / 473.2 MB, free: 10.18 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.839e-05/0.1562, allocations: 19.73 kB / 473.2 MB, free: 10.16 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.497e-05/0.1562, allocations: 21.72 kB / 473.2 MB, free: 10.13 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0003644/0.1566, allocations: 322.8 kB / 473.6 MB, free: 9.809 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.515e-05/0.1567, allocations: 15.98 kB / 473.6 MB, free: 9.793 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.246e-05/0.1567, allocations: 23.92 kB / 473.6 MB, free: 9.77 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001306/0.1569, allocations: 44.83 kB / 473.6 MB, free: 9.723 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.1569, allocations: 0 / 473.6 MB, free: 9.723 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001914/0.1571, allocations: 81.58 kB / 473.7 MB, free: 9.637 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.1571, allocations: 8 kB / 473.7 MB, free: 9.629 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.1571, allocations: 0 / 473.7 MB, free: 9.629 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.97e-05/0.1572, allocations: 0 / 473.7 MB, free: 9.629 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.09e-05/0.1572, allocations: 11.98 kB / 473.7 MB, free: 9.617 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.1572, allocations: 4 kB / 473.8 MB, free: 9.613 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.641e-05/0.1573, allocations: 0 / 473.8 MB, free: 9.613 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.708e-06/0.1573, allocations: 11.88 kB / 473.8 MB, free: 9.602 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 8.349e-05/0.1574, allocations: 121.8 kB / 473.9 MB, free: 9.473 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.266e-05/0.1574, allocations: 11.89 kB / 473.9 MB, free: 9.461 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002401/0.1577, allocations: 89.95 kB / 474 MB, free: 9.367 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.1577, allocations: 7.938 kB / 474 MB, free: 9.359 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.1577, allocations: 320 / 474 MB, free: 9.359 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.1577, allocations: 0 / 474 MB, free: 9.359 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004321/0.1581, allocations: 346.5 kB / 474.3 MB, free: 8.965 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.1581, allocations: 0 / 474.3 MB, free: 8.965 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.006e-05/0.1582, allocations: 15.98 kB / 474.3 MB, free: 8.949 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.1582, allocations: 0 / 474.3 MB, free: 8.949 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.166e-06/0.1582, allocations: 0 / 474.3 MB, free: 8.949 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.1582, allocations: 3.938 kB / 474.3 MB, free: 8.945 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1582, allocations: 0 / 474.3 MB, free: 8.945 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002051/0.1585, allocations: 179.7 kB / 474.5 MB, free: 8.754 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.966e-05/0.1585, allocations: 89.02 kB / 474.6 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.837e-05/0.1585, allocations: 7.969 kB / 474.6 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.502e-05/0.1586, allocations: 7.938 kB / 474.6 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.628e-05/0.1586, allocations: 0 / 474.6 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.591e-06/0.1587, allocations: 4 kB / 474.6 MB, free: 8.629 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.724e-05/0.1587, allocations: 111.2 kB / 474.7 MB, free: 8.52 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1587, allocations: 0 / 474.7 MB, free: 8.52 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002359/0.159, allocations: 16 kB / 474.8 MB, free: 8.504 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.001375/0.1604, allocations: 1.009 MB / 475.8 MB, free: 7.633 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002106/0.1606, allocations: 55.91 kB / 475.8 MB, free: 7.578 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1606, allocations: 0 / 475.8 MB, free: 7.578 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.304e-05/0.1607, allocations: 23.98 kB / 475.8 MB, free: 7.555 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003895/0.1611, allocations: 19.92 kB / 475.9 MB, free: 7.535 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001544/0.1626, allocations: 1.399 MB / 477.3 MB, free: 6.055 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002904/0.1629, allocations: 0.6885 MB / 477.9 MB, free: 5.34 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.055e-05/0.163, allocations: 4 kB / 478 MB, free: 5.336 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.82e-05/0.163, allocations: 23.42 kB / 478 MB, free: 5.312 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1631, allocations: 0 / 478 MB, free: 5.312 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0213/0.1844, allocations: 2.372 MB / 480.3 MB, free: 3.004 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.511/7.696, allocations: 7.109 kB / 480.4 MB, free: 3 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1_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_Test1.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches