Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28.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.Test28,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test28,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test28",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001238/0.001238, 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.001241/0.001241, 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.407/1.407, 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.2186/0.2186, allocations: 46.1 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001498/0.001498, allocations: 82.86 kB / 417.7 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.1373, allocations: 62.44 MB / 480.1 MB, free: 5.195 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test28): time 0.00415/0.1415, allocations: 1.679 MB / 481.8 MB, free: 3.5 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001205/0.1427, allocations: 0.5766 MB / 482.4 MB, free: 2.918 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.04e-05/0.1428, allocations: 0 / 482.4 MB, free: 2.918 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000305/0.1432, allocations: 67.73 kB / 482.4 MB, free: 2.852 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003834/0.1436, allocations: 95.58 kB / 482.5 MB, free: 2.758 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005672/0.1442, allocations: 179 kB / 482.7 MB, free: 2.586 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002136/0.1444, allocations: 95.73 kB / 482.8 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001424/0.1445, allocations: 24.23 kB / 482.8 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.776e-05/0.1446, allocations: 39.83 kB / 482.9 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001089/0.1447, allocations: 43.84 kB / 482.9 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.191e-05/0.1448, allocations: 4 kB / 482.9 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001332/0.1449, allocations: 55.95 kB / 483 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.986e-05/0.145, allocations: 23.92 kB / 483 MB, free: 2.301 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.348e-05/0.1451, allocations: 39.69 kB / 483 MB, free: 2.262 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002528/0.1453, allocations: 115.9 kB / 483.1 MB, free: 2.148 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.1453, allocations: 0 / 483.1 MB, free: 2.148 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1454, allocations: 4 kB / 483.2 MB, free: 2.145 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.195e-06/0.1454, allocations: 0 / 483.2 MB, free: 2.145 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006255/0.146, allocations: 430.9 kB / 483.6 MB, free: 1.676 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.1461, allocations: 8.031 kB / 483.6 MB, free: 1.668 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4e-05/0.1461, allocations: 34.73 kB / 483.6 MB, free: 1.625 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.95e-05/0.1462, allocations: 12.84 kB / 483.6 MB, free: 1.613 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002504/0.1464, allocations: 208.6 kB / 483.8 MB, free: 1.371 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.1464, allocations: 8.375 kB / 483.8 MB, free: 1.363 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.487e-05/0.1465, allocations: 12.36 kB / 483.9 MB, free: 1.352 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002701/0.1467, allocations: 73.53 kB / 483.9 MB, free: 1.273 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.1468, allocations: 0 / 483.9 MB, free: 1.273 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.1468, allocations: 4 kB / 483.9 MB, free: 1.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.533e-06/0.1468, allocations: 4 kB / 483.9 MB, free: 1.266 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001477/0.1469, allocations: 39.97 kB / 484 MB, free: 1.227 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005525/0.1475, allocations: 328.7 kB / 484.3 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002562/0.1478, allocations: 62.55 kB / 484.4 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.02e-05/0.1479, allocations: 24.97 kB / 484.4 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.193e-05/0.1479, allocations: 0 / 484.4 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.059e-05/0.1479, allocations: 38.56 kB / 484.4 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.172e-06/0.148, allocations: 0 / 484.4 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001541/0.1495, allocations: 432.7 kB / 484.8 MB, free: 288 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.745e-05/0.1496, allocations: 51.41 kB / 484.9 MB, free: 224 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001973/0.1498, allocations: 210.2 kB / 485.1 MB, free: 4 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.435e-05/0.1498, allocations: 29.7 kB / 485.1 MB, free: 15.97 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.834e-05/0.1499, allocations: 104.1 kB / 485.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.176e-05/0.1499, allocations: 35.45 kB / 485.3 MB, free: 15.83 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.514e-05/0.15, allocations: 29.7 kB / 485.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001289/0.1501, allocations: 326.8 kB / 485.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001491/0.1503, allocations: 51.95 kB / 485.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001346/0.1504, allocations: 59.97 kB / 485.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002724/0.1507, allocations: 116.8 kB / 485.8 MB, free: 15.24 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.1507, allocations: 4 kB / 485.8 MB, free: 15.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003577/0.1511, allocations: 165.4 kB / 486 MB, free: 15.07 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.313e-05/0.1511, allocations: 14.66 kB / 486 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.1512, allocations: 0.5625 kB / 486 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.362e-05/0.1512, allocations: 3.938 kB / 486 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001224/0.1513, allocations: 27.97 kB / 486 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/0.1513, allocations: 0 / 486 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.89e-05/0.1514, allocations: 19.89 kB / 486.1 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.439e-05/0.1514, allocations: 8 kB / 486.1 MB, free: 15 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 (11): * Single equations (assignments): 11 * 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.000138/0.1516, allocations: 125.8 kB / 486.2 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.393e-05/0.1517, allocations: 23.83 kB / 486.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004892/0.1521, allocations: 187 kB / 486.4 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.1522, allocations: 3.938 kB / 486.4 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.1522, allocations: 0 / 486.4 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.1522, allocations: 4 kB / 486.4 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008172/0.153, allocations: 0.5076 MB / 486.9 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.153, allocations: 4 kB / 486.9 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001077/0.1531, allocations: 27.97 kB / 486.9 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.1532, allocations: 0 / 486.9 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.341e-05/0.1532, allocations: 4.094 kB / 486.9 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.1532, allocations: 8 kB / 487 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/0.1532, allocations: 3.938 kB / 487 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004497/0.1537, allocations: 265.6 kB / 487.2 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.099e-05/0.1537, allocations: 96.92 kB / 487.3 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.888e-05/0.1538, allocations: 7.984 kB / 487.3 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.1539, allocations: 8 kB / 487.3 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.857e-05/0.154, allocations: 7.984 kB / 487.3 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.684e-05/0.154, allocations: 4 kB / 487.3 MB, free: 13.61 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001579/0.1541, allocations: 156.2 kB / 487.5 MB, free: 13.45 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1541, allocations: 3.938 kB / 487.5 MB, free: 13.45 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002996/0.1545, allocations: 27.98 kB / 487.5 MB, free: 13.42 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001849/0.1563, allocations: 1.163 MB / 488.7 MB, free: 12.39 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003546/0.1567, allocations: 127.8 kB / 488.8 MB, free: 12.27 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.1567, allocations: 4 kB / 488.8 MB, free: 12.27 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001604/0.1569, allocations: 71.89 kB / 488.9 MB, free: 12.2 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003996/0.1573, allocations: 15.56 kB / 488.9 MB, free: 12.18 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002683/0.16, allocations: 1.933 MB / 490.8 MB, free: 10.17 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003604/0.1603, allocations: 0.7158 MB / 491.5 MB, free: 9.426 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001165/0.1605, allocations: 40.52 kB / 491.6 MB, free: 9.387 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.953e-05/0.1606, allocations: 43.41 kB / 491.6 MB, free: 9.344 MB / 366.1 MB Notification: Performance of SimCode: time 5.72e-07/0.1606, allocations: 0 / 491.6 MB, free: 9.344 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0228/0.1834, allocations: 3.45 MB / 495.1 MB, free: 5.949 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.88/8.063, allocations: 12.12 kB / 495.1 MB, free: 5.941 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test28.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches