Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test12,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test12,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_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.00127/0.00127, 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.001677/0.001676, 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.433/1.433, allocations: 227.4 MB / 246.8 MB, free: 10.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2311/0.2311, allocations: 46.11 MB / 344.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001471, allocations: 87.31 kB / 417.7 MB, free: 19.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.1282, allocations: 62.43 MB / 480.1 MB, free: 5.219 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test12): time 0.003906/0.1321, allocations: 1.666 MB / 481.8 MB, free: 3.539 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002007/0.1342, allocations: 1.202 MB / 483 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001048/0.1343, allocations: 4 kB / 483 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002418/0.1346, allocations: 27.8 kB / 483 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003814/0.135, allocations: 83.61 kB / 483.1 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004813/0.1355, allocations: 178.9 kB / 483.3 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001616/0.1357, allocations: 79.77 kB / 483.4 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001292/0.1358, allocations: 15.98 kB / 483.4 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.231e-05/0.1359, allocations: 35.86 kB / 483.4 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001661/0.136, allocations: 39.84 kB / 483.5 MB, free: 1.875 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.04e-05/0.1361, allocations: 4 kB / 483.5 MB, free: 1.871 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002011/0.1363, allocations: 103.9 kB / 483.6 MB, free: 1.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.022e-05/0.1363, allocations: 19.92 kB / 483.6 MB, free: 1.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.151e-05/0.1364, allocations: 31.8 kB / 483.6 MB, free: 1.719 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002701/0.1367, allocations: 147.9 kB / 483.8 MB, free: 1.574 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.1367, allocations: 0 / 483.8 MB, free: 1.574 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1367, allocations: 0 / 483.8 MB, free: 1.574 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.1367, allocations: 0 / 483.8 MB, free: 1.574 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.0005648/0.1373, allocations: 423.1 kB / 484.2 MB, free: 1.113 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.1373, allocations: 8.031 kB / 484.2 MB, free: 1.105 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.744e-05/0.1374, allocations: 38.69 kB / 484.2 MB, free: 1.059 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.638e-05/0.1374, allocations: 8.844 kB / 484.2 MB, free: 1.051 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002184/0.1377, allocations: 206.5 kB / 484.4 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.955e-06/0.1377, allocations: 384 / 484.4 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.124e-05/0.1377, allocations: 4.375 kB / 484.4 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002014/0.1379, allocations: 83.3 kB / 484.5 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.1379, allocations: 4 kB / 484.5 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.1379, allocations: 4 kB / 484.5 MB, free: 0.707 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.138, allocations: 0 / 484.5 MB, free: 0.707 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001456/0.1381, allocations: 39.91 kB / 484.6 MB, free: 0.668 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004611/0.1386, allocations: 308.8 kB / 484.9 MB, free: 324 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001476/0.1387, allocations: 50.55 kB / 484.9 MB, free: 264 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.685e-05/0.1388, allocations: 24.94 kB / 484.9 MB, free: 236 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.182e-05/0.1389, allocations: 4.062 kB / 484.9 MB, free: 232 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.767e-05/0.1389, allocations: 38.5 kB / 485 MB, free: 184 kB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 2.846e-06/0.1389, allocations: 0 / 485 MB, free: 184 kB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008999/0.1398, allocations: 241 kB / 485.2 MB, free: 15.94 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.674e-05/0.1399, allocations: 77.11 kB / 485.3 MB, free: 15.84 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001646/0.14, allocations: 161.7 kB / 485.4 MB, free: 15.68 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.638e-05/0.1401, allocations: 29.7 kB / 485.5 MB, free: 15.64 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.656e-05/0.1401, allocations: 92.14 kB / 485.6 MB, free: 15.55 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.025e-05/0.1402, allocations: 23.7 kB / 485.6 MB, free: 15.52 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.312e-05/0.1402, allocations: 21.72 kB / 485.6 MB, free: 15.5 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.928e-05/0.1403, allocations: 318.8 kB / 485.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001264/0.1405, allocations: 39.97 kB / 486 MB, free: 15.14 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001313/0.1406, allocations: 57.67 kB / 486 MB, free: 15.07 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002274/0.1408, allocations: 88.78 kB / 486.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.1408, allocations: 0 / 486.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002998/0.1412, allocations: 125.5 kB / 486.2 MB, free: 14.86 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.1412, allocations: 12.03 kB / 486.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.271e-06/0.1412, allocations: 0 / 486.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.1412, allocations: 0 / 486.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001246/0.1413, allocations: 19.98 kB / 486.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.062e-06/0.1414, allocations: 0 / 486.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.989e-05/0.1414, allocations: 19.77 kB / 486.3 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.337e-06/0.1415, allocations: 4 kB / 486.3 MB, free: 14.8 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 (7): * Single equations (assignments): 7 * 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.922e-05/0.1415, allocations: 121.8 kB / 486.4 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.983e-05/0.1416, allocations: 11.91 kB / 486.4 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000356/0.142, allocations: 142.6 kB / 486.5 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.142, allocations: 8 kB / 486.5 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.142, allocations: 0 / 486.5 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.142, allocations: 3.938 kB / 486.6 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005619/0.1426, allocations: 414.5 kB / 487 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.1426, allocations: 0 / 487 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.143e-05/0.1427, allocations: 27.92 kB / 487 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.1427, allocations: 0 / 487 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.1427, allocations: 3.938 kB / 487 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.1427, allocations: 4 kB / 487 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1427, allocations: 0 / 487 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003342/0.143, allocations: 223.4 kB / 487.2 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.018e-05/0.1431, allocations: 89 kB / 487.3 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.428e-05/0.1431, allocations: 7.875 kB / 487.3 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001231/0.1433, allocations: 11.98 kB / 487.3 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.264e-05/0.1433, allocations: 4 kB / 487.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.943e-06/0.1433, allocations: 8 kB / 487.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.733e-05/0.1434, allocations: 117.5 kB / 487.4 MB, free: 13.52 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.432e-06/0.1434, allocations: 0 / 487.4 MB, free: 13.52 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003026/0.1437, allocations: 51.92 kB / 487.5 MB, free: 13.47 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 (7): * Single equations (assignments): 7 * 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.001546/0.1453, allocations: 1.137 MB / 488.6 MB, free: 12.48 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003264/0.1456, allocations: 91.86 kB / 488.7 MB, free: 12.39 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1457, allocations: 0 / 488.7 MB, free: 12.39 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001326/0.1458, allocations: 47.97 kB / 488.8 MB, free: 12.34 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003639/0.1462, allocations: 23.97 kB / 488.8 MB, free: 12.32 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002114/0.1483, allocations: 1.643 MB / 490.4 MB, free: 10.59 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002514/0.1486, allocations: 0.6963 MB / 491.1 MB, free: 9.871 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.753e-05/0.1487, allocations: 28.7 kB / 491.2 MB, free: 9.844 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.07e-05/0.1487, allocations: 35.42 kB / 491.2 MB, free: 9.809 MB / 366.1 MB Notification: Performance of SimCode: time 6.11e-07/0.1488, allocations: 192 / 491.2 MB, free: 9.809 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03361/0.1824, allocations: 3.504 MB / 494.7 MB, free: 6.363 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.078/8.26, allocations: 21.34 kB / 494.7 MB, free: 6.348 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test12.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches