Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.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.CombiTable1Dv.Test30,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test30,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test30",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00153/0.00153, 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.001923/0.001923, 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.391/1.391, allocations: 227.4 MB / 246.8 MB, free: 10.65 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2267/0.2267, allocations: 46.09 MB / 344.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00148/0.00148, allocations: 71.89 kB / 417.7 MB, free: 19.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.1273, allocations: 62.45 MB / 480.1 MB, free: 5.199 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test30): time 0.003349/0.1307, allocations: 1.612 MB / 481.7 MB, free: 3.574 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001098/0.1318, allocations: 0.5416 MB / 482.3 MB, free: 3.027 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.82e-05/0.1319, allocations: 0 / 482.3 MB, free: 3.027 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002986/0.1322, allocations: 79.75 kB / 482.4 MB, free: 2.949 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003667/0.1326, allocations: 99.59 kB / 482.5 MB, free: 2.852 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000361/0.133, allocations: 119.4 kB / 482.6 MB, free: 2.738 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001739/0.1332, allocations: 79.88 kB / 482.7 MB, free: 2.66 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.1333, allocations: 19.98 kB / 482.7 MB, free: 2.641 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.576e-05/0.1334, allocations: 39.78 kB / 482.7 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001511/0.1336, allocations: 55.81 kB / 482.8 MB, free: 2.547 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.795e-05/0.1336, allocations: 8 kB / 482.8 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001045/0.1337, allocations: 43.98 kB / 482.8 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.335e-05/0.1337, allocations: 19.92 kB / 482.8 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.627e-05/0.1338, allocations: 27.75 kB / 482.9 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001967/0.134, allocations: 111.9 kB / 483 MB, free: 2.34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.134, allocations: 0 / 483 MB, free: 2.34 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.134, allocations: 0 / 483 MB, free: 2.34 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.134, allocations: 0 / 483 MB, free: 2.34 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000628/0.1347, allocations: 410.9 kB / 483.4 MB, free: 1.891 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.132e-05/0.1347, allocations: 12.03 kB / 483.4 MB, free: 1.879 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.357e-05/0.1348, allocations: 38.69 kB / 483.4 MB, free: 1.832 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.344e-05/0.1348, allocations: 12.84 kB / 483.4 MB, free: 1.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002104/0.135, allocations: 200.8 kB / 483.6 MB, free: 1.582 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.1351, allocations: 4.375 kB / 483.6 MB, free: 1.578 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.17e-05/0.1351, allocations: 4.359 kB / 483.6 MB, free: 1.574 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000166/0.1353, allocations: 57.61 kB / 483.7 MB, free: 1.512 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.582e-05/0.1353, allocations: 7.906 kB / 483.7 MB, free: 1.504 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.1353, allocations: 0 / 483.7 MB, free: 1.504 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.1353, allocations: 0 / 483.7 MB, free: 1.504 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001168/0.1354, allocations: 31.92 kB / 483.7 MB, free: 1.473 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005468/0.136, allocations: 308.7 kB / 484 MB, free: 1.121 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001123/0.1361, allocations: 38.56 kB / 484.1 MB, free: 1.074 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.62e-05/0.1362, allocations: 20.94 kB / 484.1 MB, free: 1.051 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.572e-05/0.1362, allocations: 4 kB / 484.1 MB, free: 1.047 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.237e-05/0.1363, allocations: 42.44 kB / 484.1 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.883e-06/0.1363, allocations: 0 / 484.1 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.001046/0.1373, allocations: 245 kB / 484.4 MB, free: 0.75 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.811e-05/0.1374, allocations: 51.41 kB / 484.4 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002338/0.1376, allocations: 218.3 kB / 484.6 MB, free: 476 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.649e-05/0.1377, allocations: 29.7 kB / 484.7 MB, free: 440 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.868e-05/0.1377, allocations: 108.1 kB / 484.8 MB, free: 328 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.567e-05/0.1378, allocations: 27.62 kB / 484.8 MB, free: 300 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.062e-05/0.1378, allocations: 21.7 kB / 484.8 MB, free: 272 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.138, allocations: 326.8 kB / 485.1 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.531e-05/0.1381, allocations: 27.98 kB / 485.2 MB, free: 15.91 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.881e-05/0.1382, allocations: 36.05 kB / 485.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001844/0.1384, allocations: 77.03 kB / 485.3 MB, free: 15.8 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.1384, allocations: 0 / 485.3 MB, free: 15.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002368/0.1386, allocations: 113.5 kB / 485.4 MB, free: 15.68 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.1387, allocations: 6.5 kB / 485.4 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.1387, allocations: 4 kB / 485.4 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.1387, allocations: 0 / 485.4 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001094/0.1388, allocations: 23.98 kB / 485.4 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.1388, allocations: 3.938 kB / 485.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.551e-05/0.1389, allocations: 4 kB / 485.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.313e-06/0.1389, allocations: 0 / 485.4 MB, free: 15.64 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 (8): * Single equations (assignments): 8 * 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.0001164/0.139, allocations: 129.8 kB / 485.6 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.209e-05/0.1391, allocations: 11.81 kB / 485.6 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000308/0.1394, allocations: 138.9 kB / 485.7 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.1394, allocations: 0 / 485.7 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.083e-05/0.1394, allocations: 7.938 kB / 485.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.1394, allocations: 0 / 485.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006025/0.14, allocations: 423.3 kB / 486.1 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.14, allocations: 4.453 kB / 486.1 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.303e-05/0.1401, allocations: 19.92 kB / 486.2 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.1401, allocations: 4 kB / 486.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/0.1401, allocations: 0 / 486.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.1402, allocations: 0 / 486.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.1402, allocations: 3.938 kB / 486.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002914/0.1405, allocations: 224.2 kB / 486.4 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001237/0.1406, allocations: 92.88 kB / 486.5 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.361e-05/0.1406, allocations: 4 kB / 486.5 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.851e-05/0.1407, allocations: 8 kB / 486.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.588e-05/0.1408, allocations: 7.984 kB / 486.5 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.514e-06/0.1408, allocations: 4 kB / 486.5 MB, free: 14.47 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001516/0.1409, allocations: 160.2 kB / 486.7 MB, free: 14.31 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1409, allocations: 3.938 kB / 486.7 MB, free: 14.31 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002705/0.1412, allocations: 28 kB / 486.7 MB, free: 14.28 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 (8): * Single equations (assignments): 8 * 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.001789/0.143, allocations: 1.092 MB / 487.8 MB, free: 13.32 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002512/0.1433, allocations: 75.89 kB / 487.9 MB, free: 13.25 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.1433, allocations: 0 / 487.9 MB, free: 13.25 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.918e-05/0.1434, allocations: 43.91 kB / 487.9 MB, free: 13.21 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003709/0.1438, allocations: 26.98 kB / 487.9 MB, free: 13.18 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002052/0.1458, allocations: 1.703 MB / 489.6 MB, free: 11.4 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003029/0.1462, allocations: 0.7041 MB / 490.3 MB, free: 10.67 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.916e-05/0.1462, allocations: 24.94 kB / 490.4 MB, free: 10.64 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.74e-05/0.1463, allocations: 39.42 kB / 490.4 MB, free: 10.61 MB / 366.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1463, allocations: 4 kB / 490.4 MB, free: 10.6 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02263/0.169, allocations: 3.064 MB / 493.5 MB, free: 7.586 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.673/7.842, allocations: 16.12 kB / 493.5 MB, free: 7.578 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test30.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches