Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.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.Test12,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test12,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test12",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001559/0.001559, 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.001832/0.001832, 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.519/1.519, allocations: 227.4 MB / 246.8 MB, free: 10.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2416/0.2416, allocations: 46.1 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001395/0.001395, allocations: 77.22 kB / 417.7 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1252, allocations: 62.44 MB / 480.1 MB, free: 5.195 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test12): time 0.003139/0.1284, allocations: 1.599 MB / 481.7 MB, free: 3.586 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009757/0.1294, allocations: 0.5377 MB / 482.3 MB, free: 3.043 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.25e-05/0.1295, allocations: 0 / 482.3 MB, free: 3.043 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001988/0.1297, allocations: 35.77 kB / 482.3 MB, free: 3.008 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000295/0.13, allocations: 75.69 kB / 482.4 MB, free: 2.934 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003395/0.1304, allocations: 115.4 kB / 482.5 MB, free: 2.824 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001496/0.1305, allocations: 63.89 kB / 482.6 MB, free: 2.762 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/0.1307, allocations: 19.91 kB / 482.6 MB, free: 2.742 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.389e-05/0.1307, allocations: 19.88 kB / 482.6 MB, free: 2.723 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.408e-05/0.1308, allocations: 23.84 kB / 482.6 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.536e-05/0.1308, allocations: 4 kB / 482.6 MB, free: 2.695 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.983e-05/0.1309, allocations: 35.98 kB / 482.7 MB, free: 2.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.109e-05/0.131, allocations: 15.94 kB / 482.7 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.153e-05/0.131, allocations: 27.8 kB / 482.7 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001679/0.1312, allocations: 84.06 kB / 482.8 MB, free: 2.535 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1312, allocations: 0 / 482.8 MB, free: 2.535 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.487e-06/0.1312, allocations: 4 kB / 482.8 MB, free: 2.531 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.1312, allocations: 0 / 482.8 MB, free: 2.531 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.0004521/0.1317, allocations: 394.9 kB / 483.2 MB, free: 2.098 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.1317, allocations: 16.02 kB / 483.2 MB, free: 2.082 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.65e-05/0.1318, allocations: 30.75 kB / 483.2 MB, free: 2.043 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.862e-05/0.1318, allocations: 8.844 kB / 483.2 MB, free: 2.035 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002629/0.1321, allocations: 200.7 kB / 483.4 MB, free: 1.801 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/0.1321, allocations: 4.125 kB / 483.4 MB, free: 1.797 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.167e-05/0.1321, allocations: 4 kB / 483.4 MB, free: 1.793 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002161/0.1324, allocations: 45.69 kB / 483.5 MB, free: 1.742 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.879e-05/0.1324, allocations: 0 / 483.5 MB, free: 1.742 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.1324, allocations: 0 / 483.5 MB, free: 1.742 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.1324, allocations: 0 / 483.5 MB, free: 1.742 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001083/0.1325, allocations: 31.91 kB / 483.5 MB, free: 1.711 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000447/0.133, allocations: 288.9 kB / 483.8 MB, free: 1.379 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002373/0.1332, allocations: 46.55 kB / 483.8 MB, free: 1.324 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.269e-05/0.1333, allocations: 16.86 kB / 483.8 MB, free: 1.305 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.326e-05/0.1334, allocations: 0 / 483.8 MB, free: 1.305 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.818e-05/0.1334, allocations: 38.53 kB / 483.9 MB, free: 1.258 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.1334, allocations: 4 kB / 483.9 MB, free: 1.254 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006434/0.134, allocations: 153.3 kB / 484 MB, free: 1.098 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.743e-05/0.1341, allocations: 59.39 kB / 484.1 MB, free: 1.027 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000172/0.1343, allocations: 174.4 kB / 484.3 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.596e-05/0.1343, allocations: 25.7 kB / 484.3 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.271e-05/0.1344, allocations: 108 kB / 484.4 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.603e-05/0.1344, allocations: 15.75 kB / 484.4 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.531e-05/0.1345, allocations: 17.72 kB / 484.4 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.1346, allocations: 322.8 kB / 484.7 MB, free: 348 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.034e-05/0.1347, allocations: 19.98 kB / 484.8 MB, free: 328 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.562e-05/0.1348, allocations: 19.98 kB / 484.8 MB, free: 308 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001447/0.1349, allocations: 56.81 kB / 484.8 MB, free: 248 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.1349, allocations: 0 / 484.8 MB, free: 248 kB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000205/0.1351, allocations: 89.52 kB / 484.9 MB, free: 152 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.1352, allocations: 10.44 kB / 484.9 MB, free: 144 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.1352, allocations: 0 / 484.9 MB, free: 144 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.1352, allocations: 0 / 484.9 MB, free: 144 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.547e-05/0.1353, allocations: 15.98 kB / 485 MB, free: 128 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/0.1353, allocations: 3.938 kB / 485 MB, free: 124 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.534e-05/0.1354, allocations: 7.984 kB / 485 MB, free: 116 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.323e-06/0.1354, allocations: 4 kB / 485 MB, free: 112 kB / 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.0001053/0.1355, allocations: 117.8 kB / 485.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.24e-05/0.1355, allocations: 7.906 kB / 485.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002499/0.1358, allocations: 101.9 kB / 485.2 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.1358, allocations: 0 / 485.2 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.1358, allocations: 3.938 kB / 485.2 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.1358, allocations: 0 / 485.2 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005034/0.1363, allocations: 358.9 kB / 485.5 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.646e-06/0.1364, allocations: 4.062 kB / 485.5 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.826e-05/0.1364, allocations: 15.98 kB / 485.6 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.7e-06/0.1364, allocations: 3.938 kB / 485.6 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-06/0.1365, allocations: 288 / 485.6 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.1365, allocations: 0 / 485.6 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.1365, allocations: 3.938 kB / 485.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002382/0.1367, allocations: 187.3 kB / 485.8 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.879e-05/0.1368, allocations: 92.98 kB / 485.8 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.972e-05/0.1368, allocations: 7.938 kB / 485.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.907e-05/0.1369, allocations: 4 kB / 485.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.167e-05/0.1369, allocations: 0 / 485.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.514e-06/0.1369, allocations: 7.984 kB / 485.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001004/0.137, allocations: 138.3 kB / 486 MB, free: 14.97 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.137, allocations: 3.938 kB / 486 MB, free: 14.97 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002369/0.1373, allocations: 12 kB / 486 MB, free: 14.96 MB / 366.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.001273/0.1386, allocations: 1.013 MB / 487 MB, free: 14.05 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002123/0.1388, allocations: 59.95 kB / 487.1 MB, free: 14 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1388, allocations: 0 / 487.1 MB, free: 14 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.009e-05/0.1389, allocations: 27.92 kB / 487.1 MB, free: 13.97 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003385/0.1392, allocations: 15.98 kB / 487.1 MB, free: 13.95 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001741/0.141, allocations: 1.517 MB / 488.6 MB, free: 12.36 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002638/0.1413, allocations: 0.6963 MB / 489.3 MB, free: 11.64 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.118e-05/0.1413, allocations: 16.06 kB / 489.4 MB, free: 11.62 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.308e-05/0.1414, allocations: 27.42 kB / 489.4 MB, free: 11.59 MB / 366.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1414, allocations: 0 / 489.4 MB, free: 11.59 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02191/0.1633, allocations: 2.6 MB / 492 MB, free: 9.051 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.68/7.843, allocations: 12.45 kB / 492 MB, free: 9.043 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12_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_trunk_ModelicaTest_Tables_CombiTable1Dv_Test12.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches